<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Hi,<BR>
<BR>
This patch try to emulate the mmap system call.<BR>
<BR>
Where can i find this patch ? I'll try to rewrite it to use<BR>
mmap instead of reading the whole file in memory... <BR>
<BR>
I think, it's a bad idea to integrate it... let linux do his job.<BR>
<BR>
Regards<BR>
<BR>
Eric<BR>
<BR>
On Fri, 2004-05-21 at 02:27, Ethan Galstad wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#7f7f7f"><I>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?</I></FONT></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>--
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</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>