Centos KVM more than 4GB limit with PAE-Kernel?

ozgurerdogan

Renowned Member
May 2, 2010
619
6
83
Bursa, Turkey, Turkey
My Centos is on a KVM with 32bit centos installed and has 8 GB limit assigned. I enabled PAE and CPU type is (Default)KVM64. But after install and restart I still see 3.50 GB ram. Do you have an idea why?



yum info kernel-PAE

Name : kernel-PAE
Arch : i686
Version : 2.6.18
Release : 348.4.1.el5
Size : 49 M
Repo : installed
Summary : The Linux kernel compiled for PAE capable machines.
URL : http://www.kernel.org/
License : GPLv2
Description: This package includes a version of the Linux kernel with support
: for up to 64GB of high memory. It requires a CPU with Physical
: Address Extensions (PAE). The non-PAE kernel can only address up to
: 4GB of memory. Install the kernel-PAE package if your machine has
: more than 4GB of memory.

[root@lnx3-4 ~]# free -m
total used free shared buffers cached
Mem: 3546 672 2874 0 29 359
 
I am going to try now. Start wih host at bottom one.

Ok after setting correct kernel in grup.conf now I can see more ram than 4GB but after boot, I got,

You need to implement a remote task_setrlimit in your security module and call it directly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit()

Call Trace:
[<ffffffff8012ee59>] security_ops_task_setrlimit+0x87/0x96
[<ffffffff80134433>] selinux_task_setrlimit+0x2d/0x70
[<ffffffff8009dbc9>] do_prlimit+0xd7/0x1d2
[<ffffffff8009ed12>] sys_setrlimit+0x36/0x43
[<ffffffff8005d29e>] tracesys+0xd5/0xdf


google results say it is harmless. Do you have any experiences?
 
Sorry no. but have you tried with QEMU64 CPU? i've seen a few posts where people have had better experiences with QEMU and CentOS.

Well yes but not all the time. Some server QEMU64 is better some Qemu. I do not know why. But both are similar not a big difference for me.

- - - Updated - - -

I just saw qemu32 and qmue64 after your recommendation. I will try these two now. That is 32 and 64 here? You know?