Mandriva Club Forum Index
The time now is Wed Jan 09, 2008 1:10 am
Mandriva Club Forum Index
Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
Adding Memory 2gb to 4gb, and what the system says it has
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Mandriva Club Forum Index -> General Hardware
View previous topic :: View next topic  
Author Message
PostPosted: Wed Nov 07, 2007 4:30 pm    Post subject: Adding Memory 2gb to 4gb, and what the system says it has Reply with quote

Hi All,
I just bought more ram for my desktop. I had 2gb, and added 2gb more. The motherboard does support 4gb. However, upon rebooting the computer, it only shows 3gb installed. I assume I need to install a different, or update my kernel? The question then, is how. Or should I do something else?
Here is the output of rpm -qa | grep kernel
Code:
kernel-2.6.17.5mdv-1-1mdv2007.0
nvidia-kernel-2.6.17-5mdv-8774-1mdk
kernel-source-stripped-2.6.17.5mdv-1-1mdv2007.0

and of /proc/meminfo
Code:
MemTotal:      3107988 kB
MemFree:       2546064 kB
Buffers:         26060 kB
Cached:         279700 kB
SwapCached:          0 kB
Active:         360380 kB
Inactive:       140356 kB
HighTotal:     2228164 kB
HighFree:      1732316 kB
LowTotal:       879824 kB
LowFree:        813748 kB
SwapTotal:    21278052 kB
SwapFree:     21278052 kB
Dirty:              52 kB
Writeback:           0 kB
Mapped:         268300 kB
Slab:            26404 kB
CommitLimit:  22832044 kB
Committed_AS:   444972 kB
PageTables:       2480 kB
VmallocTotal:   114680 kB
VmallocUsed:     63632 kB
VmallocChunk:    47088 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

Thanks as always, Kyle
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Wed Nov 07, 2007 8:31 pm    Post subject: Reply with quote

For a start, you need to upgrade your kernel. We're up to 15mdv or 16mdv for 2007.0 now. If the 15mdv version of the stock kernel does not support all your memory, try kernel-enterprise.
_________________
Adam Williamson | Editor, Mandriva Community Newsletter | Mandriva Club Monkey | PR Monkey | Mandriva Bugmaster | Packager | General dogsbody | awilliamson A T mandriva D 0 T com
awilliamson
Site Admin, Mandriva


Joined: 30 Mar 2005
Posts: 16051
Location: Vancouver, B.C.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Thu Nov 08, 2007 12:08 am    Post subject: Reply with quote

Is there any good info (in the Wiki perhaps?) on how to go about upgrading to a newer kernel version, Adam?

I think I tried doing it once, but there was some error about some kind of "stripped" kernel (if I remember right?) package needing to be installed first for it to work correctly. Question

I would like to know how to go about doing it just for the knowledge I would gain.
PeterDurr



Joined: 15 Apr 2007
Posts: 162

Back to top
View user's profile Send private message
PostPosted: Thu Nov 08, 2007 2:04 am    Post subject: Reply with quote

K, update to new kernel, done. I installed the sources too, as I figured I needed to install my nvidia driver by hand afterwards. That all went well. Now,
Quote:
rpm -qa | grep kernel
kernel-2.6.17.5mdv-1-1mdv2007.0
kernel-source-2.6.17.16mdv-1-1mdv2007.0
nvidia-kernel-2.6.17-5mdv-8774-1mdk
kernel-source-stripped-2.6.17.5mdv-1-1mdv2007.0
kernel-2.6.17.16mdv-1-1mdv2007.0

And
Quote:
cat /proc/meminfo
MemTotal: 3107980 kB
MemFree: 2489484 kB

So at this point I need to try the enterprise kernel right? I don't see the sources available for that, so I'm worried about the nvidia drivers. Should I be worried?
Is there any way to check that I am actually using the .16 kernel?
Cheers
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Thu Nov 08, 2007 12:36 pm    Post subject: Reply with quote

uname -r will tell you your running kernel.

I had to add the mem= parameter to lilo.conf to get 2008 to see all my RAM.

http://forum.mandriva.com/viewtopic.php?t=74313
_________________
the animal rescue site
Germ



Joined: 04 Jan 2002
Posts: 2004
Location: USA

Back to top
View user's profile Send private message Visit poster's website
PostPosted: Thu Nov 08, 2007 2:32 pm    Post subject: Reply with quote

I had the same problem on another motherboard (Asus P5d). The bios has an option that limits the memory to 3 GB even if you have installed 4 GB. Activating the option for larger memory crashes the kernel shipped with 2007.1 X86_64. So you have to install a new kernel before changing the bios setings.
Jose Luis_7456



