hits, misses, and thrashing while indexing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

hits, misses, and thrashing while indexing

Jakob Fix-2
Hello,

while indexing a collection using the Java client, I noticed the
following output in the console window from which I started the client
(this is an extract, because it looks like there's one line per
document):

hits: 991713; misses: 24632; thrashing: 16583; thrashing: 16583
hits: 991718; misses: 24633; thrashing: 16584; thrashing: 16584
hits: 991721; misses: 24634; thrashing: 16585; thrashing: 16585
hits: 991752; misses: 24635; thrashing: 16586; thrashing: 16586
hits: 991765; misses: 24636; thrashing: 16587; thrashing: 16587
hits: 991768; misses: 24637; thrashing: 16588; thrashing: 16588

Is this something I need to be concerned about, or is this debug
output because this is the CVS version of Exist (checked out on 13 or
14 october 2005)?


Oh, and there were also these two UI-related NPE after the indexing
finished which I'm not worried about, but which may interest the
developers?

Thanks.



java.lang.NullPointerException
        at javax.swing.plaf.basic.BasicProgressBarUI.updateSizes(BasicProgressBarUI.java:433)
        at javax.swing.plaf.basic.BasicProgressBarUI.getBox(BasicProgressBarUI.java:375)
        at javax.swing.plaf.basic.BasicProgressBarUI.paintString(BasicProgressBarUI.java:694)
        at javax.swing.plaf.basic.BasicProgressBarUI.paintDeterminate(BasicProgressBarUI.java:681)
        at javax.swing.plaf.metal.MetalProgressBarUI.paintDeterminate(MetalProgressBarUI.java:45)
        at javax.swing.plaf.basic.BasicProgressBarUI.paint(BasicProgressBarUI.java:335)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
        at javax.swing.JComponent.paintComponent(JComponent.java:541)
        at javax.swing.JComponent.paint(JComponent.java:808)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
        at javax.swing.plaf.basic.BasicProgressBarUI.updateSizes(BasicProgressBarUI.java:433)
        at javax.swing.plaf.basic.BasicProgressBarUI.getBox(BasicProgressBarUI.java:375)
        at javax.swing.plaf.basic.BasicProgressBarUI.paintIndeterminate(BasicProgressBarUI.java:582)
        at javax.swing.plaf.metal.MetalProgressBarUI.paintIndeterminate(MetalProgressBarUI.java:124)
        at javax.swing.plaf.basic.BasicProgressBarUI.paint(BasicProgressBarUI.java:333)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
        at javax.swing.JComponent.paintComponent(JComponent.java:541)
        at javax.swing.JComponent.paint(JComponent.java:808)
        at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
        at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
--
cheers,
Jakob.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: hits, misses, and thrashing while indexing

Wolfgang Meier-2
Hi Jakob,

> while indexing a collection using the Java client, I noticed the
> following output in the console window from which I started the client
> (this is an extract, because it looks like there's one line per
> document):
>
> hits: 991713; misses: 24632; thrashing: 16583; thrashing: 16583
>
> Is this something I need to be concerned about, or is this debug
> output because this is the CVS version of Exist (checked out on 13 or
> 14 october 2005)?

This debug info is generated by the page cache and can be ignored. I
will remove it.

> Oh, and there were also these two UI-related NPE after the indexing
> finished which I'm not worried about, but which may interest the
> developers?

I often see those NPEs when uploading many small files, but they don't
have any effect on the storage operation. I guess this has something to
do with concurrent updates of the progress bar.

Wolfgang



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open