[PVE-User] Question about memory management

CDR venefax at gmail.com
Mon Jun 6 09:05:59 CEST 2011


Can somebody confirm that  ksm would actually work in Proxmox?
I found this bug https://bugzilla.redhat.com/show_bug.cgi?id=541230
Please read comment 24. I wonder if we can make it work.
Federico

On Fri, Jun 3, 2011 at 5:41 PM, Glenn Kelley <glenn at vinehosting.com> wrote:
> I don't see why not.
>
> As long as you are running the same version of the PVE across the nodes - the kernel itself should not matter.
>
> 1.8 on all should make your systems just hum along.
> Keep that in mind however if you do try to transfer a site from one host node to another.
>
> Blessings
> On Jun 3, 2011, at 3:48 PM, Hart, Brian R. wrote:
>
>> This email thread got me interested in KSM as I did not know that it
>> existed prior to this and I discovered that in order to use it you must
>> use kernel 2.6.35 which doesn't have openvz support.  My question is, In a
>> PVE Cluster, is it possible to upgrade the kernel to 2.6.35 to get the KSM
>> support on some nodes but keep some nodes at the 2.6.32 level in order to
>> run OpenVZ?
>>
>>
>>
>>
>> Brian Hart
>> Systems Administration Specialist
>> University of Oklahoma
>> Center for Spatial Analysis
>> Two Partners Place
>> 3100 Monitor, Suite 180
>> Norman, OK 73072
>> Office: (405)325-9611
>> Mobile: (405)397-2133
>> http://csa.ou.edu/
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Frederic MASSOT <frederic at juliana-multimedia.com>
>> Organization: JULIANA Multimedia
>> Date: Thu, 2 Jun 2011 16:08:52 +0200
>> To: <pve-user at pve.proxmox.com>
>> Subject: Re: [PVE-User] Question about memory management
>>
>>> Le 02/06/2011 09:56, Martin Maurer a écrit :
>>>> Use KSM.
>>>>
>>>> http://pve.proxmox.com/wiki/KSM
>>>> http://www.linux-kvm.org/page/KSM
>>>
>>> Hi,
>>>
>>> About KSM and ksmtuned daemon, the installation script
>>> (/var/lib/dpkg/info/ksm-control-daemon.postinst) specifies the defaults
>>> runlevel 2345 (update-rc.d ksmtuned defaults 21), but in the header of
>>> the startup script (/etc/init.d/ksmtuned) runlevel 2 is forgotten :
>>>
>>> # chkconfig: 345 85 15
>>> # description: The KSM tuning daemon controls whether ...
>>> # processname: ksmtuned
>>> # config: /etc/ksmtuned.conf
>>> # pidfile: /var/run/ksmtuned.pid
>>> #
>>> ### BEGIN INIT INFO
>>> # Provides: ksmtuned
>>> # Required-Start:
>>> # Required-Stop:
>>> # Should-Start:
>>> # Default-Start: 3 4 5
>>> # Default-Stop: 0 1 6
>>>
>>>
>>> Most of the Debian system operates a level 2, in this case during the
>>> package installation runlevel 2 is not taken into account and ksmtuned
>>> is not running.
>>>
>>> $ sudo update-rc.d ksmtuned defaults 21
>>> update-rc.d: using dependency based boot sequencing
>>> update-rc.d: warning: ksmtuned start runlevel arguments (2 3 4 5) do not
>>> match LSB Default-Start values (3 4 5)
>>>
>>> Tested with sysv-rc 2.88dsf-13.1
>>>
>>>
>>> Regards.
>>> --
>>> ==============================================
>>> |              FRÉDÉRIC MASSOT               |
>>> |     http://www.juliana-multimedia.com      |
>>> |   mailto:frederic at juliana-multimedia.com   |
>>> ===========================Debian=GNU/Linux===
>>> _______________________________________________
>>> pve-user mailing list
>>> pve-user at pve.proxmox.com
>>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>



More information about the pve-user mailing list