Somewhat obvious caution: don't assume the NIO (well I guess you mean memory mapped i/o) code will be faster - some isolation testing I did in release candidates of jdk1.4 showed it to be *slower* than normal file i/o. No doubt it should be faster.
Note: can't find bug report I submitted to javasoft but there are other reports that seem to indicate that this is fixed. -----Original Message----- From: Donglin Lu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:23 AM To: [EMAIL PROTECTED] Subject: Re: Disk I/O in Lucene Hi, Peter. Thanks for the information. I am curious why Lucene doesn't use the NIO API of JDK 1.4. It may improve the performance. I have not tried the RAM Directory yet. Alex ----- Original Message ----- From: "Peter Carlson" <[EMAIL PROTECTED]> To: "Lucene Developers List" <[EMAIL PROTECTED]>; "Lucene Users List" <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 7:08 PM Subject: Re: Disk I/O in Lucene > Hi, > > Lucene does not use the new nio API's in 1.4 (in fact it is compatible back > to 1.1.8). > > What kind of bench marks are you looking for? I am currently searching over > 100K documents in about .015 seconds for a simple query on a Sun Netra T1 > (450 Mhz). > > If you have a real need for speed, Lucene also supports a RAM Directory to > store the index. I have not used this, but heard it's faster. > > --Peter > > > On 4/9/02 2:41 PM, "Donglin Lu" <[EMAIL PROTECTED]> wrote: > > > > > Hi, I am newbie to Lucene and have a question about > > Lucene's disk I/O. > > > > For JDK 1.4 has java.nio APIs, does Lucene use this > > new I/O library to improve the disk I/O performance? > > Are they any benchmark about the performance of > > Lucene? > > > > Thanks. > > > > Alex > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Tax Center - online filing with TurboTax > > http://taxes.yahoo.com/ > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
