[smokeping-users] Smokeping performance tracking
Jonathan Bradbury
Jonathan.Bradbury at attenda.net
Mon Sep 17 16:45:55 CEST 2007
Thanks Tobi,
That worked a treat.
JonB
> -----Original Message-----
> From: Tobias Oetiker [mailto:tobi at oetiker.ch]
> Sent: 16 September 2007 16:35
> To: Jonathan Bradbury
> Cc: smokeping-users at lists.oetiker.ch; rrd-developers at lists.oetiker.ch
> Subject: RE: [smokeping-users] Smokeping performance tracking
>
> Hi Jonathan,
>
> try this patch ...
>
> Index: rrd_open.c
> ===================================================================
> --- rrd_open.c (revision 1202)
> +++ rrd_open.c (working copy)
> @@ -140,11 +140,7 @@
> When we stop reading, it is highly unlikely that we start up
> again.
> In this manner we actually save time and diskaccess (and
buffer
> cache).
> Thanks to Dave Plonka for the Idea of using POSIX_FADV_RANDOM
> here. */
> - if (0 != posix_fadvise(rrd_file->fd, 0, 0, POSIX_FADV_RANDOM)) {
> - rrd_set_error("setting POSIX_FADV_RANDOM on '%s': %s",
file_name,
> - rrd_strerror(errno));
> - goto out_close;
> - }
> + posix_fadvise(rrd_file->fd, 0, 0, POSIX_FADV_RANDOM);
> #endif
>
> /*
>
> cheers
> tobi
>
> Friday Jonathan Bradbury wrote:
>
> > Hi Tobi,
> >
> > We are running on a Red Hat ES3 machine:
> >
> > # uname -a
> > Linux att01dev04 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005
> > i686 i686 i386 GNU/Linux
> >
> > File systems are ext3
> >
> > Thanks,
> > JonB
> >
> > > -----Original Message-----
> > > From: Tobias Oetiker [mailto:tobi at oetiker.ch]
> > > Sent: 14 September 2007 16:14
> > > To: Jonathan Bradbury
> > > Cc: smokeping-users at lists.oetiker.ch
> > > Subject: Re: [smokeping-users] Smokeping performance tracking
> > >
> > > Hi Jonathan,
> > >
> > > This is odd, it seems that for some reason we are not successful
in
> > > telling the kernel that we want it to only read that part of the
> > > file which we specify ...
> > >
> > > what kernel and filesystem are you using ?
> > >
> > > cheers
> > > tobi
> > > --
> > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> > > http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
> >
> >
> > The information contained in this e-mail and its attachments is
> confidential.
> > It is intended only for the named address(es) and may not be
disclosed
> to anyone else without Attenda's consent.
> >
> >
> >
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
The information contained in this e-mail and its attachments is confidential.
It is intended only for the named address(es) and may not be disclosed to anyone else without Attenda's consent.
More information about the smokeping-users
mailing list