Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 20, 2008 11:37 pm 
Offline
Junior Member

Joined: Sat Jan 05, 2008 2:40 am
Posts: 43
I was originally with another vps provider that uses OpenVZ for their hosting. I was running a combo web and mail server with Apache/MySQL/Postfix/ClamAV/Spamassassin. It worked well, but I was constantly fighting with memory limitations. I had a (strict) 512 allocation, and despite trimming down the configs I was constantly skirting the limit. I had a few occurances where memory allocation did in fact fail, and killed a daemon in the process.

When Linode recently bumped up their memory offerings (and therefore prices for a comparable system went down), I decided to jump to the beta Xen hosting, knowing Xen allows swap space to be allocated (which OpenVZ does not). I figured that, even if my system was going to flirt with running out of space, at least swap would save my daemons and permit things to keep running. I was not disappointed.

Much to my surprise, despite being an almost identical system, the free memory reported on the Xen Linode system is completely incomparable with the old OpenVZ version. I've actually added several daemons (fail2ban, dkim-milter, policyd-weight, and even bind9) and upped some of my configuration allotments, and my system has still never even touched the swap space. In fact, according to 'free' the system is only using ~250m with the remainder going to buffers and cache.

I don't know what it is about Xen vs OpenVZ that makes the memory consumption so dissimilar, but based on this direct comparison I would recommend everyone in the vps market to test a Xen node for their systems. It's just astonishing how much more you can pile on the Xen memory model and keep things running smoothly and safely. And as far as I can tell, Linode has easilys one of the strongest and most cost-efficient offerings in this field, with excellent support and a superb control panel to boot. I'm currently loving my Xen Linode, and I don't plan on having to move elsewhere any time soon.


Top
   
 Post subject:
PostPosted: Mon Jan 21, 2008 7:21 pm 
Offline
Junior Member

Joined: Tue Jan 01, 2008 4:28 am
Posts: 32
Unfortunately many OpenVZ providers are still saying "Oh, OpenVZ has lower overhead that will make your system run so much faster!" as their argument for a monolithic-kernel virtualization (VZ) against Xen/UML/etc which each virtual server runs its own kernel.

With today's multi-core multi-gigahertz CPUs I don't think the overhead is that significant. And as you have said, the memory management/accounting model on OpenVZ just feels so broken. I won't put a production site/software on a VZ box without a HUGE leeway on their "burstable memory" as you never know when one of your app is going get NULL in malloc() although there "appears" to be plenty of memory around...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group