Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 12:29:18 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-jail@FreeBSD.org
Subject:   Practical limit to number of jails on a given host?
Message-ID:  <4F30381E.2020100@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Howdy,

Thinking about implementing a poor-man's virtualization solution with
lots'o'jails, and wondering what people think about the practical limits
of such a system. I realize that part of the answer is going to depend
on CPU and RAM, so let's assume for the sake of argument that the answer
to that bit is, "Lots of both."

So first question is, is there some sort of hard-coded limit somewhere?
If not, what is the largest number of jails that you've created
successfully/reliably on a system, and what are the specs for that system?

On a related note, what are the limits in terms of mount points on the
system and/or jails? I'm thinking of a fairly typical "nullfs mount the
system, devfs, and 2 or 3 NFS mount points" per jail type of situation.

And finally, has anyone run into trouble with a large number of IP
addresses for the jails? ISTR that way back when, the IP addresses
associated with a particular interface were stored in a linked list, so
as you added more you would start seeing O(N) slowdown on a lot of
network stuff in the kernel.

Any thoughts or advice along these lines will be greatly appreciated. :)


Doug

-- 

	It's always a long day; 86400 doesn't fit into a short.

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F30381E.2020100>