Joined: 08 Nov 2007
Posts: 1

Back to top
View user's profile Send private message
PostPosted: Thu Nov 08, 2007 4:28 pm    Post subject: Reply with quote

However, in my case I don't manage to have all my 4GB ram memory.

I upgraded all my hardware recently, without changing my Mandriva 2007.1 OS. I tried many kernels, in the entreprise series, and I don't manage to see all of my ram. I just tried once more with kernel-enterprise-2.6.17.16mdv-1-1mdv2007.1.i586.rpm and I sill have the following :

free -m
total used free shared buffers cached
Mem: 2026 753 1273 0 72 447
-/+ buffers/cache: 233 1793
Swap: 4094 0 4094

or cat /proc/meminfo
MemTotal: 2075252 kB
MemFree: 1303284 kB
Buffers: 74492 kB
Cached: 458508 kB
SwapCached: 0 kB
Active: 333576 kB
Inactive: 333592 kB
HighTotal: 1179076 kB
HighFree: 569412 kB
LowTotal: 896176 kB
LowFree: 733872 kB
SwapTotal: 4192880 kB
SwapFree: 4192880 kB
Dirty: 660 kB
Writeback: 0 kB
Mapped: 190212 kB
Slab: 80848 kB
CommitLimit: 5230504 kB
Committed_AS: 262216 kB
PageTables: 2988 kB
VmallocTotal: 116728 kB
VmallocUsed: 52044 kB
VmallocChunk: 57332 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB


dmesg gives that
1151MB HIGHMEM available.
895MB LOWMEM available.

However, the bios says at the boot that there is 4096M.

My motherboard is a P5B premium and I have an Intel dual core 2 GHz.

My main question will then be : is this problem due to the fact that my OS was previously installed on a 2GB machine ? Is it necessary to install everything when you do hardware upgrade (new motherboad + new proc + 4GB mem) ?
drodrig



Joined: 21 Apr 2005
Posts: 40

Back to top
View user's profile Send private message
PostPosted: Fri Nov 09, 2007 7:49 pm    Post subject: Reply with quote

Your problem is that you have installed a 32-bit version of the OS, which only supports up to 3.1GB of RAM. You need to install the 64-bit version (x86_64) if you want to use more RAM.

I don't think you can just install a 64-bit kernel - too many other things depend on it, and I certainly wouldn't recommend trying an OS upgrade, so you'll probably need to do a full OS reinstall.

I don't know what the state of the 64-bit version is these days - last time I tried it, it still had a lot of problems. So you may want to monitor your RAM usage for a while and see how much you would really use the extra 1GB before making the decision to reinstall.
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Fri Nov 09, 2007 8:14 pm    Post subject: Reply with quote

Martin,
I've heard of this issue for windows, but I could have sworn that I have seen other 32bit linux installs with more than 3.1gb of ram. What about multiple core machines? I do have a motherboard capable of using a dual core pentium, maybe that is in order? At that point, maybe 2gb would go to each core? I bought the ram because I have been running out of memory for some mathematical computations in matlab, so I do unfortunately need every little bit I can get.
I'm also not sure I'm ready to try the 64bit solution yet, as last I tried it, I too had more issues than it was worth.
I'll try the lilo mem config mentioned by Germ and get back to everyone.
Thanks to all so far
Kyle
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Fri Nov 09, 2007 9:11 pm    Post subject: Reply with quote

On second thought, it looks as if the lilo fix is for up to the 3.1gb limit.
Maybe the dual core idea again?
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Fri Nov 09, 2007 9:11 pm    Post subject: Reply with quote

Kyle,

