[ZODB-Dev] Re: ZODB Benchmarks

Benji York benji at zope.com
Wed Mar 5 10:34:24 EST 2008


Roché Compaan wrote:
> On Tue, 2008-03-04 at 13:27 -0700, Shane Hathaway wrote:
>> Maybe if you set up a ZODB cache that allows just over 10 million 
>> objects, the lookup time will drop to microseconds.  You might need a 
>> lot of RAM to do that, though.
> 
> Maybe, but somehow I think that disk IO will prevent this. I'll check.

If you're on Linux, you can tweak swappiness (/proc/sys/vm/swappiness; 
http://lwn.net/Articles/83588/) to affect how much RAM is used for the 
page cache and how much for your process.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the ZODB-Dev mailing list