Advanced

Considering FreeBSD Jails

Posted by Scott_Ruecker on · 4 comments
OStatic; By Jon Buys
Mail this story
Print this story

FreeBSD has a long and strange history, tracing its roots back to the original Unix from Bell Labs. FreeBSD can almost be seen as the older brother to the younger, more popular Linux. While they are similar, FreeBSD’s long history has given it a very different philosophy and purpose. You can, and many people do, run FreeBSD as a desktop OS, but that’s not where the systems real talent lies. While Linux has tried, and in many cases succeeded, to be everywhere that a kernel can run, FreeBSD has decided that it belongs in the datacenter, a belief that is personified in the FreeBSD slogan, “The Power to Serve”. FreeBSD’s Jails are a great example of where the philosophy of Linux and FreeBSD diverges and produces systems that are functionally similar but logically very different.

Full Story

  Nav
» Read more about: Groups: Kernel, Linux; Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (4)

The listed benefits of jails also apply to linux containers (and solaris "zones"). We're going for linux containers in a big way here at $BIG_CORP with the commercial virtuozzo product, and at consulting gigs on the side we're using openvz, the open source but fully capable counterpart of virtuozzo.

Unlike a traditional VM (vmware, xen, kvm, virtualbox), there is no emulation of hardware, nor a kernel for each virtual machine, only isolation of processes into groups which comprise lightweight virtual machines, thus overhead is virtually zero, and essentially native performance can be achieved from each container (the laws of physics still apply though)

Having a single kernel image which powers the base host as well as all of the containers means that you only have to upgrade one kernel (and with ksplice that can be done while all machines are running and in service). The only potential drawback is that only one OS can be run.

Although you can run various distros in the containers (debian, fedora, redhat, sles, opensuse, centos) on a host os running rhel, centos, sles, etc, it has to run on a linux kernel, so microsoft windows could not run on such a host. For some people that could be viewed as a problem, but I consider it a major benefit.

Herzeleid: The one below sounded as an interesting research project. I once met its developer. Not for use at big companies, but I'd say a must read if you're interested in the topic. Not sure of its status, but anyway;

http://erlug.linux.it/linuxday/2008/contrib/8_linuxday2008.v...

ed: Found out it's not developed anymore since 2007, so apart from some cool ideas there's not much for the enterprise to find over there.
I took a look at the paper and it is interesting - I'll circle back for a closer look later.
I never really understood jails in FreeBSD. I need something easier/more intuitive.

Post a comment

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

Sign up and post (it is free)  or  Log in and post