Yes, there is a way to get access to up to 64GB of physical RAM with a 32-bit Linux install you need a kernel built to use the physical address extension mechanism. I believe the enterprise kernel is built with this option enabled. The downside is that there is a performance hit (I've seen estimates of 3-6%, although that was some time ago - things may have got better), which is why it's not enabled by default. Also, any single process cannot use more than 3GB of virtual memory, regardless of how much physical memory is installed. So if your matlab process is running out of memory (rather than just running slowly because it is paging to disk), extending the amount of physical RAM won't help - you need a 64-bit OS.

All the dual core systems I've come across treat memory as a common resource, so I doubt you'll find one that lets you allocate half the RAM to each core. And anyway, this wouldn't help if your problem is one process needing lots of memory.

Hope this helps,

Martin
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Sat Nov 10, 2007 2:43 pm    Post subject: Reply with quote

I've tried some of the things outlined above. No dice.
Both the lilo option, and the enterprise kernel don't result in more than the 3.1gb of memory. Other ideas? Thanks for the help!
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Sat Nov 10, 2007 2:46 pm    Post subject: Reply with quote

On the single process needing more than 3 gb of memory, maybe my swap isn't configured correctly. Aside from top or meminfo, is there a way to test that I'm using my swap when necessary?
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Sat Nov 10, 2007 8:12 pm    Post subject: Reply with quote

It's possible that your motherboard/BIOS doesn't support PAE. After booting with the enterprise kernel, if you look in /var/log/syslog you should find some messages like this:

Nov 10 19:38:48 wotan kernel: BIOS-provided physical RAM map:
Nov 10 19:38:48 wotan kernel: BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 0000000000100000 - 000000003fee0000 (usable)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 000000003fee0000 - 000000003fee3000 (ACPI NVS)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 000000003fee3000 - 000000003fef0000 (ACPI data)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 000000003fef0000 - 000000003ff00000 (reserved)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
Nov 10 19:38:48 wotan kernel: BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Nov 10 19:38:48 wotan kernel: 126MB HIGHMEM available.
Nov 10 19:38:48 wotan kernel: 896MB LOWMEM available.

What do you get? (search backwards from the end of the file to make sure you're seeing the most recent log entry).

Also check the config file for the enterprise kernel to make sure 64GN support is enabled. You should find it in /boot, and it should contain the following lines:

# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y

I would use top to check if swap was working - run up a few big processes and check that the "swap used" number changes. Again note that swap space will not increase the 3GB limit for a single process.
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 5:23 am    Post subject: Reply with quote

On a 32-bit machine with exactly 4GB, I wouldn't recommend using the HIGHMEM64G configuration. Doing that will open a paging window below 4GB in order to access memory above 4GB (of which there isn't very much) and cause a performance hit.

PAE is smoke-'n'-mirrors but before there were 64-bit commodity platforms, it was the only way for large databases to access > 4GB on a 32-bit system. Nowadays, 64-bit servers are the way to go.

The reason you can't see the full 4GB in /proc/meminfo is because your hardware has built-in RAM and non-volatile ROM which also require physical addresses. 4GB (2^32) is the hard limit for physical+device memory on a 32-bit OS.

If you switch to the 64-bit OS, you'll be able to use the full 4GB of physical memory and performance will be *much* better than a 32-bit OS using PAE.
_________________
Club helper, crusader and house-trained primate.

MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2008.0 x86_64.
RJ549
Site Admin, Mandriva


Joined: 28 Apr 2004
Posts: 4517

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 1:46 pm    Post subject: Reply with quote

RJ:
Quote:
On a 32-bit machine with exactly 4GB, I wouldn't recommend using the HIGHMEM64G configuration. Doing that will open a paging window below 4GB in order to access memory above 4GB (of which there isn't very much) and cause a performance hit.

No, you're confusing the effects of HIGHMEM and PAE.

In the default 32-bit Linux configuration the 4GB virtual address space is split into 3GB for user code, 1GB for kernel code (this is why no single process can exceed 3GB). If you have more than 896MB of physical memory, the kernel cannot directly map the memory (128MB of the 1GB is reserved for other purposes), so it has to set up a paging window to access memory above this limit. This is what the HIGHMEM4G configuration option enables. There is a performance hit, but it only applies to kernel code - user code still uses its 3GB virtual address space as before.

HIGHMEM4G is enabled in the standard Mandriva desktop kernel (at least it is in 2007.1 and 2008.0), so you are already taking this performance hit if you install 32-bit Mandriva.

Quote:
The reason you can't see the full 4GB in /proc/meminfo is because your hardware has built-in RAM and non-volatile ROM which also require physical addresses. 4GB (2^32) is the hard limit for physical+device memory on a 32-bit OS.

And this is where PAE comes in. PAE extends the physical address size to 36 bits, expanding the address space to 64GB. So with it enabled, you can install and use up to 63G of RAM.

There is an additional performance hit when PAE is enabled because it adds an extra level in the virtual->physical address translation process. This hit applies to both kernel and user code.

The HIGHMEM64G configuration option enables both HIGHMEM and PAE.
Quote:
If you switch to the 64-bit OS, you'll be able to use the full 4GB of physical memory and performance will be *much* better than a 32-bit OS using PAE.


I've not managed to find any hard information on what the performance hit from PAE alone is. And there is also a possible performance hit when you switch to a 64-bit OS - 64-bit code is larger than 32-bit code, so increases the probability of cache misses. Do you know of any benchmarks which show what the difference is?

