[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compression performance



Thanks Chuck.  It didn't occur to me about the integer arithmetic.  I'm
going to try gzip.

-----Original Message-----
From: Chuck Swiger [mailto:cswiger_(_at_)_mac_(_dot_)_com]
Sent: Thursday, September 16, 2004 11:20 AM
To: Hall, Charles V
Cc: 'freebsd-performance_(_at_)_freebsd_(_dot_)_org'
Subject: Re: Compression performance


Hall, Charles V wrote:
> I'm running 4.10 prod on an Intel P4 and I want to maximize compression
> (i.e. /usr/bin/compress) performance--this seems to be my current
> bottleneck.
> 
> What steps can I take to accomplish this?  (ZLIB, FPU support, anything
> else?)

Try using 'gzip --fast' instead of 'compress', assuming you are concerned
with 
minimizing the CPU time required to compress files.  These types of 
compression algorithms use integer operations almost exclusively; the FPU 
isn't used significantly.

-- 
-Chuck

 
CONFIDENTIALITY NOTICE
 
This e-mail and any attachments, as well as any documents from a file server of International Truck
and Engine Corporation or its affiliates, are intended for the addressee and may contain information
that is privileged, confidential, proprietary, or otherwise protected by law.  Any dissemination,
distribution, or copying is prohibited.  If a confidentiality or nondisclosure agreement exists
between International and the recipient or the recipient's employer, this e-mail and any attachments
hereto, as well as any documents from a file server of International Truck and Engine Corporation or
its affiliates, this notice serves as marking as CONFIDENTIAL information of International Truck and
Engine Corporation or its affiliates.  If you have received this communication in error, please
contact the original sender.

Visit your host, monkey.org