LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-04-2009, 03:02 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
PAE Performance Hit


I have 4GB of RAM using Slackware 12.2, with a recompiled kernel.

I have read there is a performance hit when configuring the kernel to use PAE to recognize more than 4GB of RAM. How much of a performance hit I wonder?

I would appreciate links to discussions providing actual data. I find only the claim but no data.

Thanks.
 
Old 05-04-2009, 03:18 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
I took this from a red hat white paper, its the closest thing I could find. Here is the link to the whole paper http://people.redhat.com/nmurray/RHE...whitepaper.pdf


The performance impact is highly workload dependent, but on a fairly typical kernel
compile, the PAE penalty works out to be around a 1% performance hit on Red
Hat’s test boxes. Testing with various other workload mixes has given performance
hits ranging from 0% to 10%.
 
Old 05-04-2009, 03:30 PM   #3
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
When I changed my kernel some months ago to use the 64G flag I tried to find actual data as well.
I understand perfectly that the memory switching will cause some overhead, but personally I have not 'felt' any differences between the two kernels.

I started a search for some reliable benchmarking tools but gave up after a while.

Benchmarking a system is not trivial:
- do you want to test memory access?
- disk I/O?
- network I/O?
It all depends on what you use your server for.

I have seen servers with 20 - 30% processor usage but terrible response times because of long disk I/O queues or network latency problems.
I have seen processors cooking at 100% usage because of badly written database apps.

And I know of dozens of 32-bit servers (Windows & Linux) using PAE and performing very well and other 64-bit servers with lots of memory only causing performance head-aches.

By the way, managing data centers is my job
 
Old 05-04-2009, 03:32 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Thanks for the info.

I'm just a basic desktop user. A 1% performance hit is insignificant for my usage. I suppose I could temporarily use a kernel without PAE and then test for a few days (gut feel --- nothing methodical or scientific), but at an estimated 1% hit for most usage, I doubt I'd see any difference.
 
Old 05-04-2009, 03:37 PM   #5
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
no discernible difference here

just switched to a PAE kernel last week though
 
Old 05-04-2009, 04:36 PM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I re-compiled my kernel a few days ago to PAE also. I have not seen any effects on performance so far. I am also a simple desktop user.
 
Old 05-05-2009, 03:56 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I believe I saw that it is only slower to initialize.
 
Old 05-05-2009, 04:51 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would doubt that. Having to move any data above 1 Gig down to kernel addressable storage would be the issue.
Who does heavy I/O with big writes ... ?
 
Old 05-06-2009, 09:16 PM   #9
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Hi,

Slackware 12.2 2.6.28.8 8 GB ram Intel dual core with virt. support

I've been running the huge mem support for near 8 weeks or longer now.

I was totally unaware that it could have a performance hit until I saw this thread.

Windows 7 beta runs very very fast in KVM with near 1850 megs of ram specified to it. Ditto Win XP SP3 with a gig of ram to it. Both of these run too fast (no complaint, works for me).

Slackware runs fast no matter whether KVM is in use or not.

In slack, Firefox 3 tabs sometimes hesitate before they close (after I've clicked the X on the tab to close it). Not a bother, but weird to me, I don't know what causes. Maybe it my ATI catalyst 9.3 though my video mostly works well.

--
Alan.
 
Old 05-07-2009, 03:58 AM   #10
vince4amy
Member
 
Registered: Dec 2008
Location: Great Britain
Distribution: Slackware
Posts: 58
Blog Entries: 1

Rep: Reputation: 17
I've never compared them using proper benchmarks. But the system feels about the same for me, using 2.6.28 and PAE.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PAE enable pankaj.bhamare Linux - Newbie 7 04-15-2009 05:14 AM
KERNEL PANIC: Cannot execute a PAE-enabled kernel on a PAE-less CPU! ovais370 Linux - Laptop and Netbook 7 10-13-2007 05:49 PM
pae shadowsa Linux - Hardware 11 04-17-2007 01:11 AM
Any methods to reduce the performance hit of using Tor? dr_zayus69 Linux - Networking 1 10-28-2006 06:04 AM
BIG gaming performance HIT!? 4x AGP... RHLinuxGUY Linux - Games 1 12-02-2003 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration