From: Zooko O'Whielacronx Date: Sun, 15 Apr 2007 01:03:54 +0000 (-0700) Subject: pyfec: bump the performance measurement bragging up higher in the README X-Git-Url: https://git.rkrishnan.org/pf/content/simplejson/frontends/flags?a=commitdiff_plain;h=b4e25737ff6a04eb70c55f1eaa3a091862108408;p=tahoe-lafs%2Ftahoe-lafs.git pyfec: bump the performance measurement bragging up higher in the README --- diff --git a/pyfec/README.txt b/pyfec/README.txt index bb96d7c5..e8523cf7 100644 --- a/pyfec/README.txt +++ b/pyfec/README.txt @@ -86,6 +86,28 @@ Privacy Guard" for encryption. It is important to do things in order: first package, then compress, then encrypt, then erasure code. + * Performance Measurements + +On my Athlon 64 2.4 GHz workstation (running Linux), the "fec" command-line +tool encoded a 160 MB file with m=100, k=94 (about 6% redundancy) in 3.9 +seconds, where the "par2" tool encoded the file with about 6% redundancy in +27 seconds. "fec" encoded the same file with m=12, k=6 (100% redundancy) in +4.1 seconds, where par2 encoded it with about 100% redundancy in 7 minutes +and 56 seconds. + +The underlying C library in benchmark mode encoded from a file at about +4.9 million bytes per second and decoded at about 5.8 million bytes per second. + +On Peter's fancy Intel Mac laptop (2.16 GHz Core Duo), it encoded from a file +at about 6.2 million bytes per second. + +On my even fancier Intel Mac laptop (2.33 GHz Core Duo), it encoded from a file +at about 6.8 million bytes per second. + +On my old PowerPC G4 867 MHz Mac laptop, it encoded from a file at about 1.3 +million bytes per second. + + * API Each block is associated with "blocknum". The blocknum of each primary block is @@ -169,28 +191,6 @@ Python interpreter is also required. We have tested it with Python v2.4 and v2.5. - * Performance Measurements - -On my Athlon 64 2.4 GHz workstation (running Linux), the "fec" command-line -tool encoded a 160 MB file with m=100, k=94 (about 6% redundancy) in 3.9 -seconds, where the "par2" tool encoded the file with about 6% redundancy in -27 seconds. "fec" encoded the same file with m=12, k=6 (100% redundancy) in -4.1 seconds, where par2 encoded it with about 100% redundancy in 7 minutes -and 56 seconds. - -The underlying C library in benchmark mode encoded from a file at about -4.9 million bytes per second and decoded at about 5.8 million bytes per second. - -On Peter's fancy Intel Mac laptop (2.16 GHz Core Duo), it encoded from a file -at about 6.2 million bytes per second. - -On my even fancier Intel Mac laptop (2.33 GHz Core Duo), it encoded from a file -at about 6.8 million bytes per second. - -On my old PowerPC G4 867 MHz Mac laptop, it encoded from a file at about 1.3 -million bytes per second. - - * Acknowledgements Thanks to the author of the original fec lib, Luigi Rizzo, and the folks that