lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <>
Subject [jira] Updated: (LUCENE-1322) Remove synchronization in CompoundFileReader
Date Tue, 01 Jul 2008 20:58:45 GMT


Jason Rutherglen updated LUCENE-1322:

    Attachment: lucene-1322.patch


CSIndexInput.clone() added that clones the base IndexInput removing the synchronization overhead
from CompoundFileReader.

> Remove synchronization in CompoundFileReader
> --------------------------------------------
>                 Key: LUCENE-1322
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.3.1
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>         Attachments: lucene-1322.patch
> Currently there is what seems to be unnecessary synchronization in CompoundFileReader.
 This is solved by cloning the base IndexInput.  Synchronization in low level IO classes creates
lock contention on highly multi threaded Lucene installations, so much so that in many cases
the CPU utilization never reaches the maximum without using something like ParallelMultiSearcher.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message