reduce available ram


 
Thread Tools Search this Thread
Operating Systems AIX reduce available ram
# 1  
Old 01-19-2007
reduce available ram

hello, we have a aix 5.2 server with 8GB of ram. is it possible, without actually removing the hardware, to have the O/S think it has only 4GB of ram? We would like to see how the handles and responds if it only had 4Gb instead of the 8GB. Any ideas or suggestions? Thanks

Looks like i found where this can be accomplished via smit by changing the 'amount of usable physical memory'. Does anyone have experience reducing this setting? Does it require reboot, etc? Thanks again

Last edited by zuessh; 01-19-2007 at 03:00 PM..
# 2  
Old 01-19-2007
I think it is intended for two purposes, one: as you mention, two: if the system detects a failure and deconfigures some memory - it allows you to check how much is remaining / available.
I'd not try to deconfigure it on the fly, I'd deconfigure in single user and reboot, then check it is still deconfigured. I don't think AIX has any way to recover from memory being stripped away from it if it were in use at the time it was deconfigured.
I can't find any thing on the IBM web site about it though.
# 3  
Old 01-20-2007
sure it can (dlpar), but I'm not sure if aix 5.2 can

never testet it this way, but if you want I can test it on monday with smitty
wondering which command smit uses

I can just test it on aix 5.3, don't have any AIX 5.2 playgrounds left

Last edited by funksen; 01-20-2007 at 06:36 AM..
# 4  
Old 01-20-2007
One needs two things to do it dynamically: AIX 5.3 and a LPAR.

Taking away or adding memory (without getting physical, that is ;-) ) is only possible in a LPAR machine, to do it without having to reboot is only possible with 5.3 onwards. Machines with older versions of the OS will have to be rebooted.

What you *can* do, though, is to create a RAMdisk with the "mkramdisk" command. This way you can take away arbitrary amounts of memory which the system doesn't have (effectively) available any more.

bakunin
# 5  
Old 01-20-2007
who mentioned lpar/dlpar! we are talking limiting memory from the smit sceens, chdev -l sys0 etc, etc.
remember systems without HMCs? even pre power4! they are still worth/ have the floor space....
# 6  
Old 01-21-2007
Quote:
Originally Posted by dukessd
I don't think AIX has any way to recover from memory being stripped away from it if it were in use at the time it was deconfigured.
thats simply not true and thats why I started with dlpar
# 7  
Old 01-21-2007
The question has been answered and the rules are being broken.

Thread closed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help to reduce time of archiving

hi all, i have written the following script that does this work: 1. copy large logs files from one server to another. 2. then unzip this files and extraxt from these large https logs only those fields that are neccesary. 3. then archive the extracted logs to new files. BUT the problem is... (7 Replies)
Discussion started by: arrals_vl
7 Replies

2. UNIX for Dummies Questions & Answers

Reduce the count on the 98 record by 2,

recod,amount,noofaccount,count 98,+00000187865779787,00319,000000640/ 99,+00000187865779787,00001,000000642/ thsi is my input file my question is 1) Reduce the count on the 98 record by 2 (6 Replies)
Discussion started by: sgoud
6 Replies

3. Shell Programming and Scripting

How to reduce code.....

Hi All, Could some one help me to reduce the code... if then ./plist -m "$queuename" |grep $2|awk '{print $3}' >unlock.log elif then ./plist -m "$queuename" |grep $2|awk '{print $4}' >unlock.log else ./plist -m "$queuename" |grep $2|awk '{print $5}' >unlock.log . . . . ... (1 Reply)
Discussion started by: harshakusam
1 Replies

4. Shell Programming and Scripting

how to reduce a length in a file?

i want to reduce a length in the file called text in the file im having 10 byte length. want to reduce it to 9 byte length for all lines. (5 Replies)
Discussion started by: laknar
5 Replies

5. Red Hat

red hat Linux 5.0 is detecting 3gb ram but physical ram is 16gb

Hi, On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

6. Shell Programming and Scripting

Reduce

printf "\nClosing stats:\n" >> data.txt echo >> data.txt sed 's/^ \t*//;/^#/d;/^$/d' $stats | while read line do close=$(grep -w "^$line" $datafile | sed -e 's/\(.*\),\(.*\),\(.*\)/\2/') if ; then printf "%5d. %-s was not found in file\n"... (3 Replies)
Discussion started by: jafa401
3 Replies

7. Shell Programming and Scripting

reduce a string

hi i have a string "hostname=lpdma520_dev_ipc_us_aexp_com" now i need only "newHostname=lpdma520" how to do this one please help soon (2 Replies)
Discussion started by: satish@123
2 Replies

8. Shell Programming and Scripting

To reduce execution time

Hi All, The below script I run daily and it consumes 2 hours approx. In this I am calling another script and executing the same twice. Is the loop below the cause for the slow process?Is it possible to finetune the program so that it runs in a much faster way? The first script: #!/bin/ksh... (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

9. UNIX for Dummies Questions & Answers

Can I reduce sysdump?

Hi, I have a server which is running out of space on the rootvg. When trying to find some spare space I discovered there are 2 sysdump logical volumes, each of 5GB, yet if I get an estimate of the dump size it's only 0.5 GB. $ lsvg -l rootvg|grep sysdump hd71 sysdump 20 ... (1 Reply)
Discussion started by: m223464
1 Replies

10. Shell Programming and Scripting

reduce the or conditions

Hi , how can i reduce the or conditions: if ]; then whatever fi (8 Replies)
Discussion started by: hitmansilentass
8 Replies
Login or Register to Ask a Question