Perfect! Thanks, Andreas.
Original Message:
Sent: Wed September 11, 2024 09:50 AM
From: Andreas Legner
Subject: "Pool Summary" versus "Blkpool Summary" in "onstat -g mem" output
Hi Doug,
regular memory pools are a dynamically growing/shrinking collection of (4kB) random memory blocks, assigned to e.g. a session or a specific activity (of a session), with a somewhat complex internal structure allowing for 'used' and 'free' fragments book keeping.
Block pools, in contrast, consist of larger contiguous blocks of memory for certain purposes requiring large and e.g. page size aligned memory, e.g. a larger sort or also stacks, and without much internal structure - so just a large chunk of memory to use and to later discard as a whole once done with the task.
Hope this helps,
Andreas
------------------------------
Andreas Legner
Dev Engineer
HCL Software
Original Message:
Sent: Wed September 11, 2024 07:03 AM
From: Doug Lawry
Subject: "Pool Summary" versus "Blkpool Summary" in "onstat -g mem" output
Could someone explain the distinction between these two sections? It's become relevant to a support case, and I can't get a useful answer from the documentation or first line support.
For example, on an example idle system, there are just two entries in Blkpool Summary. Showing that and entries with the same name in Pool Summary returns:
$ onstat -g mem | egrep 'Summary|^name |^mt |^global '
Pool Summary:
name class addr totalsize freesize #allocfrag #freefrag
mt V 4903f040 20307968 71056 30620 1008
global V 4901d040 11796480 1267936 3562 295
Blkpool Summary:
name class addr size #blks
mt V 49041900 6307840 84
global V 4903c658 4096 1
------------------------------
Doug Lawry
Oninit Consulting
------------------------------