[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
RE: vmware systemvm 4.11.2 template
More digging into paging....
In a sufficiently large VR, the buff/cache maxes out around 440MB
In a 256MB VR, setting
vm.min_free_kbytes=10240
sysctl -w vm.min_free_kbytes=10240
seems to sufficiently protect the VR from swapping.
I'll add to my build and test some scenarios
Kind regards,
Paul Angus
paul.angus@xxxxxxxxxxxxx
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue
-----Original Message-----
From: Zehnder, Samuel <zehnder@xxxxxxxxxxx>
Sent: 26 November 2018 22:49
To: dev@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: vmware systemvm 4.11.2 template
Paul,
Hmm.. I did a quick check. Added manual guestos "Debian 9 (64-bit)" and registered your template with this OS Type. VR gets correctly deployed as debian9_64Guest.
free -m at first login:
root@r-373-VM:~# free -m
total used free shared buff/cache available
Mem: 222 108 15 10 98 95
Swap: 241 0 241
One minute (!!) later while running "while true; do ssh -p3922 -i ..." on mgmt-server:
root@r-373-VM:~# free -m
total used free shared buff/cache available
Mem: 222 192 3 8 26 13
What was your fix about? It seems to make things worse. Can you do it the other way around? :-)
After setting OS-Type to "Other Linux (64-bit)" and restart network:
root@r-374-VM:~# free -m
total used free shared buff/cache available
Mem: 240 55 70 19 113 157
Swap: 241 0 241
After 5mins of ssh-loop:
root@r-374-VM:~# free -m
total used free shared buff/cache available
Mem: 240 59 51 26 128 145
Swap: 241 0 241
Really strange... what could be the impact of the OS Type setting for the guest-OS?
Regards,
Samuel
From: Paul Angus <paul.angus@xxxxxxxxxxxxx>
Sent: Sonntag, 25. November 2018 20:39
To: dev@xxxxxxxxxxxxxxxxxxxxx; Rene Moser <mail@xxxxxxxxxxxxx>; Zehnder, Samuel <zehnder@xxxxxxxxxxx>
Subject: vmware systemvm 4.11.2 template
Guys,
I've been working on the memory usage in the vmware systemvm template. I think that I've got a fix. Could anyone who has had issues please test this alternative template. If it seems to be good, I'll submit the pull request.
http://packages.shapeblue.com/systemvmtemplate/public-testing/41121RC0/
paul.angus@xxxxxxxxxxxxx
www.shapeblue.com
@shapeblue