DO NOT REPLY [Bug 34930] - IndexWriter.maybeMergeSegments() takes lots of CPU resources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34930] - IndexWriter.maybeMergeSegments() takes lots of CPU resources

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34930


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15043|0                           |1
        is obsolete|                            |




------- Additional Comments From [hidden email]  2005-05-24 05:59 -------
Created an attachment (id=15137)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15137&action=view)
Patch that hopefully is what Doug means

Doug,

I could not resolve in my mind exactly what you meant in your example code
snippet, but here's a patch that I believe accomplishes the same thing.  It's
merely a renaming of the variable, and using the 'mergeSegement decrements'
concept that you mention which I think is a good idea.

This patch still doesn't speed up the actual detecting of what segments on the
stack to merge when it does go into that loop. I need to re-baseline the
performance measurements with this patch to see where the CPU is now spending
most of it's time, as it it may now be somewhere else entirely.

NOTE: all current unit tests still pass with this patch.


--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]