Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: UML vs Xen
PostPosted: Sat Mar 07, 2009 3:03 am 
Offline
Junior Member

Joined: Thu Jul 19, 2007 5:30 am
Posts: 28
My Linode is on UML and is quite happy there, but I'm wondering if/when I should put in a ticket to switch to Xen. From what I've seen, the Xen hosts are a bit less stable, owing to the maturity of UML. Also, UML has the token bucket feature to keep one linode from squishing its neighbors. What reasons are there for switching over? Is Xen that much faster?

I'm currently following the rule of "if it ain't broke, don't fix it" but at the same time I don't want to be missing out. =)

Thanks!


Top
   
 Post subject:
PostPosted: Sat Mar 07, 2009 9:17 am 
Offline
Senior Member
User avatar

Joined: Thu Mar 06, 2008 12:21 am
Posts: 59
I've been on a early Xen host almost a year and in that time there's been one host crash that was from a bug that was known about. The host kernel was patched and rebooted and no problems since.

That process took about 20 minutes so I'm pretty close to five nines for the year.

The other problem is the 2.6.28* kernels seem to have issues with keeping time, so I have to run ntpd on my linode, which is of course pretty minor.


Top
   
 Post subject:
PostPosted: Sat Mar 07, 2009 9:29 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
It's possible that performance is better on the Xen hosts (and you get multiple virtual cpu's inside a Xen instance), but I've definitely had less reliability under Xen than under UML.

Linode staff have been their usual helpful selves but *shrug* I'd stick with UML if I was you unless you need some of the featues Xen provides (CPUs, pv-grub)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Sat Mar 07, 2009 9:40 am 
Offline
Senior Newbie

Joined: Wed Feb 25, 2009 8:59 am
Posts: 9
question: how to check which kind of host I am on? Sorry but I really have no idea...


Top
   
 Post subject:
PostPosted: Sat Mar 07, 2009 10:00 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
blacktulip wrote:
question: how to check which kind of host I am on? Sorry but I really have no idea...


% cat /proc/io_status

If that works then you're on UML

% grep processor /proc/cpuinfo

If that returns 4 CPUs then you're on Xen

I don't remember, but I think /proc/cpuinfo would also say "User Mode Linux" in the vendor field...

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Sat Mar 07, 2009 1:00 pm 
Offline
Senior Newbie

Joined: Wed Feb 25, 2009 8:59 am
Posts: 9
sweh wrote:
blacktulip wrote:
question: how to check which kind of host I am on? Sorry but I really have no idea...


% cat /proc/io_status

If that works then you're on UML

% grep processor /proc/cpuinfo

If that returns 4 CPUs then you're on Xen

I don't remember, but I think /proc/cpuinfo would also say "User Mode Linux" in the vendor field...


Thank you very much. It seems I am on xen then.


Top
   
 Post subject:
PostPosted: Sun Mar 08, 2009 3:10 pm 
Offline
Junior Member

Joined: Thu Jul 19, 2007 5:30 am
Posts: 28
sweh wrote:
*shrug* I'd stick with UML if I was you


Thanks to everyone for your replies! The quote above, including the shrug, was pretty much my thinking both before and after this thread. In the end it's probably not a huge deal either way, but there's no great reason for me to switch.

I'll probably necro this thread in another year or three and see if anything's changed. =)


Top
   
 Post subject:
PostPosted: Mon Mar 09, 2009 6:20 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
kirbysdl wrote:
I'll probably necro this thread in another year or three and see if anything's changed. =)


In another three years, Linode will probably have converted all of the UML users over to Xen. They already did that in the Atlanta data center.

Personally, I'm still on UML. I'm not sure what I think of Xen. I used to be pretty anti-Xen thanks to the growing pains Linode has had with it, but most/all of them have been worked out by now. Recently, I had been starting to get pro-Xen, but then I noticed all the problems with the pv-ops kernels, so now I'm neutral. A non-pv-ops kernel would work fine, of course, but it would also be older, and where's the fun in that?

