Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
I was wondering just how many containers I could create on a beefy host and how many processes the Linux kernel would be happy running so I decided to do an experiment.
I have two OpenVZ hosts... one is the primary and the other is a backup. Both of them are HP Proliant DL380 Gen5 machines with dual, quad-core Xeon processors, 32GB of RAM, 32GB of swap, and a 600GB /vz partition. I decided to use the backup OpenVZ machine for the experiment.
I thought I'd start with a high target of 1,000 containers so I used vzsplit to generate a sample config (vzsplit -n 1000 -f split1000). Then I wrote a script to create 1,000 containers, one at a time. The script uses the centos-5-i386-default OS Template (124MB .tar.gz file, 427MB extracted), assigns an IP address and DNS, then starts up the container. Between each container creation it sleeps for 60 seconds... to give the container processes a little time to start. For the full results, read the article. I think you'll be surprised.
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help