MantisBT - JANA | |||||
View Issue Details | |||||
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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-08-22 08:37 | davidl | New Issue | |||
2013-08-27 22:27 | davidl | Note Added: 0000571 | |||
2013-08-27 22:27 | davidl | Status | new => resolved | ||
2013-08-27 22:27 | davidl | Resolution | open => fixed | ||
2013-08-27 22:27 | davidl | Assigned To | => davidl |
Notes | |||||
|
|||||
|
|