On 09/23/15 04:35 PM, David Pearce wrote:
> I'm testing software compression. When the log says this:
>   Software Compression: 16.3 % (lz4)
>
> Does this mean SW compression reduced the file size 
>
> 1) to 16.3% of the original size (100 GB -> 16 GB)
> or
> 2) reduced it by 16.3%? (100 GB -> 84 GB)
>
> Thanks.
>
The calculation is

compression = (double)100 - 100.0 * ((double)jcr->JobBytes / 
(double)jcr->ReadBytes);

Where JobBytes is the actual bytes written to the volume and ReadBytes the
actual data read. So I guess its number 2.

-- 
Marco van Wieringen                   [email protected]
Bareos GmbH & Co. KG                  Phone: +49-221-63069389
http://www.bareos.com                     

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
                 P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to