El Wed, 18 Apr 2007 10:22:59 -0700 (PDT), Linus Torvalds <[email protected]> escribió: > So if you have 2 users on a machine running CPU hogs, you should *first* > try to be fair among users. If one user then runs 5 programs, and the > other one runs just 1, then the *one* program should get 50% of the CPU > time (the users fair share), and the five programs should get 10% of CPU > time each. And if one of them uses two threads, each thread should get 5%. "Fairness between users" was implemented long time ago by rik van riel (http://surriel.com/patches/2.4/2.4.19-fairsched). Some people has been asking for a functionality like that for a long time, ie: universities that want to avoid gcc processes from one student that is trying to learn how fork() works from starving the processes of rest of the students. But not only they want "fairness between users", they also want "priorities between users and/or groups of users", ie: "the 'students' group shouldn't starve the 'admins' group". - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: William Lee Irwin III <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Nick Piggin <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: William Lee Irwin III <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Nick Piggin <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Matt Mackall <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Nick Piggin <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Matt Mackall <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Nick Piggin <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Matt Mackall <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Linus Torvalds <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Matt Mackall <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- From: Linus Torvalds <[email protected]>
- Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- Prev by Date: Re: [PATCH][RFC] Kill off legacy power management stuff.
- Next by Date: Re: [Devel] Re: [patch 05/10] add "permit user mounts in new namespace" clone flag
- Previous by thread: Re: [ck] Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- Next by thread: Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- Index(es):