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

Notices


Reply
  Search this Thread
Old 12-23-2007, 02:22 AM   #1
terran2k
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
4GB bios shows as 3.5GB in 64bit fedora?


I am running 64 bit fedora 8 on 2.6.23.9-85 kernel, system is a 3.2Ghz prescott cpu on an intel 915 chipset mobo and 4GB of memory. when i boot, i can see it says 4096MB, in the bios it also says 4GB, but when in fedora it says 3.5GB, this is the 64bit version. any ideas?

thanks.
 
Old 12-23-2007, 04:52 AM   #2
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
Are you using
Code:
free -G
to see the memory? The free program calculates the memory incorrectly. Try running 'free -K' or 'free -M' in the terminal.
 
Old 12-23-2007, 11:15 AM   #3
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
The only 3.5GB available memory has little to nothing to do with your Operating System, in this case Fedora.

It is a limitation that came with the implantation of PCI-bus, this system bus needs around 512mb for system addresses. Even cards or addresses you not use are used.

Some newer motherboards have the option to relocate, your 512mb to another address range, so you get 4gb on available. But with every system hack, some of this hacks are not fully compatible and with make computers more unstable. Similar to extended memory boards in our early XT or AT IBM computers. When the ISA bus limited our 1MB to only 640kb.

Anyway, even operating systems like MS Windows XP are limited to use only momory within the 4GB range, so hacks of relocating the memory to another range will not give any additional memory, also for most Linux kernel you need to recompile the kernel with large memory enabled, that is if you can in the BIOS selected relocating the 512MB to a higher range.

Last edited by Dummy-in-Linux; 12-23-2007 at 11:18 AM. Reason: additional info
 
Old 12-23-2007, 04:26 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by terran2k View Post
I am running 64 bit fedora 8 on 2.6.23.9-85 kernel, system is a 3.2Ghz prescott cpu on an intel 915 chipset mobo and 4GB of memory. when i boot, i can see it says 4096MB, in the bios it also says 4GB, but when in fedora it says 3.5GB, this is the 64bit version. any ideas?

thanks.
My BIOS has a setting to set for 64bit addressing I would check for similar in yours and I would check for sure that you are actually running a 64bit chip/install not many of those older chips could run 64bit. So if you are running 32bit you will most likely never get more than the ram you see now due to 32bit addressing limitations with the memory reserved like the poster above mentions.
 
Old 12-24-2007, 03:48 PM   #5
Phil_L
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Like Dummy-in-Linux said. The reason you aren't seeing all 4G has nothing to do with linux. Windows will do the same. It also has little to do with 32 or 64 bit. The MB bios is you problem. If you have an onboard video card, that's the biggest hitter. They RARELY have their own memory, they just pull some of your system RAM. The BIOS itself sometimes will copy itself to RAM because it's faster than ROM. Also, all of your ports, serial, parallel, USB, IDE, SATA, add on cards ALL want a cut of the pie for their own ROMs to be copied up.

I just had this very same conversation with an Oracle DBA on some very high end IBM servers with 64G. He told me the 64 bit Windows should give him every meg... I had to show him several articles about where it goes.

Phil
 
Old 12-26-2007, 01:41 AM   #6
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
If i'm not mistaken thou what he means is just
Code:
TUX:/home/user # free -m
             total       used       free     shared    buffers     cached
Mem:          2013       1017        996          0         35        564
-/+ buffers/cache:        417       1596
Swap:         4101          0       4101
TUX:/home/user # free -g
             total       used       free     shared    buffers     cached
Mem:             1          0          0          0          0          0
-/+ buffers/cache:          0          1
Swap:            4          0          4
is that? Sure memory will be taken up by the system, that's what it's there for. But you should still report the correct total. No?
 
  


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
fedora 8 64bit + firestarter RottenMutt Fedora 2 11-25-2007 01:25 PM
Fedora 8 64bit link lazlow Linux - Software 0 11-05-2007 10:09 PM
Fedora 7 (moonshine) xen not detecting >4GB RAM The00Dustin Linux - Software 22 10-23-2007 12:28 PM
Xine and 64bit fedora madmax04 Fedora 0 10-13-2004 10:33 AM
Fedora Core 2 need 64bit CPU? DriveMeCrazy Fedora 3 05-31-2004 05:36 AM

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

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

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