All of lore.kernel.org
 help / color / mirror / Atom feed
* New LXC HOW-TO
@ 2009-10-18  0:32 Dwight Schauer
       [not found] ` <68e6eac60910171732w6b7fe5dbt755963653e417302-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Dwight Schauer @ 2009-10-18  0:32 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

I just made it and it is somewhat archlinux specific, but others might find
it useful.

http://lxc.teegra.net/

--
Dwight

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New LXC HOW-TO
       [not found] ` <68e6eac60910171732w6b7fe5dbt755963653e417302-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-10-18  8:24   ` Daniel Lezcano
  2009-10-18 14:10   ` Dwight Schauer
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Lezcano @ 2009-10-18  8:24 UTC (permalink / raw)
  To: Dwight Schauer; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Dwight Schauer wrote:
> I just made it and it is somewhat archlinux specific, but others might find
> it useful.
>
> http://lxc.teegra.net/
>   
Very cool !

Thanks Dwight.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New LXC HOW-TO
       [not found] ` <68e6eac60910171732w6b7fe5dbt755963653e417302-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2009-10-18  8:24   ` Daniel Lezcano
@ 2009-10-18 14:10   ` Dwight Schauer
       [not found]     ` <68e6eac60910180710j6ebce156w886588013786b4e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Dwight Schauer @ 2009-10-18 14:10 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

I'm trying to get the needed LXC kernel config options into the default Arch
Linux kernel package.
http://bugs.archlinux.org/task/16715

There is a concern about any potential drawbacks in enabling these options,
especially for those that don't use Linux containers.

Is anyone aware of any negative impact (apart from size maybe) of having
these features being enabled? Especially for those not using these features?

On Sat, Oct 17, 2009 at 7:32 PM, Dwight Schauer <dschauer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> I just made it and it is somewhat archlinux specific, but others might find
> it useful.
>
> http://lxc.teegra.net/
>
> --
> Dwight
>
>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New LXC HOW-TO
       [not found]     ` <68e6eac60910180710j6ebce156w886588013786b4e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-10-18 15:44       ` Daniel Lezcano
       [not found]         ` <4ADB37DF.8050907-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2009-10-18 15:44 UTC (permalink / raw)
  To: Dwight Schauer; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Dwight Schauer wrote:
> I'm trying to get the needed LXC kernel config options into the default Arch
> Linux kernel package.
> http://bugs.archlinux.org/task/16715
>
> There is a concern about any potential drawbacks in enabling these options,
> especially for those that don't use Linux containers.
>
> Is anyone aware of any negative impact (apart from size maybe) of having
> these features being enabled? Especially for those not using these features?
>
> On Sat, Oct 17, 2009 at 7:32 PM, Dwight Schauer <dschauer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>   
>> I just made it and it is somewhat archlinux specific, but others might find
>> it useful.
>>
>> http://lxc.teegra.net/
>>
>> --
>> Dwight
>>
>>
>>
>>
>>     
> _______________________________________________
> Containers mailing list
> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
>
>
>   
In general the cgroup adds a small overhead at fork/exit when a subsystem make use of the cgroup_callbacks, for example the freezer. But that can be considered as negligeable.

CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUPS=y
CONFIG_CGROUP_NS=y
CONFIG_CGROUP_FREEZER=y

This one does not add any overhead.

CONFIG_CGROUP_DEVICE=y

For these ones, I don't know.

CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y

AFAIR these following options add some overhead especially the memory resource controller.

CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_MM_OWNER=y


The overhead and footprint of the following options are neligeable

CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_NET_CLS_CGROUP=y


This one, no overhead.
CONFIG_SECURITY_FILE_CAPABILITIES=y

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New LXC HOW-TO
       [not found]         ` <4ADB37DF.8050907-GANU6spQydw@public.gmane.org>
@ 2009-10-27  8:42           ` KAMEZAWA Hiroyuki
       [not found]             ` <20091027174225.ddd56319.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: KAMEZAWA Hiroyuki @ 2009-10-27  8:42 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

On Sun, 18 Oct 2009 17:44:31 +0200
Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> wrote:

> AFAIR these following options add some overhead especially the memory resource controller.
> 
> CONFIG_CGROUP_CPUACCT=y
> CONFIG_RESOURCE_COUNTERS=y
> CONFIG_CGROUP_MEM_RES_CTLR=y
> CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
> CONFIG_MM_OWNER=y
> 
> 
sorry, memcg's performance fix is now tested under -mm kernel.
plz wait for 2.6.33 ;(

Thanks,
-Kame

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New LXC HOW-TO
       [not found]             ` <20091027174225.ddd56319.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
@ 2009-10-27 10:15               ` Daniel Lezcano
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Lezcano @ 2009-10-27 10:15 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

KAMEZAWA Hiroyuki wrote:
> On Sun, 18 Oct 2009 17:44:31 +0200
> Daniel Lezcano <daniel.lezcano-GANU6spQydw@public.gmane.org> wrote:
>
>   
>> AFAIR these following options add some overhead especially the memory resource controller.
>>
>> CONFIG_CGROUP_CPUACCT=y
>> CONFIG_RESOURCE_COUNTERS=y
>> CONFIG_CGROUP_MEM_RES_CTLR=y
>> CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
>> CONFIG_MM_OWNER=y
>>
>>
>>     
> sorry, memcg's performance fix is now tested under -mm kernel.
> plz wait for 2.6.33 ;(
>   
Cool !

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-27 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18  0:32 New LXC HOW-TO Dwight Schauer
     [not found] ` <68e6eac60910171732w6b7fe5dbt755963653e417302-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-10-18  8:24   ` Daniel Lezcano
2009-10-18 14:10   ` Dwight Schauer
     [not found]     ` <68e6eac60910180710j6ebce156w886588013786b4e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-10-18 15:44       ` Daniel Lezcano
     [not found]         ` <4ADB37DF.8050907-GANU6spQydw@public.gmane.org>
2009-10-27  8:42           ` KAMEZAWA Hiroyuki
     [not found]             ` <20091027174225.ddd56319.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-10-27 10:15               ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.