[rrd-developers] Use of madvise / msync kills performance for me

Richard A Steenbergen ras at e-gerbil.net
Thu Jun 26 01:51:17 CEST 2008

On Wed, Jun 25, 2008 at 02:46:46PM -0700, Marcus Reid wrote:
> Hello,
> I'm using py-rrdtool 0.2.1 and rrdtool 1.3.0 under FreeBSD 7.0-STABLE,
> and for me madvise and msync really hurts performance.  There might be
> a more efficient way of doing things, but for every update the .rrd
> file is opened, mapped into memory, written to, and then closed.  Here
> is a kdump of an update before commenting out the madvise/msync
> code:

Yup I noticed this as well, and I think I said as much several months 
back, but I might have been busy. It looks like they only tested it under 
Linux or something. :)

Richard A Steenbergen <ras at e-gerbil.net>       http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)

More information about the rrd-developers mailing list