View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000378 | JANA | Bug | public | 2013-08-22 08:37 | 2013-08-27 22:27 |
|
Reporter | davidl | |
Assigned To | davidl | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
|
Summary | 0000378: I/O bound jobs cause excessive CPU use in NextEvent |
Description | 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. |
Tags | No tags attached. |
|
Attached Files | |
|