Talk:Shortest remaining time
Latest comment: 6 years ago by Xanzzibar in topic Why is the currently executing process is the one with the shortest amount of time remaining by definition?
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||
|
Clarification
editWhat if the next proces is not shorter but has exactly the same burst time as the currently executing process - is there reason to prefer the new process particularly if one wants to increase the response time of the system? Shedali (talk) 15:40, 2 May 2008 (UTC)
- This question can be avoided by not testing for equality. If the new process has shorter time than remaining time, preemption occurs. --Kvng (talk) 17:22, 25 November 2011 (UTC)
Why is the currently executing process is the one with the shortest amount of time remaining by definition?
editCurrently, the article claims that "the currently executing process is the one with the shortest amount of time remaining by definition". I can see how that would be the case for non-preemptive scheduling, but it seems a mistake for preemptive scheduling. If Bob is working on his thesis, and his wife asks him to take out the garbage, then the latter job clearly has the shorter remaining time. Bob can not use this article as an excuse. — Sebastian 10:39, 15 January 2018 (UTC)
- The garbage task would be the "new process is added that requires a smaller amount of time" part covered in the same sentence, and would thus preempt the thesis work and become the current task. --Xanzzibar (talk) 23:06, 15 April 2018 (UTC)