MantisBT - JANA
View Issue Details
0000378JANABugpublic2013-08-22 08:372013-08-27 22:27
davidl 
davidl 
normalminoralways
resolvedfixed 
0000378: I/O bound jobs cause excessive CPU use in NextEvent
In JApplication::NextEvent there is a loop that will continually lock/unlock a mutex and check if the application is quitting while waiting for an event to be read in. This means for I/O bound jobs that every thread spends a lot of CPU spinning around that loop while waiting for an event. A short sleep time should be added if the event buffer is empty so that the CPU will be freed up for other things (or at least appear idle) as opposed to showing JANA using it.
No tags attached.
Issue History
2013-08-22 08:37davidlNew Issue
2013-08-27 22:27davidlNote Added: 0000571
2013-08-27 22:27davidlStatusnew => resolved
2013-08-27 22:27davidlResolutionopen => fixed
2013-08-27 22:27davidlAssigned To => davidl

Notes
(0000571)
davidl   
2013-08-27 22:27   
This change was applied and will appear in jana 0.6.7