kernel-pae for Centos 6.9

General support questions
Post Reply
vivekgwd
Posts: 16
Joined: 2017/10/17 05:06:40

kernel-pae for Centos 6.9

Post by vivekgwd » 2018/06/07 08:39:22

Hi all,

I am trying to install kernel-pae in centos 6.9 server which has more than 4 GB RAM.
[root@localhost ~]# yum install kernel-pae
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.vbctv.in
* extras: mirror.vbctv.in
* updates: mirror.vbctv.in
No package kernel-pae available.
Error: Nothing to do
[root@localhost ~]#

What is the procedure to enable physical address extension on CentOS 6.9?
Please let me know if there are any inputs.

Thanks

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: kernel-pae for Centos 6.9

Post by avij » 2018/06/07 09:57:04

There is no separate PAE kernel in CentOS 6. Which kernel are you currently using? Please run uname -a (hostname can be edited out) and free -h.

vivekgwd
Posts: 16
Joined: 2017/10/17 05:06:40

Re: kernel-pae for Centos 6.9

Post by vivekgwd » 2018/06/07 10:18:42

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-696.el6.i686 #1 SMP Tue Mar 21 18:53:30 UTC 2017 i686 i686 i386 GNU/Linux
[root@localhost ~]# free -h
total used free shared buffers cached
Mem: 5G 2G 3G 264K 228M 427M
-/+ buffers/cache: 1G 4G
Swap: 7G 0B 7G

vivekgwd
Posts: 16
Joined: 2017/10/17 05:06:40

Re: kernel-pae for Centos 6.9

Post by vivekgwd » 2018/06/07 10:23:15

Hi ,

I just wanted to know whether all applications running on PAE enabled kernel runs in PAE mode or
Application developer needs to specify it,like during compilation ,we need to include something which
will inform kernel to run this application in PAE mode.

Thanks in advance.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kernel-pae for Centos 6.9

Post by TrevorH » 2018/06/07 10:59:00

If I remember correctly, there is no separate PAE enabled 32 bit kernel for CentOS 6 because it's enabled by default - i.e all 32 bit el6 kernels are already PAE enabled.

Confirmed: https://access.redhat.com/solutions/425013
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: kernel-pae for Centos 6.9

Post by stevemowbray » 2018/06/07 11:20:38

Also you really need to do a yum update, that kernel is very old and has a lot of security problems.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: kernel-pae for Centos 6.9

Post by avij » 2018/06/07 11:42:03

OK, so your kernel can see the RAM because "free" shows 5G as the total amount.

However, bear in mind that the programs you run are still 32bit and can access only up to 4GB per process (or somewhat less, depending on some details). You can't "enable" PAE mode for applications, it's a kernel level feature. This means you can't allocate a 8GB buffer in mysql, for example, even with PAE. PAE is still useful for some tasks, like if you have two processes each consuming 2.5GB, the kernel can use the full amount of RAM to accommodate both of those.

x86_64 is so much easier in this regard. I would recommend moving to 64bit if at all possible.

vivekgwd
Posts: 16
Joined: 2017/10/17 05:06:40

Re: kernel-pae for Centos 6.9

Post by vivekgwd » 2018/06/07 12:20:43

Thanks for all the inputs.

Post Reply