Opened 12 years ago
Last modified 10 years ago
#670 new enhancement
IZ3022: Keep count of time spent non-suspended
Reported by: | uddeborg | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | current |
Severity: | Keywords: | kernel | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3022]
Issue #: 3022 Platform: All Reporter: uddeborg (uddeborg) Component: gridengine OS: All Subcomponent: kernel Version: current CC: None defined Status: NEW Priority: P3 Resolution: Issue type: ENHANCEMENT Target milestone: --- Assigned to: andreas (andreas) QA Contact: andreas URL: * Summary: Keep count of time spent non-suspended Status whiteboard: Attachments: Issue 3022 blocks: Votes for issue 3022: Opened: Fri May 8 00:25:00 -0700 2009 ------------------------ We have a queue for short jobs. We only want to allow jobs to spend up to (say) 10 minutes in that queue, and be killed if still around after that. If a job gets suspended for some reason, (there are higher prioritized queues, for example), the time suspended should not count. So s_rt/h_rt is not the right attribute to use to enforce this; setting THAT to ten minutes could kill a job too early. On the other hand, if a job is in running state from SGE:s point of view, but not actually doing anything, maybe waiting for I/O, that time SHOULD count. So s_cpu/h_cpu isn't quite right either; setting that to ten minutes could kill a job too late. So I'm adding to the wishlist an attribute that keeps count of how long time a job has been in the running state. s_run/h_run, maybe?
Note: See
TracTickets for help on using
tickets.