06-20-2012
you need at least 512mb of memory for an AIX 6.1/7.1 lpar, 128mb (from release note, would rather give at least 256mb, don't know if 128mb is even possible for an lpar) for an AIX 5.3 lpar. but I guess this lpar has a purpose other than running an empty AIX, so you may need more
the reserved memory comes from the maximum memory defined in your partition profiles. So if you lower other lpars maximum memory, you can free up reserved memory.
but at a high cost of flexibility, remember: you cant increase the maximum memory online, so every increase requires a lpar to reboot
Last edited by funksen; 06-20-2012 at 03:57 AM..
This User Gave Thanks to funksen For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anyone know how to assign rpc ports to NFS or NIS processes on Solaris please ?
Thanks,
Michael Chnader (0 Replies)
Discussion started by: mchnaider
0 Replies
2. UNIX for Advanced & Expert Users
Following is the result of commands vmstat and free, on a linux machine:
$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 40 207344 135724 3234048 0 0 ... (1 Reply)
Discussion started by: fredao
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All
I have a clarification. I am running a database on CentOS 4.5 final, PostgreSQL version 8.1.9. The question is about memory usage on the system. The memory used statistic has risen consistently over the past few days... by about 2-3% a day. I want to know why this memory is growing.... (1 Reply)
Discussion started by: skotapal
1 Replies
4. Shell Programming and Scripting
Hi All,
below is my data file
file.txt
0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26
(no records)
0 ServerB LAN1 AAA IT02 04/30/2008 09:16:26
0 ServerA LAN1 AAA IT01 04/30/2008 11:11:26
0 ServerB LAN1 AAA IT02 ... (6 Replies)
Discussion started by: karthikn7974
6 Replies
5. Shell Programming and Scripting
Hi,
im experiencing a really strange thing:
_____________________________
#!/bin/bash
chkcount=0
chkcountmax=3
while ((chkcount < chkcountmax))
do
echo "chkcount=$chkount"
echo "chkcountmax=$chkountmax"
((chkcount++))
done... (1 Reply)
Discussion started by: tho99
1 Replies
6. High Performance Computing
Newbie question about clusters and memory.
Is there a way using a cluster (or any other Linux feature/technology) where I can link up a bunch of PCs such that an app thinks it has more memory than available on just one local machine?
For example, we have multiple surplus PCs with 512MB RAM... (8 Replies)
Discussion started by: joespr
8 Replies
7. Hardware
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies
8. Solaris
# mt stat
HP DDS-4 DAT (Sun) tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
mt -f /dev/rmt/0mn erase
/dev/rmt/0mn: write protected or reserved.
Getting error while ufsdump ....
--- Dumping / to /dev/rmt/0mn ---
DUMP: Date... (5 Replies)
Discussion started by: vickyingle5
5 Replies
9. Programming
Forgive me if this sounds like a newbie question. Any time you obtain a stack address from a pointer, what is this relative to by default? Is it the extra segment, the stack segment, what? How do you change change the relative positioning in memory? Thanks in advance (1 Reply)
Discussion started by: stevenswj
1 Replies
10. Solaris
On my Solaris 10 server we are having memory issue. I did top and I see this.
last pid: 8876; load avg: 0.19, 0.16, 0.16; up 50+05:24:02 14:56:53
80 processes: 77 sleeping, 1 stopped, 2 on cpu
CPU states: 93.5% idle, 3.1% user, 3.4%... (4 Replies)
Discussion started by: samnyc
4 Replies
LEARN ABOUT LINUX
malloc_trim
MALLOC_TRIM(3) Linux Programmer's Manual MALLOC_TRIM(3)
NAME
malloc_trim - release free memory from the top of the heap
SYNOPSIS
#include <malloc.h>
int malloc_trim(size_t pad);
DESCRIPTION
The malloc_trim() function attempts to release free memory at the top of the heap (by calling sbrk(2) with a suitable argument).
The pad argument specifies the amount of free space to leave untrimmed at the top of the heap. If this argument is 0, only the minimum
amount of memory is maintained at the top of the heap (i.e., one page or less). A nonzero argument can be used to maintain some trailing
space at the top of the heap in order to allow future allocations to be made without having to extend the heap with sbrk(2).
RETURN VALUE
The malloc_trim() function returns 1 if memory was actually released back to the system, or 0 if it was not possible to release any memory.
ERRORS
No errors are defined.
CONFORMING TO
This function is a GNU extension.
NOTES
This function is automatically called by free(3) in certain circumstances; see the discussion of M_TOP_PAD and M_TRIM_THRESHOLD in mal-
lopt(3).
This function cannot release free memory located at places other than the top of the heap.
This function releases only memory in the main arena.
SEE ALSO
sbrk(2), malloc(3), mallopt(3)
Linux 2014-05-28 MALLOC_TRIM(3)