Mark Miller wrote: > Indeed - I just ran the FileReaderTest on a Linux tmpfs ramdisk - with > SeparateFile all 4 of my cores are immediately pinned and remain so. > With ChannelFile, all 4 cores hover 20-30%. > > It would appear it may not be a good idea to use NIOFSDirectory on ramdisks. > > Even still though - it looks like you have a further issue - your Lucene > 2.9 old-api results don't use it, and are still not good. > > The quick results:
ramdisk: sudo mount -t tmpfs tmpfs /tmp/space -o size=1G,nr_inodes=200k,mode=01777 config: impl=SeparateFile serial=false nThreads=4 iterations=100 bufsize=1024 poolsize=2 filelen=730554368 answer=-282295611, ms=173550, MB/sec=1683.7899579371938 config: impl=ChannelFile serial=false nThreads=4 iterations=100 bufsize=1024 poolsize=2 filelen=730554368 answer=-282295361, ms=1377768, MB/sec=212.09793463050383 -- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org