Rejectes .gz support. Too slow.

This commit is contained in:
Andrea Mazzoleni 2013-08-09 13:56:44 +02:00
parent b31dbf7fff
commit ed348cdf23

26
TODO
View file

@ -5,8 +5,6 @@ This is the list of TODO items for SnapRAID.
- v4.1
* Save the content file in compressed .gz format to save space.
* Support names including \r and \n for Mac. See proposed patch from Matthew
- v4.x generic
@ -107,6 +105,30 @@ Rejected TODO
This is a list of rejected TODO items.
* Save the content file in compressed .gz format to save space.
- Compression is too slow. Even using the very fast lzo.
$ time lzop -1 < content > content.lzo
real 1m23.014s
user 0m40.822s
sys 0m3.389s
$ time ./gzip -1 < content > content.gz
real 1m47.463s
user 1m23.732s
sys 0m3.290s
$ time ./gzip --huffonly < content > contentH.gz
real 1m51.607s
user 1m30.032s
sys 0m3.245s
Similar command done with snapraid, that involves also decoding and encoding takes less time.
$ time ./snapraid --test-skip-device --test-skip-self -v -c ./test.conf test-rewrite
real 0m59.087s
user 0m14.164s
sys 0m4.398s
* Recognizes that a file is moved from one disk to another, and if the parity
data doesn't overlap, do not recompute it.
- It's going to work only in RAID5 mode and only in special cases.