From owner-svn-src-head@FreeBSD.ORG Wed May 15 05:28:05 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 14A98322; Wed, 15 May 2013 05:28:05 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id 27304D5E; Wed, 15 May 2013 05:28:02 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 8A38671A5C7; Wed, 15 May 2013 09:28:01 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 09:22:05 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 01:15:02 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 01:15:01 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id E40D77199B4 for ; Mon, 13 May 2013 01:15:01 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id umAD-BlxYjOv for ; Mon, 13 May 2013 01:14:53 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-svn-src-all@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-svn-src-all@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id E58917199D0 for ; Mon, 13 May 2013 01:14:52 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 5F3FC557C; Sun, 12 May 2013 21:14:50 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id 14F07C31; Sun, 12 May 2013 21:14:50 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A16FDAC8; Sun, 12 May 2013 21:14:37 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id F2C6FF78; Sun, 12 May 2013 21:14:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r4CLEZB6077368; Mon, 13 May 2013 01:14:35 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 13 May 2013 01:14:35 +0400 (MSK) From: Dmitry Morozovsky To: Baptiste Daroussin Subject: Re: svn commit: r250565 - head/etc In-Reply-To: <20130512205146.GZ91136@ithaqua.etoilebsd.net> Message-ID: References: <201305121523.r4CFNxBR055568@svn.freebsd.org> <518FFA4B.9080505@freebsd.org> <20130512205146.GZ91136@ithaqua.etoilebsd.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Mon, 13 May 2013 01:14:35 +0400 (MSK) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-svn-src-all@freebsd.org Sender: owner-svn-src-all@freebsd.org X-OriginalArrivalTime: 12 May 2013 21:15:01.0703 (UTC) FILETIME=[C3DABD70:01CE4F55] Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Eitan Adler , Matthew Jacob X-BeenThere: svn-src-head@freebsd.org List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 05:28:05 -0000 On Sun, 12 May 2013, Baptiste Daroussin wrote: > > >> Log: > > >> Make newsyslog compress logs with xz instead of bzip2 to save space. > > > While it may be useful for contemporary x64 machines, where CPU power is not an > > > issue, I'm afraid it could produce more harm than goodness on old hardware > > > and/or other architectures like arm. > > > > > > > > +1 > > iirc there was a discussion about it a year or 2 ago, where it was stated that > most of the time the gain of using xz for newsyslog was insignificant, pretty > much no space saved, but the loss in cpu time was significant. I've just prepared quick test to be feeded to ministat, but preliminary results are: on *real* contemporary server hw.model: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz hw.ncpu: 12 amd64 stable/9 ~1.5G maillog on md (and otherwise unloaded machine, LA <.3) is compressed to: method realtm arsize ==================== gzip 45s 183M bzip2 5m32s 115M xz 11m43s 112M all archivers are used without any special switches, just $arch <$log >$log.$suffix I would tend to use xz for distributives (including freebsd-updates or portsnap), where compression process is quite rare, but download size is significant -- but not for logs, backups, or other similar once-packed data... -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"