lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert engels <>
Subject Re: potential indexing perormance improvement for compound index - cut IO - have more files though
Date Mon, 18 Dec 2006 20:42:52 GMT
A word of caution here...

Using a shared FileChannel.pread actually performs a synchronization  
under Windows.

See JDK bug

I submitted this, and it was verified using the supplied test case.

On Dec 17, 2006, at 1:31 PM, Doug Cutting wrote:

> Doron Cohen wrote:
>> Also, if nio proves to be faster in this scenario, it might make  
>> sense to
>> keep current FSDirectory, and just add FSDirectoryNio implementation.
> If nio isn't considerably slower for single-threaded applications,  
> I'd vote to simply switch FSDirectory to use nio, simplifying the  
> public API by reducing choices.  But if classic io is faster for  
> single-threaded apps, and nio faster for multi-threaded, that would  
> suggest adding a new, public, nio-based Directory implementation.
> Doug
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message