LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-27-2007, 06:03 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Virtualization performance increase?


hi guys

i am doing sizing for a new infrastructure.. and I need to load balance a set of servers to gain performance.

But I'm thinking, would it help even more if I run xen and do virtualization on each box.

For example, if I originally wanted to load-balance 4 boxes.. and say I set virtualization up such that each box have 2 guest domains doing the webserver part.. essentially i have 8 logical boxes yeah?

Would that help in performance?
 
Old 11-27-2007, 07:28 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Virtualization won't provide performance increase but will utilize and downsize the amount of hardware you'll need to cut costs. Depending on what the server will be doing, usually virtualizing them is the way to go nowadays.
 
Old 11-27-2007, 08:20 AM   #3
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
I know virtualize won't increase performance per-say, since its just better utilizing boxes,
but if i load balance all of them.. it would be better in a way?

say i load balance 2 boxes with 2 instance of OS in each box, thats 4 logical boxes yah?
will that be better performance overall for the service i am trying to load balance?

but i am thinking.. the bottleneck will still be the same network port serving them yah? since everything goes through that...
 
Old 11-27-2007, 08:08 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Probably not.

No, definitely not.

Here's why: "virtualization does not multiply the CPU resource; it can only divide it."

Virtualization can allow that single piece of silicon inside that single machine to very-deftly wear either one of two hats, but it cannot cause one piece of silicon to magically acquire twice the "load-bearing capacity" that it used to have.

When to put to a genuine computational test (which rarely actually happens...) a virtual processor by-definition will have somewhat less than 50% of the capacity of a real one. For "load balancing" purposes, this is all that matters.
 
Old 11-28-2007, 12:27 AM   #5
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
yah but the idea of using virtualization is to harness unused cpu power isn't it?
cause there's only so much one instance of the OS can use at one time...

so i am thinking with virtualization, i can use the same piece of silicon in a more efficient manner, and with a load-balancer thrown in to the picture... won't it somewhat increase performance overall?

or am I being too naive?
 
Old 11-28-2007, 08:02 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If your going to load balance two identical servers that are virtualized, you'll only get performance increases say if they were on different hardware.

Say ServerA and ServerB are identical. You need to have 4 virtual servers on each, between those there are actually only 4 servers as you want to load balance them. Put the first 4 on ServerA and the other 4 on ServerB. Depending on how you load balance, that would be the only way to get any performance out of them unless one of them is just for failover, etc.

But virtualising servers is the way to go if they aren't too intensive and just need to be standalone. On average from what I've read, an average server will only uses 15% utilization overall, hence the reasoning for virtualising, it's a good way to not have a server waste resources that could go to other things, like other servers and OS's on the same box, etc.
 
Old 12-06-2007, 09:11 PM   #7
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
yah i am thinking along that line but just that say

ServerA and ServerB, each have 2 virtual servers.
So that makes a total of 4 logical servers over 2 physical boxes yah

There are 2 services of intent here.. so say its Service1 and Service2
So therefore.. ServerA.1 (refering to 1st virtual instance of ServerA) has service1, ServerA.2 has Service2
ServerB.1 has Service1, ServerB.2 has Service2

and i do load balancing this way.

Will I be getting a better value for my buck this way?

And say for the 4 virtual instances.. they are used for Service1 only, and i load-balance them..
will I be getting better performance since technically, I am squeezing more potential out of per-box
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux KVM Virtualization Performance LXer Syndicated Linux News 0 01-07-2007 10:54 PM
Increase performance amnesty_puppy Debian 18 11-24-2004 02:44 PM
Increase Performance berkay Fedora 10 08-23-2004 04:24 PM
CGI Performance Increase?? bretthoward Programming 9 01-25-2003 07:33 PM
Why does performance increase when I mount? Vlad_M Linux - Hardware 4 10-11-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration