[ 
https://issues.apache.org/jira/browse/LUCENE-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916965#action_12916965
 ] 

Michael McCandless commented on LUCENE-2662:
--------------------------------------------

I also ran a test w/ 5 threads -- they are close (22,402 docs/sec for patch, 
22,868 docs/sec for trunk), and this time avgUsedMem is closer (811 MB for 
trunk, 965 MB for patch).

I don't think the avgUsedMem is that meaningful -- it takes the max of 
Runtime.totalMemory() - Runtime.freeMemory() (which includes garbage I think), 
after each completed task, and then averages across all tasks.  In my case I 
think it's averaging 1 measure per thread, so it's really sort of measuring how 
much garbage there happened to be at the time.

> BytesHash
> ---------
>
>                 Key: LUCENE-2662
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2662
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: Realtime Branch, 4.0
>            Reporter: Jason Rutherglen
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: Realtime Branch, 4.0
>
>         Attachments: LUCENE-2662.patch, LUCENE-2662.patch, LUCENE-2662.patch, 
> LUCENE-2662.patch, LUCENE-2662.patch
>
>
> This issue will have the BytesHash separated out from LUCENE-2186

-- 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to