I'm not sure how Solaris or Windows perform but the Linux block cache
will essentially use all avali memory to buffer the filesystem.
If one is using an FSDirectory to perform searches while the first
search would be slow, remaining searches would be fast since Linux will
now buffer the index in RAM.
The RAMDirectory has the advantage of pre-loading everything and can
keep it in memory if the box is performing other operations.
In my benchmarks though RAMDirectory is slightly slower. I assume this
is because its Hashtable based even though it only needs to be
synchronized in a few places. IE searches should never be synchronized...
Would a HashMap implementation of RAMDirectory beat out a cached
FSDirectory?
Kevin
--
Please reply using PGP.
http://peerfear.org/pubkey.asc
NewsMonster - http://www.newsmonster.org/
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]