LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2023, 12:01 PM   #1
PsychoHermit
Member
 
Registered: Aug 2021
Location: Carson City Nevada
Distribution: Debian Testing
Posts: 138

Rep: Reputation: Disabled
Question Free and top are only reporting 11 gig when I have 12 gig of ram


Greetings folks,

I'm running Debian testing.

Free and top are reporting 11431652 of ram when I have 12 gig. What happened to the other gig?

Thanks in advance for any enlightenent,
--glenn aka PsychoHermit

[edit]
Booted Windoze and checked 'system'. It reports 11.2 gig usable, so that solves that.
[/edit]

Last edited by PsychoHermit; 04-16-2023 at 02:49 PM. Reason: New information
 
Old 04-16-2023, 12:05 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,506

Rep: Reputation: Disabled
Some could be in use for graphics, some may be in cache....
 
Old 04-16-2023, 01:38 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Firstly, it depends on how you measure RAM. Base 2, Base 8, Base 10
Do this:
Code:
df
df -h
df -H
df -BM
Ok, which one of those is correct?

Code:
free
free -m
free -h
Code:
cat /proc/meminfo

Last edited by teckk; 04-16-2023 at 01:39 PM.
 
1 members found this post helpful.
Old 04-16-2023, 03:45 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,391

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Does BIOS count it? How do you get to 12? I.e. 8+4 or 4+4+1+1+1+1 or what? If the latter do you have a 1GB module that isnt plugged in all the way?
 
Old 04-16-2023, 08:57 PM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Systems with 12 GB usually only report 11 GiB since the units are different.

Sales uses GB (12,000,000,000) (12 x 10 to the 9th) since that sounds larger.
Computers measure that as GiB which is actually 11.1759 GiB.
Calculated the other way, 1 GIB is 1.0737 GB.

Thus it often trips up many when they see what is being reported.
12 GB is advertised, but it actually is only slightly over 11 GiB and when they see the GiB quantity they wonder why.

The difference is the units used to display the value. Powers of 10 for GB and powers of 2 for GiB.

Even within linux some apps display with one unit and others display the other units. It really can be confusing.

My system with 32 GB RAM displays 31.26 GiB when I use inxi or 32776108 KB when I use free to look at it.

Understanding units and what utility uses which is important.
 
1 members found this post helpful.
Old 04-17-2023, 10:21 AM   #6
PsychoHermit
Member
 
Registered: Aug 2021
Location: Carson City Nevada
Distribution: Debian Testing
Posts: 138

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
Does BIOS count it? How do you get to 12? I.e. 8+4 or 4+4+1+1+1+1 or what? If the latter do you have a 1GB module that isnt plugged in all the way?
It's 4 gig and 8 gig modules, so everything must be seated properly. I'm sure bios counts it but it's not displayed.

Thanks,
--glenn
 
  


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
i use xp sp3 on 2.8 gig pc 2 gig ram ck1nu Linux - Newbie 2 06-28-2012 06:01 PM
gig NIC only connection 100 mbit. Connecting to gig switch. Foldarn Linux - Networking 4 04-03-2009 07:04 PM
4 gig Ram seen as 3 gig ubuntu santana Ubuntu 9 04-09-2008 08:19 AM
The Debian install thinks my 60 gig drive is a 33 gig drive! Nebetsu Debian 13 06-04-2005 12:41 AM
Why my 80 gig hard drive only shows 70 gig? dsuratman Linux - Newbie 3 11-19-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 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