Re: cgroups to prevent OSD from taking down a whole machine

2013-02-08 Thread Andrey Korolyov
On Fri, Feb 8, 2013 at 6:52 PM, Mark Nelson wrote: > I've been thinking about using this for machines where people want to run > OSDS and VMs on the same nodes. Keep Ceph and the VMs in separate cgroups > to help keep them from interfering with each other. > > It won't help with memory or QPI/hyp

Re: cgroups to prevent OSD from taking down a whole machine

2013-02-08 Thread Andrey Korolyov
On Fri, Feb 8, 2013 at 6:46 PM, Wido den Hollander wrote: > Hi, > > Has anybody tried this yet? > > Running into the memory leaks during scrubbing[0] I started thinking about a > way to limit OSDs to a specific amount of memory. > > A machine has 32GB of memory, 4 OSDs, so you might want to limit

Re: cgroups to prevent OSD from taking down a whole machine

2013-02-08 Thread Mark Nelson
I've been thinking about using this for machines where people want to run OSDS and VMs on the same nodes. Keep Ceph and the VMs in separate cgroups to help keep them from interfering with each other. It won't help with memory or QPI/hypertransport throughput (unless you have them segmented on

cgroups to prevent OSD from taking down a whole machine

2013-02-08 Thread Wido den Hollander
Hi, Has anybody tried this yet? Running into the memory leaks during scrubbing[0] I started thinking about a way to limit OSDs to a specific amount of memory. A machine has 32GB of memory, 4 OSDs, so you might want to limit each OSD to 8GB so it can't take the whole machine down and would on