Re: [PATCH] Add Documentation for FAIR_USER_SCHED sysfs files

From: Ingo Molnar
Date: Wed Dec 12 2007 - 05:17:44 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Dhaval Giani <dhaval@xxxxxxxxxxxxxxxxxx> wrote:
>
> > > Hm, how about describing the units here? Can you put "10" in each
> > > file and everyone will get the same share? 100? 1? 1024 seems
> > > like an odd "share" number. Unless there is some other document you
> > > wish to refer people to do help describe these values?
> >
> > It is proportional. That is, if two users have same value for shares,
> > they will get equal bandwidth on the CPU. If they are in the ratio
> > 1:2, then they will share it in that ratio. I've updated the patch for
> > this. Hope it is clearer.
>
> thanks, applied.

unless Greg wants to push this via the sysfs git tree?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/