As a quick example of the effect of hardware compression I created a 728M file 
filled with random data from /dev/urandom:

Without hardware assist:

# time gzip -c -1 /tmp/gzip.in >/tmp/gzip.out.gz

real  0m35.471s
user  0m25.735s
sys   0m0.846s

With hardware assist:

time ./gzip -c -1 /tmp/gzip.in >/tmp/gzip.out.gz

real  0m9.727s
user  0m0.113s
sys   0m0.749s

Same test this time on 782M of all zeroes:

Without hardware assist:

# time gzip -c -1 /tmp/gzip.in >/tmp/gzip.out.gz

real  0m3.814s
user  0m3.600s
sys   0m0.208s

With hardware assist:

# time ./gzip -c -1 /tmp/gzip.in >/tmp/gzip.out.gz

real  0m0.389s
user  0m0.061s
sys   0m0.328s


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to