Re: Jail-Aware Scheduling

2006-06-12 Thread Roberto Lima
Hi all, i have a patch from freebsd 4.x not developed for me, but this is very good for appreciate and or upgrade the patch for versions 5.x 6.x or current. This use sysctl oids to limit memory ram and cpu use. Regards and sorry for my bad english, Roberto Lima. jail_seperation.v7.patch

Re: Jail-Aware Scheduling

2006-06-11 Thread Pieter de Goeje
Hi Chris, On Sunday 11 June 2006 07:51, Chris Jones wrote: Hi, folks --- as some of you might know, FreeBSD has a Summer of Code project to bring resource limits to jails, and one part of that is to permit an administrator to put limits on a jail's CPU usage. That's where I come in: I'm the

Re: Jail-Aware Scheduling

2006-06-11 Thread joerg
On Sat, Jun 10, 2006 at 11:51:33PM -0600, Chris Jones wrote: - what're your thoughts on making the existing scheduler jail- aware as opposed to writing a sort of 'meta-scheduler' that would schedule between jails, and then delegate to a scheduler per jail (which could be very similar,

Re: Jail-Aware Scheduling

2006-06-11 Thread Chris Jones
On 11-Jun-06, at 6:50 AM, Pieter de Goeje wrote: For my CS study I picked up Operating System Concepts by Silberschatz, Galvin and Gagne. It has a fairly detailed description of the inner workings of a scheduler and the various algorithms involved, but no actual implementation. Yep, we

Re: Jail-Aware Scheduling

2006-06-11 Thread Alex Lyashkov
В Вск, 11.06.2006, в 08:51, Chris Jones пишет: Hi, folks --- as some of you might know, FreeBSD has a Summer of Code project to bring resource limits to jails, and one part of that is to permit an administrator to put limits on a jail's CPU usage. That's where I come in: I'm the guy

Re: Jail-Aware Scheduling

2006-06-11 Thread Chris Jones
On 11-Jun-06, at 6:50 AM, Pieter de Goeje wrote: For my CS study I picked up Operating System Concepts by Silberschatz, Galvin and Gagne. It has a fairly detailed description of the inner workings of a scheduler and the various algorithms involved, but no actual implementation. Yep, we

Re: Jail-Aware Scheduling

2006-06-11 Thread Peter Jeremy
On Sun, 2006-Jun-11 14:50:30 +0200, Pieter de Goeje wrote: I suppose by limiting the jail CPU usage you mean that jails contending over CPU each get their assigned share. But when the system is idle one jail can get all the CPU it wants. IBM MVS had an interesting alternative approach, which I

Re: Jail-Aware Scheduling

2006-06-11 Thread Kip Macy
I personally prefer the notion of layering the normal scheduler on top of a simple fair-share scheduler. This would not add any overhead for the non-jailed case. Complicating the process scheduler poses maintenance, scalability, and general performance problems. -Kip On 6/11/06, Peter

Jail-Aware Scheduling

2006-06-10 Thread Chris Jones
Hi, folks --- as some of you might know, FreeBSD has a Summer of Code project to bring resource limits to jails, and one part of that is to permit an administrator to put limits on a jail's CPU usage. That's where I come in: I'm the guy doing the project, and I've been spending the last