看板 DFBSD_kernel 關於我們 聯絡資訊
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.