[Devel] [Lxc-devel] Q: Do systems using containers user more process ids?

Kirill Korotaev dev at sw.ru
Mon Aug 14 02:13:25 PDT 2006

We have not seen any degradation here in real cases,
but probably you are right and pid hash can be allocated taking into account
physical memory as it is done for TCP/ip/other hashes?

But not sure, it is worth bothering right now... Maybe it worth first to make some
simple test, say:

1. run 50,000 tasks.
2. run some benchmark

and compare benchmark results with different hash sizes?
What do you think?


> When looking at the linux pid hash table it is clearly tuned
> to a small number of processes < 4096.   If there are more then
> that it starts to degrade with a worst case of 1024 entries
> on each hash chain when pid_max is pushed up to 4*1024*1024.
> If more process ids are common then it may be the case that
> we need to fix that data structure so it scales more gracefully.
> Eric
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://openvz.org/mailman/listinfo/devel

More information about the Devel mailing list