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 June 3rd, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Memory overhead in an LPAR environment

This happens to me all the time. I have a client who orders a p550, for example, with 32GB of RAM. They define LPARS and define all 32GB of RAM within those LPARs.

When they start powering up LPARs, they don't have enough memory to start up all of the defined partitions. What happened?

They forget that LPARs, dynamic or otherwise, are virtual machines. It stands to reason that there is a physical machine hosting these virtual machines, the hypervisor, and that the physical machine has memory requirements too.

In the case of a single small partition, the first 256 MB of memory will be allocated to the hypervisor, 256 MB is allocated to translation control entries (TCEs) and to hypervisor per partition page tables, and 256 MB for the first page table for the first partition. TCE memory is used to translate the I/O addresses to system memory addresses. Additional small page tables for additional small partitions will fit in the page table block. Therefore, the memory allocated independently of AIX to create a single 256 MB partition is 768 MB (0.75 GB).

So, how do you account for memory overhead? Here is how to calculate the range:

Minimum memory consumed can be calculated by dividing the total RAM (in GB) by 16, round up to whole integer values ( ie. 4/16 = .25, rounded up to 1). Multiply that value by .25, that add .5 to obtain the final minimum memory overhead.

For a 16GB server, the result is: (16/16)*.25 +.5 = .75GB of overhead minimum.

To obtain the maximum overhead, divide the total RAM by 32, roundin up. Multiply that value by .25 and add the minimum overhead to it.

Lets use a 32GB server as an example to determine the range of memory overhead:

Minimum = (32/16)*.25 +.5 = 1GB RAM overhead
Maximum = (32/32)*.25 +1 = 1.25GB RAM overhead.

If you remember to account for hypervisor memory overhead before configuring your LPARs, you'll save yourself a lot of headache later.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
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 August 1st, 2006
DMWells's Avatar
DMWells Offline
AIX Adventurer
 
Join Date: July 2006
Location: Canberra, Australia
Posts: 12
Re: Memory overhead in an LPAR environment

Fred,

This exact situation happened to us when we purchased our first p690 a few years ago. The Technical Architects and Management ignored advice from IBM and their own Technicians (ie me), and built the machine to a budget rather than a specification, allowing only for the memory required by the clients.

Good old Hypervisor hey, the result was that one of the clients didn't have enough memory to run their applications, so after paying all that money for a new server they had to wait until our Department paid to upgrade the memory needed to run the frame itself plus that of the LPAR's.

Another point to remember is that the size of the Hypervisor is calculated and configured, at the time the LPAR is booted, based on the size of the maximum memory figure set in the profile, not the desired figure. So if you use the DLPAR capability of the server to share memory around, you may set the maximum value higher, but if you cross a memory boundry the Hypervisor will grab some more memory for itself, just in case you decide to add more memory to the LPAR later on.

It can be a trap if you don't know about it because you can spend all your time investigating the amount of memory your LPAR's have, rather than the maximum memory they may be given. So it's good to sit down and think about the maximum value and don't just set it to a big size because you might add more memory later.
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 0042-008 nimsh: request denied 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 3074feb7 aa00e1f3 aio aix aix aio aix freeware aix memory usage aix rsync aixif_arp_dup_addr b150f22a b181f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hmc root password hmc vmware ibm p6 ibm p6 520 libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseriestech rshd: 0826-813 permission is denied. rsync aix sc_disk_err4 scan_error_chrp vio server websm ... 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Issues 3geofftech pSeries - System p 0 June 24th, 2007 15:12
Using OEM memory in 510, 550Q jrigler AIX for POWER Systems 1 June 1st, 2007 17:03
lpar physical resource cdrom TheDogBoy Hardware Management Console 6 April 26th, 2007 13:15
Global memory ravikkh AIX for POWER Systems 0 January 4th, 2007 22:27
Memory Leak with Informix on AIX 5.3 TL-05 dthacker AIX for POWER Systems 0 December 13th, 2006 09:27



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, 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 49 50 51 52 53 54 55 56 57 58 59 60 61 62