svn commit: r250565 - head/etc
Dmitry Morozovsky
marck at rinet.ru
Wed May 15 05:28:05 UTC 2013
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 at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the svn-src-head
mailing list