On Fri, Jun 21, 2013 at 11:45 AM, David Lang <[email protected]> wrote:

> I believe that what rsyslog implements is zip, not gzip (not quite as good
> compression, but less CPU


It's zlib, which basically just uses the standard deflate() algorithm. The
implementation does allow you to set your compression level, and
automatically creates the appropriate gzip file headers when creating files.


> If you use the built-in compression then you are just shifting the CPU
> load into rsyslog, but you are avoiding the I/O load of writing the file
> and then reading it again. (if you have enough ram, this may end up being
> reads from memory instead of from disk).
>

This was exactly why we used it.  The disk IO hit was way, way more
expensive than the CPU cost of compressing upfront.

-Aaron
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to