From owner-freebsd-performance@FreeBSD.ORG Wed Sep 15 20:21:58 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC75E16A4CE for ; Wed, 15 Sep 2004 20:21:58 +0000 (GMT) Received: from mail1.nav-international.com (mail1.nav-international.com [12.37.7.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0F543D1F for ; Wed, 15 Sep 2004 20:21:58 +0000 (GMT) (envelope-from Charles.Hall@Nav-International.com) Received: from brkxspn1.brk.navistar.com ([167.6.2.158]) by 167.6.247.4 with InterScan Messaging Security Suite; Wed, 15 Sep 2004 15:21:57 -0500 Received: by brkxspn1.brk.navistar.com with Internet Mail Service (5.5.2657.72) id ; Wed, 15 Sep 2004 15:21:55 -0500 Message-ID: <1188E2959811D511B35600508B63A90B0B25489F@CANXSPN2.can.navistar.com> From: "Hall, Charles V" To: "'freebsd-performance@freebsd.org'" Date: Wed, 15 Sep 2004 15:21:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) X-Mailman-Approved-At: Thu, 16 Sep 2004 01:34:25 +0000 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Compression performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 20:21:58 -0000 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?) Thanks so much--any suggestions are greatly appreciated. CHARLES HALL Network Security Analyst INTERNATIONAL TRUCK AND ENGINE CORPORATION TRUCK GROUP ---------------------------------------------------------------------------- -------- 4201 WINFIELD ROAD P.O. BOX 1488 WARRENVILLE, IL 60555 T (630) 753-5653 F (630) 753-6710 Mailto:Charles.Hall@Nav-International.com 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. From owner-freebsd-performance@FreeBSD.ORG Thu Sep 16 16:20:07 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74F8C16A4CF for ; Thu, 16 Sep 2004 16:20:07 +0000 (GMT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 089A243D5C for ; Thu, 16 Sep 2004 16:20:07 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.160.246.51]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040916162006.FZMN23744.out010.verizon.net@[192.168.1.3]>; Thu, 16 Sep 2004 11:20:06 -0500 Message-ID: <4149BD32.9010905@mac.com> Date: Thu, 16 Sep 2004 12:20:02 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Hall, Charles V" References: <1188E2959811D511B35600508B63A90B0B25489F@CANXSPN2.can.navistar.com> In-Reply-To: <1188E2959811D511B35600508B63A90B0B25489F@CANXSPN2.can.navistar.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.160.246.51] at Thu, 16 Sep 2004 11:20:06 -0500 cc: "'freebsd-performance@freebsd.org'" Subject: Re: Compression performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 16:20:07 -0000 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 From owner-freebsd-performance@FreeBSD.ORG Thu Sep 16 16:51:37 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4EDC16A4CE for ; Thu, 16 Sep 2004 16:51:37 +0000 (GMT) Received: from mail1.nav-international.com (mail1.nav-international.com [12.37.7.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 327FF43D2D for ; Thu, 16 Sep 2004 16:51:37 +0000 (GMT) (envelope-from Charles.Hall@Nav-International.com) Received: from brkxspn1.brk.navistar.com ([167.6.2.158]) by 167.6.247.4 with InterScan Messaging Security Suite; Thu, 16 Sep 2004 11:51:35 -0500 Received: by brkxspn1.brk.navistar.com with Internet Mail Service (5.5.2657.72) id ; Thu, 16 Sep 2004 11:51:34 -0500 Message-ID: <1188E2959811D511B35600508B63A90B0B2548A6@CANXSPN2.can.navistar.com> From: "Hall, Charles V" To: 'Chuck Swiger' , "Hall, Charles V" Date: Thu, 16 Sep 2004 11:51:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: "'freebsd-performance@freebsd.org'" Subject: RE: Compression performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 16:51:37 -0000 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@mac.com] Sent: Thursday, September 16, 2004 11:20 AM To: Hall, Charles V Cc: 'freebsd-performance@freebsd.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.