LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-25-2009, 08:14 AM   #1
milkycow
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Rep: Reputation: 15
4GB RAM in 32-bit Slackware 13?


I have 4GB of RAM in my system, but only see 3.5GB using the default kernel-generic-smp-2.6.29.6. From /proc/config.gz it seems that highmem is already enabled in the kernel.

Did anyone else experience this? Is there supposed to be some setting in my BIOS (which I have so far been unable to find)?
 
Old 11-25-2009, 08:20 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,870
Blog Entries: 51

Rep: Reputation: Disabled
HIGHMEM64G mustn't be enabled, you'll have to rebuild your kernel for that. Or switch to Slackware 64.
 
Old 11-25-2009, 08:23 AM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Unless your system has PAE, that is the maximum amount of RAM the OS can address, regardless of whatever your kernel settings are. If you have PAE, you will need to enable it in the BIOS.
 
Old 11-25-2009, 12:37 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I think you need to enable HUGEMEM for 4GB and up (not sure tho).
 
Old 11-25-2009, 07:04 PM   #5
escaflown
Member
 
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
I have a laptop with 4GB of RAM and only 3.5GB used to be detected. I recompile the kernel with the option High memory (64GB) enabled and now 3.96 GB of RAM is detected. The High Memory (64GB) option is under “Processor type and features” -> “High Memory Support (64GB)".
PS: you can find a good tutorial about compiling your own kernel at http://alien.slackbook.org/dokuwiki/...kernelbuilding
 
Old 11-26-2009, 05:04 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
By HUGEMEM (maybe they changed the name) I mean 64GB, I think HIGHMEM is 4GB. I use 64-bit, so it's hard for me to check if this still holds true.
 
Old 11-26-2009, 09:05 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,870
Blog Entries: 51

Rep: Reputation: Disabled
It's HIGHMEM64G.
 
Old 11-26-2009, 09:44 AM   #8
milkycow
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the responses, I have compiled a kernel with CONFIG_HIGHMEM64G=y and that indeed enables PAE.

Although supposedly there's a 3-6% penalty on all memory accesses with this configuration, and for my motherboard which supports a maximum of 4GB RAM I wonder if that extra 500MB is really worth it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
32 bit distro that supports 4GB ram? thach.trung.ngoc Slackware 5 10-09-2009 07:23 AM
looking for very stable distro and 32 bit while working with 4gb ram!!!!! michaa808 Linux - General 1 03-12-2009 01:31 PM
3.6GB RAM instead of 4GB ??? masterross Slackware 11 09-04-2008 08:07 AM
utilize 4gb of ram cynick Linux - General 2 04-20-2006 11:42 AM
4GB RAM: 64-bit Opteron Problems deviance99 Linux - Hardware 6 06-22-2004 08:24 PM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration