From what I understand, work is being done in the 2.5 kernel line for 
"Fair Queueing" which is resource allocation software. This will do it, but 
we're not entirely there yet :-). If you want to give one VS an "unfair" 
advantage over another, you could try using nice, which allows you to move 
processes higher in the queue. You could say, nice httpd on vsone to a more 
advantageous level than the httpd on vstwo. This isn't an exact science, 
but if you need to limit vstwo's impact on vsone, you could do it with nice.

See "man nice" on the main server as root.

TTYS
Lloyd

At 09:14 AM 9/17/2002 +0100, you wrote:
>Hi Hadad,
>
>Tuesday, September 17, 2002, 1:43:31 AM, you wrote:
>
> > Is possible to limit by virtual server, the memory and processor usage?
> > Like 20% (memory) and 40% (processor) to virtual server 1, 30%
> > (memory) and 10% (processor) to virtual server 2 ....
>
>No - not by default.
>
>But you will basically need to find some sort of "resource dividing"
>software for the host server that divides up the resources according
>to User IDs (eg. user IDs 2000-2199 can use a maximum of 20% RAM and
>40% CPU between them, user IDs 2200-2399 can use a maximum of 30% RAM
>and 10% CPU between them....) etc.
>
>Im sure that must exist _somewhere_ but I have a feeling it will
>involve lots of kernel hacking.
>
>Kind Regards,
>
>--
>Ben Kennish
>[EMAIL PROTECTED]
>
>------------------------- The freeVSD Support List --------------------------
>Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
>Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
>Archives:    http://freevsd.org/support/mail-archives/freevsd-support
>-----------------------------------------------------------------------------

Discovery consists of seeing what everybody has seen and thinking what
nobody has thought.
-- Albert Szent-Gyorgyi (1893-1986)


------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to