Xen does have benefits (mainly SMP and custom kernels), so I am looking forward to it, but I'm not going to put in a ticket to switch. UML hasn't let me down yet, and it's good enough for my needs. But when the time comes, it will be nice to be able to take advantage of Xen.

(Actually, my biggest reason for not switching is that rebooting would ruin my uptime. 317 days!)

Edit: typo
Edit: Rewrote the "non-pv-ops" sentence


Top
   
 Post subject:
PostPosted: Mon Mar 09, 2009 11:25 am 
Offline
Junior Member

Joined: Thu Jul 19, 2007 5:30 am
Posts: 28
I just rebooted my home (not linode) server to get to debian 5. 550 days! =P

http://www.curby.net/stats2/uptime.html


Top
   
 Post subject:
PostPosted: Mon Mar 09, 2009 2:08 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
We have a policy at work to reboot machines every 90 days...
Code:
  6:05pm  up 500 day(s), 10:08,  2 users,  load average: 0.31, 0.11, 0.06


Oops!

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Tue Mar 10, 2009 12:20 pm 
Offline
Junior Member

Joined: Sun Nov 16, 2008 4:35 am
Posts: 38
sweh wrote:
We have a policy at work to reboot machines every 90 days...


That's a little disturbing on many levels...

The general policy in Operations organizations I've worked in or otherwise been involved with is to avoid turning servers off unless absolutely necessary. Hell, as long as their primary function was basically OK, we'd let them sit in half-dead states for months, even Windows boxes (thankfully I don't deal with those much anymore).

"Rebooting" is just another word for "taunting Murphy", particularly when it's Real Hardware and not a VM.


Top
   
 Post subject:
PostPosted: Tue Mar 10, 2009 2:16 pm 
Offline
Senior Member
User avatar

Joined: Mon Jul 21, 2008 1:26 pm
Posts: 171
Website: http://www.rejecttheherd.net
Location: Seattle
nknight wrote:
sweh wrote:
We have a policy at work to reboot machines every 90 days...


That's a little disturbing on many levels...

The general policy in Operations organizations I've worked in or otherwise been involved with is to avoid turning servers off unless absolutely necessary. Hell, as long as their primary function was basically OK, we'd let them sit in half-dead states for months, even Windows boxes (thankfully I don't deal with those much anymore).

"Rebooting" is just another word for "taunting Murphy", particularly when it's Real Hardware and not a VM.

I know in a lot of Microsoft environments this is actually SOP to schedule reboots, hell back in the day I remember technet had a "reboot" script posted for Win Admin's.

Anyway I worked at a company a few years back who had physically lost a HP9000. Didn't know where it was at other than still up and running on the network. When I left it's uptime was well over 3 years :wink:

_________________
Image
Where "Thought Crime" is commited
http://www.rejecttheherd.net


Top
   
 Post subject:
PostPosted: Tue Mar 10, 2009 3:50 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
nknight wrote:
The general policy in Operations organizations I've worked in or otherwise been involved with is to avoid turning servers off unless absolutely necessary.


A reboot does not mean turning it off.


Top
   
 Post subject:
PostPosted: Tue Mar 10, 2009 4:38 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
nknight wrote:
"Rebooting" is just another word for "taunting Murphy", particularly when it's Real Hardware and not a VM.


You don't have to power it down, but a nice reboot can make sure that it'll come back up in a usable state should it get powered down. Servers have a nasty tendency to accumulate broken init scripts...


Top
   
 Post subject:
PostPosted: Tue Mar 10, 2009 7:14 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
hoopycat wrote:
nknight wrote:
"Rebooting" is just another word for "taunting Murphy", particularly when it's Real Hardware and not a VM.


You don't have to power it down, but a nice reboot can make sure that it'll come back up in a usable state should it get powered down. Servers have a nasty tendency to accumulate broken init scripts...

Yeah, this is the main reason; business continuity and resilience. If we can be sure the server comes up cleanly when we reboot then there's a good chance it'll come back after an unplanned outage (which would be the worst time for a broken configuration or init script to cause problems).

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


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


Who is online

Users browsing this forum: No registered users and 6 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