[infinispan-issues] [JBoss JIRA] Commented: (ISPN-276) Expensive to read a single byte in Lucene Directory
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Wed Dec 16 06:55:30 EST 2009
[ https://jira.jboss.org/jira/browse/ISPN-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12500289#action_12500289 ]
Sanne Grinovero commented on ISPN-276:
--------------------------------------
Nice improvements!
Results by running a 5 minute benchmark:
Average slowdown compared to RAMDirectory - Infinispan Local cache - before patch: 114%
Average slowdown compared to RAMDirectory - Infinispan Local cache - after patch: 24%
Average slowdown compared to RAMDirectory - Infinispan Distributed cache - before patch: 123%
Average slowdown compared to RAMDirectory - Infinispan Distributed cache - after patch: 47%
Will do more tests on a long-running benchmark and profile, but I apply this now.
> Expensive to read a single byte in Lucene Directory
> ---------------------------------------------------
>
> Key: ISPN-276
> URL: https://jira.jboss.org/jira/browse/ISPN-276
> Project: Infinispan
> Issue Type: Bug
> Components: Lucene Directory
> Affects Versions: 4.0.0.CR1, 4.0.0.CR2
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 4.0.0.GA
>
> Attachments: lucene-core-2.9.2-SNAPSHOT.jar, readByte-1.1.diff, readByte.diff
>
>
> public byte readByte() in org.infinispan.lucene.InfinispanIndexIO is doing some expensive operations, while this is a very hot spot.
> Spotted by Earwin Burrfoot on Lucene's developer list.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list