You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Paul Angus <pa...@shapeblue.com> on 2018/11/25 19:39:02 UTC
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@shapeblue.com
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue
RE: vmware systemvm 4.11.2 template
Posted by Paul Angus <pa...@shapeblue.com>.
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@shapeblue.com
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue
-----Original Message-----
From: Zehnder, Samuel <ze...@netcloud.ch>
Sent: 26 November 2018 22:49
To: dev@cloudstack.apache.org
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 <pa...@shapeblue.com>
Sent: Sonntag, 25. November 2018 20:39
To: dev@cloudstack.apache.org; Rene Moser <ma...@renemoser.net>; Zehnder, Samuel <ze...@netcloud.ch>
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@shapeblue.com
www.shapeblue.com
@shapeblue
Re: vmware systemvm 4.11.2 template
Posted by Rohit Yadav <ro...@shapeblue.com>.
Samuel, please re look at 4.11.2.0 release notes. The guest OS is rectified, you should only use other linux 64-bit for systemvms. Debian9 is not available on older vmware versions.
Regards.
Regards,
Rohit Yadav
________________________________
From: Zehnder, Samuel <ze...@netcloud.ch>
Sent: Tuesday, November 27, 2018 4:18:41 AM
To: dev@cloudstack.apache.org
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 <pa...@shapeblue.com>
Sent: Sonntag, 25. November 2018 20:39
To: dev@cloudstack.apache.org; Rene Moser <ma...@renemoser.net>; Zehnder, Samuel <ze...@netcloud.ch>
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@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
@shapeblue
rohit.yadav@shapeblue.com
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue
RE: vmware systemvm 4.11.2 template
Posted by "Zehnder, Samuel" <ze...@netcloud.ch>.
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 <pa...@shapeblue.com>
Sent: Sonntag, 25. November 2018 20:39
To: dev@cloudstack.apache.org; Rene Moser <ma...@renemoser.net>; Zehnder, Samuel <ze...@netcloud.ch>
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@shapeblue.com
www.shapeblue.com
@shapeblue