OpenVZ Forum


Home » Mailing lists » Devel » Re: New pid namespaces patches testing
Re: New pid namespaces patches testing [message #19017] Tue, 19 June 2007 10:18 Go to next message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
Pavel Emelianov wrote:
> OK. We have measured the nptl perf test for init namespace.
> Summary - flat model is very light, Suka's patches break the 
> kernel performance event when CONFIG_PID_NS is off.
> 
>                  |    perf, s   | perf loss  |
> -----------------+--------------+------------+
> 2.6.22-rc4-mm2   | 13.79 ± 0.13 |    ---     |
>                  |              |            |
> suka  + PID_NS=n | 14.07 ± 0.13 |    2.0%    |
> suka  + PID_NS=y | 14.06 ± 0.08 |    2.0%    |
>                  |              |            |
> pavel + PID_NS=n | 13.80 ± 0.07 |    0.0%    |
> pavel + FLAT     | 13.80 ± 0.07 |    0.0%    |
> pavel + MULTI    | 14.28 ± 0.08 |    3.5%    |
> -----------------+--------------+------------+

is that on the same hardware you used last time ? 
2 * Intel(R) Xeon(TM) CPU 3.00GHz with 2GB RAM.

> I do believe that Suka's hierarchical model is better than mine,
> but my point is: let's support the flat model as well.

OK. First thing we can do is to find what they have in common and 
get that included. Then, after the first round, we might even find 
some more to reach the MULTI model :) 

That said, I'm perfectly fine with the FLAT model, because I think
it covers nearly all the real world scenarii i know about : system 
containers, application containers. 

C.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: New pid namespaces patches testing [message #19025 is a reply to message #19017] Tue, 19 June 2007 11:14 Go to previous messageGo to next message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Cedric Le Goater wrote:
> Pavel Emelianov wrote:
>> OK. We have measured the nptl perf test for init namespace.
>> Summary - flat model is very light, Suka's patches break the 
>> kernel performance event when CONFIG_PID_NS is off.
>>
>>                  |    perf, s   | perf loss  |
>> -----------------+--------------+------------+
>> 2.6.22-rc4-mm2   | 13.79 ± 0.13 |    ---     |
>>                  |              |            |
>> suka  + PID_NS=n | 14.07 ± 0.13 |    2.0%    |
>> suka  + PID_NS=y | 14.06 ± 0.08 |    2.0%    |
>>                  |              |            |
>> pavel + PID_NS=n | 13.80 ± 0.07 |    0.0%    |
>> pavel + FLAT     | 13.80 ± 0.07 |    0.0%    |
>> pavel + MULTI    | 14.28 ± 0.08 |    3.5%    |
>> -----------------+--------------+------------+
> 
> is that on the same hardware you used last time ? 
> 2 * Intel(R) Xeon(TM) CPU 3.00GHz with 2GB RAM.

Yup.

>> I do believe that Suka's hierarchical model is better than mine,
>> but my point is: let's support the flat model as well.
> 
> OK. First thing we can do is to find what they have in common and 
> get that included. Then, after the first round, we might even find 
> some more to reach the MULTI model :) 

The [PREP xxx] series of patches does exactly this. It has the proc
changes, all the necessary things to work with pid numbers, all the
preparations in kernel/pid.c, signal handling, etc. Do you mind using
this?

The [MULTI xxx] series is just a demonstration of how this model 
can be done above my patches. I saw that Suka's model was faster
(and I think I know why) so I'm fine with throwing out my multilevel
model (only).

> That said, I'm perfectly fine with the FLAT model, because I think
> it covers nearly all the real world scenarii i know about : system 
> containers, application containers. 
> 
> C.
> 

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: New pid namespaces patches testing [message #19026 is a reply to message #19025] Tue, 19 June 2007 13:39 Go to previous message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
[ ... ]

>>> I do believe that Suka's hierarchical model is better than mine,
>>> but my point is: let's support the flat model as well.
>>
>> OK. First thing we can do is to find what they have in common and 
>> get that included. Then, after the first round, we might even find 
>> some more to reach the MULTI model :) 
> 
> The [PREP xxx] series of patches does exactly this. It has the proc
> changes, all the necessary things to work with pid numbers, all the
> preparations in kernel/pid.c, signal handling, etc. Do you mind using
> this?

I'll take a look. 

Thanks,

C.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: Network namespace ported to 2.6.21-mm2
Next Topic: - merge-sys_clone-sys_unshare-nsproxy-and-namespace.patch removed from -mm tree
Goto Forum:
  


Current Time: Thu Dec 12 21:27:23 GMT 2024

Total time taken to generate the page: 0.02626 seconds