SuperPages utilization survey

Mark Felder feld at feld.me
Fri Jun 1 21:25:58 UTC 2012


[/usr/home/feld]# python spsurvey.py
last pid: 54743;  load averages:  0.28,  0.26,  0.24  up 18+07:41:02     
16:22:45
145 processes: 1 running, 144 sleeping
Mem: 828M Active, 845M Inact, 8517M Wired, 174M Cache, 725M Buf, 265M Free
Swap: 4096M Total, 88M Used, 4008M Free, 2% Inuse

Total accounted memory mappings: 23968 MB (6136043 pages)
Memory in superpages: 12941 MB (14 mappings)
+       pid: 26349 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26351 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26352 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26353 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26374 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26382 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26387 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26388 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 26398 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 44306 (odasrv) start: 801800000 stop: 806000000 (72 MB) tp:  
df path:
+       pid: 44318 (odasrv) start: 801800000 stop: 805c00000 (68 MB) tp:  
df path:
+       pid: 53549 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 53932 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
+       pid: 54515 (postgres) start: 802800000 stop: 8452c6000 (1066 MB)  
tp: ph path:
Eligible mappings not promoted: 413


Yup, seems like Postgres does a good job of using superpages


More information about the freebsd-hackers mailing list