Author Topic: pae kernel  (Read 2934 times)

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
pae kernel
« on: April 02, 2011, 03:06:33 PM »
I understand that the pae kernel allows for the use of >4gb of ram. I have 4 gigs of ram + 512 mb video memory which i believe is limited by the kernel.

So I would have access to a little more ram if i used the pae kernel.
My question is are there any downsides to using it?
If there are no downsides why is there a non pae kernel?

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15316
  • ┌∩┐(◕_◕)┌∩┐
Re: pae kernel
« Reply #1 on: April 02, 2011, 03:19:02 PM »
I haven't seen/heard of any downsides to using it - I use it as my kernel of choice.
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: pae kernel
« Reply #2 on: April 02, 2011, 03:23:42 PM »
Same here.

[root@fatman ~]# uname -r
2.6.38.1-pclos2.pae
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: pae kernel
« Reply #3 on: April 02, 2011, 03:34:02 PM »
Hi,

pae kernel is so called because it use a particular feature of the CPU (Physical Address Extension), which allow for addressing up to 64Gb RAM,
although pae is present on all recent CPUs, is not available on all CPUs.

Other than the above, actually the differences are related to Kernel Interrupt time actually set to 100 Hz in pae version, and set to 1000 Hz in all other PCLinuxOS versions,
(an higher interrupt frequency allow for faster kernel reaction upon interrupts, may be useful for some applications that require realtime response),
other difference are related to the default scheduler (bfs vs. cfq), one version, a64, is optimized for AMD 64 bit CPUs.

The 512 Mb video-card memory, are unaffected by the kernel choice.

Unless you have specific reason to require bfs scheduler and 1000 Hz frequency, there are no drawbacks using pae kernels.

AS

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: pae kernel
« Reply #4 on: April 02, 2011, 03:37:36 PM »
If there are no downsides why is there a non pae kernel?

Why? Because not every user has 4 GB or more RAM. It is not really common to have that much RAM at this time.

Online muungwana

  • Hero Member
  • *****
  • Posts: 6252
Re: pae kernel
« Reply #5 on: April 02, 2011, 03:48:43 PM »

If you look at linux's kernel configuration options, you will see that the kernel can be configured to use up to 896MB of memory, upto 4GB of memory and upto 64GB of memory(pae kernel).

With a 32 bit operating system, the system can see a maximum of 4GB and that means the remaining 60GB will somehow first be remapped into the 4GB before it can be accessed and this costs CPU cycles and slows things down.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline jaydot

  • Administrator
  • Super Villain
  • *****
  • Posts: 15569
  • there is no limitation on imagination
Re: pae kernel
« Reply #6 on: April 02, 2011, 04:14:59 PM »
i'm using a bfs kernel, which claims (and does) to support 4gb.  which of pae/bfs is the better option, or does it make a difference?
PCLinuxOS  Get it?  Got it?  Good!!   8)

We don't have any millionare angels or corporate backers paying the bills here, PLEASE DONATE.
http://pclinuxos.com/?page_id=7

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12533
Re: pae kernel
« Reply #7 on: April 02, 2011, 04:51:52 PM »
i'm using a bfs kernel, which claims (and does) to support 4gb.  which of pae/bfs is the better option, or does it make a difference?

What about a pae.bfs kernel! Yeh, you get all the performance of bfs plus the extra memory available without a performance hit. Seriously there is not much difference between the kernels anymore. I am using the pae.bfs kernel from the PASS server. The reason is I get 400mb more of free memory with pae.bfs than with just bfs on my 4 gig box.



Thanks to everyone who donates. You keep the servers running.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: pae kernel
« Reply #8 on: April 02, 2011, 05:13:08 PM »
I have a P4 machine here which appears to be limited by Dell ......  it sees about 3.6GB of the 4 installed using the bfs kernel, but sees less when using the pae kernel .......  I guess due to the extra overhead of the pae kernel.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15316
  • ┌∩┐(◕_◕)┌∩┐
Re: pae kernel
« Reply #9 on: April 03, 2011, 02:13:53 AM »
Having that bit more memory available on the pae kernel can also be useful when running Virtualbox.
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12533
Re: pae kernel
« Reply #10 on: April 03, 2011, 02:39:27 AM »
I have a P4 machine here which appears to be limited by Dell ......  it sees about 3.6GB of the 4 installed using the bfs kernel, but sees less when using the pae kernel .......  I guess due to the extra overhead of the pae kernel.


I get 3.4 with bfs and 3.8 with pae.


Thanks to everyone who donates. You keep the servers running.

Offline ayearhasgone

  • New Friend
  • *
  • Posts: 6
Re: pae kernel
« Reply #11 on: April 03, 2011, 09:09:06 AM »
Quite honestly if you need to use more than 4 GBs of RAM, you should stop and think about your life for a minute.  Maybe I just remember the good ol' days when 512 MBs of RAM was top of the line, but 4 gigs is a LOT of RAM for a home desktop.

My old lappy shipped with 4 gigs and everyone was telling me to install 64-bit distro's.  I always found myself having hardware problems (CD drive not ejecting, shaky wifi) that I never had with 32-bit distro's.  One day I realized that I was only using maybe 1 gig at a time, so I installed 32-bit and never looked back.

Point is, pick which kernel is best for you.  You probably don't need to utilize a full 4 gigs of RAM.

Offline FritoBandito

  • Full Member
  • ***
  • Posts: 178
Re: pae kernel
« Reply #12 on: April 03, 2011, 11:24:28 AM »
Are you sure that the 4GB ram limit doesn't include video ram? It does on windows computers and I assume they would both have the same 32-bit cap. Addressing limits *waves hands*

so the downside is that:
there is more overhead
I have a P4 machine here which appears to be limited by Dell ......  it sees about 3.6GB of the 4 installed using the bfs kernel, but sees less when using the pae kernel .......  I guess due to the extra overhead of the pae kernel.

and it reacts slightly slower which humans would never notice
Quote
Other than the above, actually the differences are related to Kernel Interrupt time actually set to 100 Hz in pae version, and set to 1000 Hz in all other PCLinuxOS versions,
(an higher interrupt frequency allow for faster kernel reaction upon interrupts, may be useful for some applications that require realtime response),
other difference are related to the default scheduler (bfs vs. cfq), one version, a64, is optimized for AMD 64 bit CPUs.
« Last Edit: April 03, 2011, 11:30:03 AM by FritoBandito »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: pae kernel
« Reply #13 on: April 03, 2011, 12:23:33 PM »
and what report the command free, using pae.bfs kernel ?

AS

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: pae kernel
« Reply #14 on: April 03, 2011, 12:32:34 PM »
I made a mistake and deleted my previous post.
The kernels did not correctly install and I forgot to check which one I was using  :(


Quote
While preparing for installation:

kernel-2.6.38.2-pclos1.pae.bfs-1-1pclos2011
INTERNAL ERROR: hd0 has no mapping in device.map (when translating (hd0,5))
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/bootloader.pm:1610
bootloader::grub2dev_and_file() called from /usr/lib/libDrakX/bootloader.pm:1619
bootloader::grub2dev() called from /usr/lib/libDrakX/bootloader.pm:245
bootloader::_may_fix_grub2dev() called from /usr/lib/libDrakX/bootloader.pm:220
bootloader::read_grub() called from /usr/lib/libDrakX/bootloader.pm:174
bootloader::read() called from /usr/sbin/bootloader-config:64
kernel-devel-2.6.38.2-pclos1.pae.bfs-1-1pclos2011