All this aside, I suspect from reading Kyle's posts that he needs to switch to a 64-bit OS because he is running one memory-hungry application that needs more than 3GB, which neither HIGHMEM nor PAE addresses.

Last time I tried 64-bit Mandriva (2007.0), I descended into dependency hell when I installed official updates, which is why I wouldn't advise someone to install 64-bit unless they really needed it. Has this been fixed yet?

Martin
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 7:25 pm    Post subject: Reply with quote

There is a lot more to my question than I had originally expected. I'm not sure I'm ready for the dependency hell, as I really appreciate that things just work in the 32 os. So let me see that I understand where I stand at this point:

* I have 4gb of ram installed
* 1gb is taken by the kernel, and used to do things that would otherwise eat into my ram if say, I only had 2gb. This is used by the kernel because it's not easily accessible by the user/system (the 32 bit - 36 bit memory addressing), and might as well be used by something.
* The other 3gb is used by system processes, including my memory hog matlab routines and simulations.
* So I have achieved a performance increase by installing the additional 1gb for kernel operations, and 1gb for user/system operations. Unless I switch to a 64 bit install, or do some tweaking I'm not positive I want to try, this is just how it is and forever will be. Correct?
* Switching to a dual core processor, may, but probably won't help except for multi-tasking and other parallel processes (of which, matlab is not).

I think this is acceptable to me, or at least more so than switching to a 64 bit install. So I suppose the next question is the swap. I have 20gb of hd space dedicated to swap, though I've never really seen it used in the past. Maybe matlab doesn't want to touch it? Is there an easy way to test that the system can, and better yet, does use some of that swap?
Thanks as always, Kyle
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 7:30 pm    Post subject: Reply with quote

Martin,
Almost forgot to post this: from the enterprise config file:
Quote:
#
# Firmware Drivers
#
CONFIG_EDD=y
CONFIG_DELL_RBU=m
CONFIG_DCDBAS=m
# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_BADRAM=y


I'll make a note to boot into the enterprise kernel and check the log soon, but I'm running some matlab stuff right now that I don't want to interrupt.
Cheers
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 10:59 pm    Post subject: Reply with quote

RJ549 wrote:

On a 32-bit machine with exactly 4GB, I wouldn't recommend using the HIGHMEM64G configuration.

martin_whitaker wrote:

No, you're confusing the effects of HIGHMEM and PAE.

I don't feel confused. Please note that I did say "HIGHMEM64G" which implies PAE.

If there's a way for a 32-bit system to access more than 4GB without PAE, I'd be very interested in hearing about it.
_________________
Club helper, crusader and house-trained primate.

MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2008.0 x86_64.
RJ549
Site Admin, Mandriva


Joined: 28 Apr 2004
Posts: 4517

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 11:08 pm    Post subject: Reply with quote

Kyle,

First I should say that I may be raising false alarms about the problems with a 64-bit install - it's 9 months since I tried it, and the problems may have been fixed by now.

Regarding memory and swap usage, the key thing to understand is the difference between virtual and physical memory.

With a 32-bit system, a single user application can address up to 2^32 bytes (4GB) of memory. So the program code and data for that application all have to fit in 4GB. But with a virtual memory system, not all of the 4GB needs to reside in physical memory - code or data that is not currently being used can be stored on the hard disk until it is needed. The space on the hard disk used for this is called "swap space", code or data that is currently stored in physical memory is referred top as being "swapped in", and code or data that is currently stored on the hard disk is referred to as being "swapped out".

The OS detects when an application needs some code or data that is currently swapped out, frees some space in the physical memory by swapping out some code or data that hasn't been accessed recently, then fills that space by swapping in the required code or data.

In a multi-tasking system, each user application can have its own 4GB address space. But that's OK, the OS just has to track which bits of code and data each application is currently using and manage the physical memory usage accordingly (not to make light of it - this is a complex task!).

So in theory you can run as many applications as you like, each using up to 4GB of "virtual" memory. All you need to do is increase the size of your swap partition so there is enough swap space to store them all. In practice it falls down if the amount of swap space greatly exceeds the amount of physical memory - the system ends up spending more time swapping data in and out than it does doing useful work (this is known as "thrashing").

In Linux, the OS has been designed so a portion of each application's virtual address space is mapped to the kernel code and data. This means the same kernel code and data is shared between all applications and allows critical bits of code (like the code which manages the virtual memory) to be locked in physical memory and never swapped out. By default the portion reserved is 1GB - you can change this by building a custom kernel, but it is not recommended to go much below 1GB.

So to summarise:

