Re: I/O scheduler (aka dsched)

看板DFBSD_kernel作者時間16年前 (2010/04/01 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
Magnus Eriksson wrote: >> The ionice priority is similar to nice, but the levels nice values range >> from 0 to 10, and unlike the usual nice, 10 is the highest priority and 0 >> the lowest. Usage is exactly the same as nice: > > I think the principle of least surprise would suggest that it should > work exactly like nice, rather than flip it around, or people will get > confused why the misbehaving program continues to eat all IO even after > they reniced it. :-) nice is actually intuitive - the higher the number, the 'nicer' the processes are to the rest of the system.. negative nice => "mean" it's just *system* relative - not process relative.. perhaps a commentary on our modern individualistic nature, that we get this wrong.. or something.. shutting up now.
文章代碼(AID): #1Bi-c5p_ (DFBSD_kernel)
文章代碼(AID): #1Bi-c5p_ (DFBSD_kernel)