View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000378JANABugpublic2013-08-22 08:372013-08-27 22:27
Assigned Todavidl 
PlatformOSOS Version
Summary0000378: I/O bound jobs cause excessive CPU use in NextEvent
DescriptionIn 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
davidl (administrator)
2013-08-27 22:27

This change was applied and will appear in jana 0.6.7

- 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

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker