On Wed, Jun 25, 2008 at 3:36 PM, Mike Gerdts <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 25, 2008 at 3:09 PM, Robert Milkowski <[EMAIL PROTECTED]> wrote:
>> Well, I've seen core dumps bigger than 10GB (even without ZFS)... :)
>
> Was that the size in the dump device or the size in /var/crash?  If it
> was the size in /var/crash, divide that by the compress ratio reported
> on the console after the dump completed.

I just did some digging for real life examples.  Here are some
extremes.  The first one is extreme in size and the second one is
extreme in compression ratio.  All of my samples (~20) had compression
ratios that ranged from 3.51 to 6.97.

100% done: 1946979 pages dumped, compression ratio 4.01, dump succeeded
100% done: 501196 pages dumped, compression ratio 6.97, dump succeeded

$ echo '1946979 * 8 / 1024 /1024 / 4.01' | bc -l
3.70430696634877649625
$ echo '501196 * 8 / 1024 /1024 / 6.97' | bc -l
.54861148084424318507

The first one is 14.8 GB uncompressed, but wrote 3.7 GB to dump.  The
second one was 3.8 GB uncompressed but wrote 0.5 GB to dump.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to