Page 1 of 1

Re: [Nagios-devel] Nagios 1.2 fast IO-patch

Posted: Fri May 21, 2004 4:44 am
by Guest
--=-WaB/c8dE/dvc4V8JLxXN
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

This patch try to emulate the mmap system call.

Where can i find this patch ? I'll try to rewrite it to use
mmap instead of reading the whole file in memory...=20

I think, it's a bad idea to integrate it... let linux do his job.

Regards

Eric

On Fri, 2004-05-21 at 02:27, Ethan Galstad wrote:

> This patch is a bit old, but I've just gotten around to testing it on=20
> the 2.0 code. From what I can tell, there's no measureable=20
> difference with or without the patch. I tested three different=20
> reporting ranges ("today", "this year", and "last year") on two=20
> separate boxes. Both boxes are RedHat 7.2 running kernel-2.4.20-
> 20.7.
>=20
> One box is a PII 400 w/ 220 MB RAM, an 8 GB SCSI drive and 45 hosts=20
> in the report. The other is a PII 300 w/ ~200 MB RAM, an 8 GB SCSI=20
> drive and 15 hosts in the report.
>=20
> Report generation times were within 5% of each other on both machines=20
> when tested w/ and w/o the patch (sometimes the patches version was=20
> actually slightly slower than the nonpatched code). Average report=20
> times for "today", "this year" and "last year" are approx: 1.25 sec,=20
> 6.2 sec, and 7.7 sec.
>=20
> Perhaps the SCSI drives are doing a better job at predictive reads=20
> than the IDE drives you tested. Not sure. Or perhaps its something=20
> else. For the record, I have not tested this against 1.2, but I=20
> wouldn't think the results would be much different. Anyone else=20
> tried this patch out? If so, what were your findings?

--=20
Eric BOLLENGIER, Administrateur Syst=E8me - Poste 1325
SIGMA Informatique http://www.sigma.fr
3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex
tel : 02.40.37.14.00

--=-WaB/c8dE/dvc4V8JLxXN
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit








Hi,

This patch try to emulate the mmap system call.

Where can i find this patch ? I'll try to rewrite it to use
mmap instead of reading the whole file in memory...

I think, it's a bad idea to integrate it... let linux do his job.

Regards

Eric

On Fri, 2004-05-21 at 02:27, Ethan Galstad wrote:

This patch is a bit old, but I've just gotten around to testing it on
the 2.0 code. From what I can tell, there's no measureable
difference with or without the patch. I tested three different
reporting ranges ("today", "this year", and "last year") on two
separate boxes. Both boxes are RedHat 7.2 running kernel-2.4.20-
20.7.

One box is a PII 400 w/ 220 MB RAM, an 8 GB SCSI drive and 45 hosts
in the report. The other is a PII 300 w/ ~200 MB RAM, an 8 GB SCSI
drive and 15 hosts in the report.

Report generation times were within 5% of each other on both machines
when tested w/ and w/o the patch (sometimes the patches version was
actually slightly slower than the nonpatched code). Average report
times for "today", "this year" and "last year" are approx: 1.25 sec,
6.2 sec, and 7.7 sec.

Perhaps the SCSI drives are doing a better job at predictive reads
than the IDE drives you tested. Not sure. Or perhaps its something
else. For the record, I have not tested this against 1.2, but I
wouldn't think the results would be much different. Anyone else
tried this patch out? If so, what were your findings?




--
Eric BOLLENGIER, Administrateur Système - Poste 1325
SIGMA Informatique http://www.sigma.fr
3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex
tel : 02.40.37.14.00







--=-WaB/c8dE/dvc4V8JLxXN--






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]