Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat May 09, 2009 1:56 pm 
Offline
Senior Newbie

Joined: Wed Feb 04, 2009 6:02 am
Posts: 8
Hi all! I'm a linode customer but I had to buy from another company for a client this week. Nothing spectacular (they've got nothing on you guys) but there's one odd thing.

If I run htop from my NJ Linode, I see 4 CPUs. Magic. If I run htop on my new UK Tagadab VPS, I see one. I used to have another VPS with another random company and I saw 8 CPUs.

I might be looking at this like a typical middle-manager ("bigger number is better, right?") but surely having access to more than one processor at a time is going to help apps that multi-thread (database mainly), no?

So I sent them an email telling them all this and their chap sent this back today:

Quote:
Hi Oli,

> Hi there. I just bought a VPS package and I notice that I only have
> access to one CPU thread.
>
> I've dealt with several other XEN hosting services and have always had
> access to at least 4 cores, sometimes 8.

This means that they are probly not ring-fencing the CPU resources very
carfully.

The VPS host has 8 cores in total, and 16G of RAM. Your 512M VPS should
therefore have 1/32nd of the total CPU resources if all VMs on the host
are running high-cpu tasks. In fact you get 1/32nd ring-fenced for your
VM but you can use up to 1/8th (one full core) if other VMs are not
using it. (The actual average CPS usage on our hosts is normally less
than 5%).

This is important because since our VMs allow full root access we
frequently see 'spinning' processes - software written by or installed
by customers which hits an infinite loop and just munches CPU forever.
If we allowed burst CPU across all 8 cores you might find your VM
fighting for CPU resources more often than it currently does.

If you need more CPU resources than a single core can offer then I
suggest moving to a dedicated server where of course you can have as
many cores as you need.


Now I don't know the guts of how XEN splits resources down. No idea at all. That's why I'm a customer... But if I'm theoretically getting unsecure access here or shoddy performance there, I'd like to know.

If a Linoder knows their setup is secure and you think that a 1-core limit would harm my performance, could you give me something I could reply with?


Top
   
 Post subject:
PostPosted: Sat May 09, 2009 2:16 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Exposing more cores to each VPS is a two-way street - you can burst more CPU on yours, but so can your neighbors. I think in most cases though I'd rather have more cores per VPS.

Using their numbers, 32 VPS's sharing 8 cores:
They apparently give each VPS one CPU shared four ways.
If you had 4 cores exposed per VPS, they would each would get four cores shared sixteen ways.

Either way you get the same guaranteed CPU share, but with more cores you can theoretically burst to a higher overall share. If you assume that the other VPS's are normally idle, then more CPU's is better for you.

EDIT:
I would however agree with the last statement they made:
Quote:
If you need more CPU resources than a single core can offer then I
suggest moving to a dedicated server
Busting is nice, but if you are depending on it then you will get burned sooner or later.


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


Who is online

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