Re: Why do processes with higher priority to be allocated more timeslice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Mulyadi

2011/9/27 Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>:
> simply to say that, the more important a job is, it should be given
> longer time to run... but, the process has privilege to yield before
> time slice is up...and when it comes back,it will use the remaining
> time slice.....and its dynamic priority will stay the same (that's the
> property that I recall....)
>
> well, you can think, what happen if you take the other direction for
> the policy? higher priority, but less time slice? that, IMHO, is less
> intuitive.
>

Initially, I think that the scheduler should enlarge the timeslices of
CPU-bound processes to improve throughput. But, now I have realized
that the two goals of schedulers, namely shorter latency and higher
throughput, can not be achieved at the same time. Linux scheduler may
prefer to the former. Thanks! :-)

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux