> 
> +> 
> +> In article <[EMAIL PROTECTED]> you wrote:
> +> > Ok, I understand that the kernal manages both the process
> +> > distribution.  But let's say I am running 10 game servers (for
> +> > instance) which do not support smp.  Does Linux-smp distribute the
> +> > load over both processors?  Or does it assign 1 proc here 1 proc
> +> > there, etc?  Is there a way for me to help Linux :0] ?
> +> 
> +> <plug>
> +> One thing you might want to do in the 10 game servers scenario is
> +> control how much CPU time each server is allowed to use. You can do
> +> this with my hierarchical fair scheduler (link below). For example,
> +> you can say things like "this group of processes is twice as important
> +> as that group" and it'll be guaranteed twice as much CPU time. Within
> +> each group processes are scheduled by the standard scheduler.
> +> </plug>
> 
> Ahem... - Am I wrong, or could "nice" be your friend here? ;-)
> 
> I can see no problem... Why should one introduce hierachical
> scheduling, when you can set priorities with "nice" ?

        Well, you need to be a priveleged user to increase priorities else you
        end up reducing the priority of the command that you run with nice. A
        fair share scheduler allows tailoring resource allocation (cpu
        time for example) to processes (like whats mentioned above) - which
        should help give preferential treatment to processes as required by a
        user. Rather than specify exact priorities  ( which a user cannot be
        expected to be very good at guessing) it's much better to provide some
        way where a user can say that some process needs greater percentage of
        cpu time than the rest.
>  
> +> This is not exactly what you asked for but it's similar in that it
> +> allows you more control over the scheduling.
> +> 
> +> Regards,
> +> Borislav
> +> http://people.cornell.edu/pages/bdd2/hsfq/
> 
> Regards,
> 
>       Herbert
> 
> 
> 
> "We have found solutions for all solvable problems. From now on there is
> only the need for the NT-Hotline." A colleague about the closing of a Unix-HL
> because too few users made calls (800 Users, 20 Calls a day).
> 
> -
> Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
> To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
> 

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to