Re: [Scheduler] CFS - What happens to each task's slice if nr_running * min_granularity > sched_latency?

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

 



On Thu, 2020-04-02 at 22:10 -0400, Evan T Mesterhazy wrote:

> Here's the code for calculating an individual process's slice. It
> looks like the weighting formula is used here regardless of whether
> the period has been expanded.
> If that's the case, doesn't that mean that some processes will still
> get a slice that's smaller than the min_granularity?

That is exactly what will happen. You figured out what
the code does.

Generally this behavior is not a real problem, since
people expect low priority tasks to run slower.

-- 
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://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