Mailing List Archive


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

Re: [tlug] Re: Apache: Logging: how-to pipe logs or logtoanothermachine (was Disk



>>>>> "TD" == Tobias Diedrich <td@example.com> writes:

    TD> Viktor Pavlenko wrote:
    >> Because the resulting t.gz is very small. Replacing print 1 with print
    >> $_ makes it clear. Never mind... But isn't it fun ? :)

    TD> Always repeating the same value compresses _very_ well of course :-)
    TD> You should try random values instead...

Just to wrap it up, playing with numbers in the perl one-liner I
posted earlier shows that gzip uses buffer size 49152, for both print
$_ and print rand.

Viktor


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links