If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 9.1 AIX (Physical/Virtual/Page Ram)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-11, 12:07
sanchez786 sanchez786 is offline
Registered User
 
Join Date: Jul 2011
Posts: 24
DB2 9.1 AIX (Physical/Virtual/Page Ram)

I'm having issues understanding the difference/relationship with the above three.

Below are stats in regards to the commands I've run on our DEV LPAR:

LPAR1]lsattr -El mem0

goodsize 21504 Amount of usable physical memory in Mbytes False
size 21504 Total amount of physical memory in Mbytes False

LPAR1]vmstat -v

5505024 memory pages
5222144 lruable pages
43970 free pages
2 memory pools
1198905 pinned pages
80.0 maxpin percentage
10.0 minperm percentage
90.0 maxperm percentage
28.1 numperm percentage
1471852 file pages
0.0 compressed percentage
0 compressed pages
27.9 numclient percentage
90.0 maxclient percentage
1457157 client pages
0 remote pageouts scheduled
180368 pending disk I/Os blocked with no pbuf
171931 paging space I/Os blocked with no psbuf
1972 filesystem I/Os blocked with no fsbuf
166990 client filesystem I/Os blocked with no fsbuf
90201 external pager filesystem I/Os blocked with no fsbuf
0 Virtualized Partition Memory Page Faults
0.00 Time resolving virtualized partition memory page faults

LPAR1]TOPAS


PAGING MEMORY
en2 3.7 3.5 1.5 2.6 1.1 Faults 3994 Real,MB 21504
Steals 0 % Comp 73
Disk Busy% KBPS TPS KB-Read KB-Writ PgspIn 0 % Noncomp 25
hdisk3 1.0 476.0 45.0 2.0 474.0 PgspOut 0 % Client 24
hdisk0 0.0 104.0 24.0 2.0 102.0 PageIn 1
hdisk6 0.0 10.0 2.0 0.0 10.0 PageOut 126 PAGING SPACE
hdisk1 0.0 8.0 1.0 0.0 8.0 Sios 57 Size,MB 20800
hdisk4 0.0 4.0 1.0 0.0 4.0 % Used 21
hdisk5 0.0 2.0 0.0 0.0 2.0 NFS (calls/sec) % Free 79

LPAR1]lsps -a

Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging02 hdisk9 trunsunion 3200MB 35 yes yes lv
paging01 hdisk9 trunsunion 3200MB 35 yes yes lv
paging00 hdisk9 trunsunion 3200MB 35 yes yes lv
hd6 hdisk0 rootvg 11200MB 10 yes yes lv

LPAR1]svmon -G
size inuse free pin virtual
memory 5505024 5458476 46548 1199212 4826091
pg space 5324800 1136628

work pers clnt other
pin 991196 0 0 208016
in use 4023995 93736 1340745

PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 3500924 1050452 1078540 2793435
m 64 KB - 122347 5386 7542 127041

From this, I can confirm that 21GB's of physcial RAM have been allocated to our dev LPAR.

From what I understand, when the physcial RAM becomes full, older processes are removed from the RAM and placed in the pg space so that new processes can run in the RAM. Where does virtual RAM come in and what do my virtual #'s represent?

Also, how much has been allocated to my page swap space? Is it 12000MB as shown in the lsps -a or is it abstracted from the svmon -G command?

Thanks,

Last edited by sanchez786; 07-20-11 at 12:17.
Reply With Quote
  #2 (permalink)  
Old 07-20-11, 13:17
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
---Deleted duplicate post---

Last edited by n_i; 07-20-11 at 13:25.
Reply With Quote
  #3 (permalink)  
Old 07-20-11, 13:25
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Not sure why you have put "DB2" in the subject... All partition memory is virtual. VMM (virtual memory manager) will use real memory where possible and satisfy additional demand by paging stuff out.

lsps shows the total available paging space; svmon shows how much is currently used.

Google for "AIX information center" - you will find all details there.
Reply With Quote
  #4 (permalink)  
Old 07-20-11, 20:00
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by sanchez786 View Post
Also, how much has been allocated to my page swap space? Is it 12000MB as shown in the lsps -a or is it abstracted from the svmon -G command?

Based on lsps, svmon and topas output:

paging space (total) = 20800MB
paging space (used) = ~4439MB or ~21%
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On