[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] [PATCH] Experimental patch to mmap active file for speed



Robert Clark <clark@xxxxxxxxxx> writes:

> I am attaching a quick experiment with mmap'ing the groupinfo file before it
> is processed to try and speed up the loading. On both machines I tested
> this on, this cut about 50% off the delay in posting a new article, which
> is the place where I really notice the delay.

I've cleaned it up, changed the active file format to include a line
with a count (so one pass through the file suffices when that line is
present), simplified getabufferedline a bit and committed it to CVS.

I don't know how long the mmap changes will live though - we'll see how
many portability complaints come in after the next snapshot.

Thank you!

-- 
Matthias Andree
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/