On Tue, Nov 11, 2008 at 3:35 PM, Burton-West, Tom <[EMAIL PROTECTED]> wrote: > Hi Yonik, > > Thanks for the NIO suggestion. We are using Linux, but our indexes are > NFS mounted.
That may be your biggest performance problem right there - try on a local index and see what the difference is. > I thought I saw something about problems with NIO and NFS, > but am fuzzy on the details. > > These results are with Solr 1.2 and I'm wondering if even without the > NIO change, upgrading to Solr 1.3 might help. You would need to try the latest nightly build to get the NIO stuff. > What confuses me is why > multiple searchers are locking the prx index file. I would think that > searching is a read-only operation. Reading a chunk of a file requires a seek() and a read()... that needs to be synchronized so the read can execute before another seek() happens in another thread. NIO has a read(position, length) call and we can thus avoid synchronization. -Yonik