* A 32-bit OS limits each application's virtual address space to 4GB.
* Linux by default uses 1GB of this, leaving 3GB. This is the maximum any one application can use.
* You can run as many applications as you like provided you have enough swap space. But if too many are running simultaneously, the system may spend all its time swapping rather than doing useful work.
* The amount of physical memory installed affects how frequently code and data are swapped in and out. The more you have, the less time will be wasted in swapping.
* The amount of physical memory has no affect on the 3GB limit for a single application.

Note that when I say application I mean a single running instance of that application. So if you start matlab twice, you will (probably) have two instances running. I say probably because some applications (e.g. Firefox, Acrobat Reader) detect if there is an instance running and if so, share its address space to save having the same code duplicated.

So to conclude:

* Without changing to a 64-bit OS, you can't increase (by much) the 3GB limit for a single matlab session.
* If you did change to a 64-bit OS, but only have a 32-bit version of matlab, the limit will (I believe) go up to 4GB. If you have a 64-bit version of matlab, the limit will be the size of your swap partition.
* At the moment your system seems only to be using 3GB of your physical memory. If you see a lot of hard disk activity when you are running your matlab simulations, it is probably doing a lot of swapping, and it is worth trying to get it to use the extra 1GB. Conversely, if you don't see much hard disk activity, having the extra 1GB won't make much difference.
* As you say, a dual core processor will only be of benefit if you want to multi-task. If you use the same machine for running simulations and doing other work, it's well worth investing in a dual core processor (that's why I've got one).

Hope this makes things a bit clearer. Being an electronic engineer, I do tend to use technical terms and assume everyone understands them!

Martin
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 11:19 pm    Post subject: Reply with quote

RJ:

My
Quote:
No, you're confusing the effects of HIGHMEM and PAE.

was directed at your
Quote:
Doing that will open a paging window below 4GB in order to access memory above 4GB (of which there isn't very much) and cause a performance hit.

which is HIGHMEM, not PAE. The window is opened in the kernel's 1GB address space - wherever that may be. This happens for both HIGHMEM4G and HIGHMEM64G, so is not a reason for not enabling HIGHMEM64G. The extra performance hit from PAE might be a good reason for not enabling HIGHMEM64G, but as I said, I can't find any hard information on what that hit is.

Martin
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Thu Nov 15, 2007 5:12 am    Post subject: Reply with quote

Kyle: How much video memory does your graphics card have?

Also: Does your BIOS have a setting for AGP Aperture size?
If so, reducing it to a low value (ie: 32MB) should bring some of your system memory back.
_________________
Club helper, crusader and house-trained primate.

MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2008.0 x86_64.
RJ549
Site Admin, Mandriva


Joined: 28 Apr 2004
Posts: 4517

Back to top
View user's profile Send private message
PostPosted: Sat Nov 17, 2007 1:59 pm    Post subject: Reply with quote

Out of curiousity, I decided to run some tests to find out what the performance hit of PAE by itself is. I built a custom kernel with HIGHMEM64G enabled, but otherwise with the same configuration as the 2008.0 desktop kernel.

Building a custom kernel took 42 minutes when using the standard desktop kernel and the same time when using my custom kernel (unfortunately I didn't time it to the second, as I was expecting a bigger difference).

Running a processor/memory intensive task (an FPGA synthesis, place and route) took 29 minutes 41 seconds using the standard kernel and 29 minutes 59 seconds using the custom kernel (averaged over three runs).

So on my system (Asus M2N-SLI, Athlon 64 X2 3800+) and performing this task, the performance hit is 1%. Obviously this is too small a sample to reach any definite conclusion, but it does indicate that enabling PAE is not necessarily that hurtful.
martin_whitaker



Joined: 25 Mar 2002
Posts: 98

Back to top
View user's profile Send private message
PostPosted: Sun Nov 25, 2007 5:45 am    Post subject: Reply with quote

RJ549 wrote:
Kyle: How much video memory does your graphics card have?

Also: Does your BIOS have a setting for AGP Aperture size?
If so, reducing it to a low value (ie: 32MB) should bring some of your system memory back.


Hi Rj549, sorry about the long delayed response. I have a 256mb GeForce 7300. I could not find the AGP Aperture in my bios.
Thx, Kyle
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
PostPosted: Sun Nov 25, 2007 5:47 am    Post subject: Reply with quote

Martin,
Your summary all makes sense, and leave me with the feeling that for now, it's good enough. Thanks for all the help.
Kyle
_________________
Remember, anything you dream is possible, given that you care not who gets the credit.
KyleWinfree



Joined: 13 May 2006
Posts: 78

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Club Forum Index -> General Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group