Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old May 14th, 2008
shannong's Avatar
shannong Offline
Junior Member
 
Join Date: November 2006
Location: Colorado
Posts: 9
Virtual CPU vs Fixed CPU

Does anyone have a good resource that compares Virtual CPUs to Fixed CPUs? I'm looking for performance differences and/or benchmarks?
Basically, I have a CPU intense application that I need to determine if I should put on Fixed CPUs or risk putting them on Virtual.
Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old May 15th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: Virtual CPU vs Fixed CPU

The in-depth stuff is all in the Redbooks. It depends in large as to whether this CPU intensive application is in the only LPAR on a server or whether there are multiple LPARS on the same server.

A virtual CPU can only ever use upto one physical CPU so you cannot - even if you wanted to - define more Virtual CPUs than there are Physical Ones for an LPAR on a server.

The second thing to understand is how processor folding works related to desired CPU levels.

Can you articulate why you think using Virtual CPUs is a risk? I would always recommend them when ever possible (ie not running AIX 5.2).
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 20th, 2008
shannong's Avatar
shannong Offline
Junior Member
 
Join Date: November 2006
Location: Colorado
Posts: 9
Re: Virtual CPU vs Fixed CPU

The nature of the applicaiton is a 40TB datawarehouse. We were concerned that virutal CPUs will not have the capacity to handle the load. This application needs to handle 1TB of data load per hour. Do to the nature and importance of this applicaiton we decided to put them on fixed CPUs. Thanks for your input.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 20th, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Virtual CPU vs Fixed CPU

Are you sure a CPU bottleneck will be your biggest problem? On what hardware are you going to run? Stand-alone or with other LPAR's? Available memory? Did you want to virtualize the CPU via an HMC (shared) or VIOS configuration?

I don't think there's a risk in using virtual CPU's, as in some cases you could actually benefit, i.e. from uncapped configurations etc. Have you checked if your application/database supports/favors SMT configurations?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 21st, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: Virtual CPU vs Fixed CPU

Hi

Hmmm. DatawareHouse behavior will need CPU power to run selects that does not use indexes to access data so along with best practices in configuring I/O devices you need your processors with all their power so i would configure dedicated CPUs for that LPAR.

Hope this helps
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old May 21st, 2008
shannong's Avatar
shannong Offline
Junior Member
 
Join Date: November 2006
Location: Colorado
Posts: 9
Re: Virtual CPU vs Fixed CPU

Thank you all for your input! I would have loved to use Virtual CPUs for this app especially since most of the heaviest processing is done in 4Q but I was not willing to bet my job on it. Which BTW, was my two options ;-)..."Give them fixed CPUs to make sure they have the resources they need, or give them virtual and if they don't meet their performance SLAs, turn in your badge"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old May 22nd, 2008
john.samons's Avatar
john.samons Offline
Meditating on the code...
 
Join Date: September 2007
Location: Johannesburg, South Africa
Posts: 95
Re: Virtual CPU vs Fixed CPU

Well depending on your configuration Virtual CPU's can still work, however if you have Dedicated CPU's, go for it!

I normally set it to a shared CPU configuration, and set it up to use the CPU's as you would have in a dedicated configuration. So if you find you need to increase or decrease your CPU resources you can do it easily. If this partition starts early, i.e. first started partition, and your entitlement is 4.0 (out of 8.0), you will use an entitlement of 4 from 4 CPU's - so they should operate almost as dedicated. There is probably a very very small overhead, but not significant to really be worried about.

Dedicated resources, stand alone should always outperform virtualized & shared resources ~ or so they make us believe.......
__________________
John Samons
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old May 22nd, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: Virtual CPU vs Fixed CPU

OK to get the best performance in the config you are suggesting I would suggest the following:

Minimum and Desired CPU levels set to the number of CPUs you would normally allocated. Set the Maximum number of CPUs to the number of CPUs in the box. That way yoiu are guaranteed to have the relevant amount of CPU available.

The Virtual CPUs again set the Minimum to the number of CPUs you currently have and set the Desired and Maximum to the amount of CPU in the box.

Set this LPAR to be uncapped with a priority of 255 and the other LPARS on the box to 64 (or something lower).

This way your application is absoutely guaranteed to have your fixed level of CPU and it will also grab any other free CPU around in the box.

Of course I for one wouldb't blame you if you took job security of cool technology - which would probably actually make the application go faster......

Alternatively ask IBM or a Business Partner to come in and give you some advice that sometimes swings management over to your side.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old May 23rd, 2008
Mark Taylor's Avatar
Mark Taylor Offline
Member
 
Join Date: August 2007
Posts: 40
Re: Virtual CPU vs Fixed CPU

i am not sure your terminology is correct .. do you mean Dedicated or Shared ? or Dedicated and Virtual ?

I think the rule of thumb for Dedicated, is that if your lpar is going to be using a high amount of cpu all the time, then you should use dedicated, and if you lpar is going to require cpu in peaks then shared would be the way to go allowing the free cycles to be used by other lpars .. shared requires cycles to dispatch to the correct virtual processor, so you would be wasting cycles if your cpu was going to be busy all the time.

Now, as for "how many virtual procs do I define" .. that totally depends on your application .. applications that make use of a multithreading "**MAY**" perform better with a higher number of virtual procs .. and something like a single threaded java proc is going to benefit from having access to the whole cpu, so a lower number of virtual procs.

its a suck it and see .. all applications are different and even thet way your company uses the application will be different from another implimentation.

Get a set of test cases that reflect your day to day business and benchmark them whilst changing the number of virtual procs ..

Rgds
Mark Taylor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old May 26th, 2008
steevojb's Avatar
steevojb Offline
Senior Member
 
Join Date: June 2006
Location: manchester, england
Posts: 185
Re: Virtual CPU vs Fixed CPU

Hi,

I agree with Mark regarding your terminology and the 'suck it and see' approach. In addition, Ross point is a good suggestion regarding the weight value to ensure the data warehouse gets priority

Steve
__________________
Take your time and think things through !!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48