Trying to learn how to track what memory is being used by what processes, and I'm a bit puzzled by vmstat's avm column.
On some machines it's HUGE - many times the size of the RAM, and on others it seems to be closer to reflecting "reality" and the numbers from top.
The only pattern I've tentatively found is that some of the machines (those reporting bigger numbers) are set up as UEFI, and the other machines with smaller numbers are BIOS/legacy.
Dell R430, BIOS, 32G RAM:
Dell R430, UEFI, 32G RAM:
The second machine is (a lot) busier, but I'm not looking at those numbers.
Why does that second machine think it's got 530G of virtual memory, when an almost identical machine is reporting 5.1G?
I don't think it's down to the machine being busier.
I've got a quiet Dell T330 with 48G of RAM - UEFI - it reports avm of 515G, and an Intel NUC - 8Gb RAM - UEFI - reporting 514G.
Every BIOS machine I look at - has a lower avm.
Just wondering the why question?
On some machines it's HUGE - many times the size of the RAM, and on others it seems to be closer to reflecting "reality" and the numbers from top.
The only pattern I've tentatively found is that some of the machines (those reporting bigger numbers) are set up as UEFI, and the other machines with smaller numbers are BIOS/legacy.
Dell R430, BIOS, 32G RAM:
Code:
% vmstat -w 5
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr da0 da1 in sy cs us sy id
0 0 0 5.1G 26G 12 0 0 0 19 9 0 0 18 234 182 0 0 100
0 0 0 5.1G 26G 0 0 0 0 0 14 0 0 12 48 138 0 0 100
Dell R430, UEFI, 32G RAM:
Code:
% vmstat -w 5
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr da0 pa0 in sy cs us sy id
0 0 0 530G 1.4G 432 16 0 0 770 2089 0 0 171 23525 1867 1 0 99
0 0 0 530G 1.4G 1059 0 0 0 548 1303 1 0 79 15578 1365 0 0 100
The second machine is (a lot) busier, but I'm not looking at those numbers.
Why does that second machine think it's got 530G of virtual memory, when an almost identical machine is reporting 5.1G?
I don't think it's down to the machine being busier.
I've got a quiet Dell T330 with 48G of RAM - UEFI - it reports avm of 515G, and an Intel NUC - 8Gb RAM - UEFI - reporting 514G.
Every BIOS machine I look at - has a lower avm.
Just wondering the why question?