Talk:Shortest remaining time

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Clarification[edit]

What 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)[reply]

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)[reply]

Why is the currently executing process is the one with the shortest amount of time remaining by definition?[edit]

Currently, 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)[reply]

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)[reply]