RAM issue

My PC has 2Gb of RAM, interleaved and openSUSE 12.1 only see 1,9Mb of RAM.

creatura@creation:~> free -m
             total       used       free     shared    buffers     cached
Mem:          1992       1632        360          0        154        990
-/+ buffers/cache:        486       1505
Swap:         2053         53       2000
creatura@creation:~>
creatura@creation:~> cat /proc/meminfo 
MemTotal:        2040508 kB

Do you guys think this might be a hardware issue ? or just something that uses 8Mb of Ram before the OS starts ?
After the New Year Days i will open my PC to clean it up, but before that i just want to get an idea about my Ram issue.

On 12/29/2011 10:46 AM, creatura85 wrote:
>
> My PC has 2Gb of RAM, interleaved and openSUSE 12.1 only see 1,9Mb of
> RAM.
>
>
> Code:
> --------------------
> creatura@creation:~> free -m
> total used free shared buffers cached
> Mem: 1992 1632 360 0 154 990
> -/+ buffers/cache: 486 1505
> Swap: 2053 53 2000
> creatura@creation:~>
> --------------------
>
>
>
> Code:
> --------------------
> creatura@creation:~> cat /proc/meminfo
> MemTotal: 2040508 kB
> --------------------
>
>
> Do you guys think this might be a hardware issue ? or just something
> that uses 8Mb of Ram before the OS starts ?
> After the New Year Days i will open my PC to clean it up, but before
> that i just want to get an idea about my Ram issue.

It is likely that your graphics adapter uses shared memory. My box has 3 GB,
which is 3,145,728 bytes, but ‘free’ shows 3,012,576.

I don’t think you have a problem, but the e820 tables at the head of the dmesg
output contain all the memory discovery details.

Well that would be weird… since i own a dedicated GPU card, Nvidia GeForce 9400 GT that has 1024 Mb of Vram.

Output of dmesg is here dmesg ram issue - Pastebin.com

On 2011-12-29 17:46, creatura85 wrote:
> My PC has 2Gb of RAM, interleaved and openSUSE 12.1 only see 1,9Mb of
> RAM.

I see 1.992 GiB


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Sorry, that is my mistake i was about to write 1.992Gb and typed 1,9 Mb by error.
Does dmesg says something relevant to you?

My guess is that it’s a calculation issue. Like with HDD’s. Here’s mine, from my 4GB RAM laptop:


glosscomputer@laptop:~> free -m
             total       used       free     shared    buffers     cached
Mem:          3959       3380        579          0        187       1682
-/+ buffers/cache:       1510       2449
Swap:         2053         52       2001

BTW. You’re not missing 8 MB, you’re missing 56 MB ( 2 GB = 2 x 1024 = 2048 MB) :D. And my

On 2011-12-29 21:56, creatura85 wrote:
> Does dmesg says something relevant to you?

I see lot of things related to ram, but I don’t know how to interpret all
of them, only guess :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hi
If you run the command;


dmesg |grep e820
    0.000000]  BIOS-e820: 0000000000000000 - 000000000009ac00 (usable)
    0.000000]  BIOS-e820: 000000000009ac00 - 00000000000a0000 (reserved)
    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    0.000000]  BIOS-e820: 0000000000100000 - 00000000db65f000 (usable)
    0.000000]  BIOS-e820: 00000000db65f000 - 00000000db67f000 (ACPI data)
    0.000000]  BIOS-e820: 00000000db67f000 - 00000000db76f000 (ACPI NVS)
    0.000000] BIOS-e820: 00000000db76f000 - 00000000dc000000 (reserved)
    0.000000]  BIOS-e820: 00000000dde00000 - 00000000e0000000 (reserved)
    0.000000]  BIOS-e820: 00000000f8000000 - 00000000fc000000 (reserved)
    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
    0.000000]  BIOS-e820: 00000000fed10000 - 00000000fed14000 (reserved)
    0.000000] BIOS-e820: 00000000fed18000 - 00000000fed1a000 (reserved)
    0.000000]  BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    0.000000]  BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
    0.000000]  BIOS-e820: 0000000100000000 - 0000000118000000 (usable)
    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
    0.000000] e820 update range: 00000000dc000000 - 0000000100000000 (usable) ==> (reserved)

You can calculate out your usable memory…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1:30, 3 users, load average: 0.00, 0.01, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Knurpht: thanks for that; well i know its not much since i never get to use 2Gb of RAM and of course i don`t have nothing with it if those 56Mb are used by an application, my only worry is hardware related and i hope that my RAM are still in order.

robin_listas: try and guess, i don`t mind :slight_smile:

malcolmlewis: can you tell me how can i do this? dmesg |grep e820 - Pastebin.com

On 12/30/2011 01:46 AM, creatura85 wrote:
>
> Knurpht: thanks for that; well i know its not much since i never get to
> use 2Gb of RAM and of course i don`t have nothing with it if those 56Mb

are used by an application, my only worry is hardware related and i hope
that my RAM are still in order.

robin_listas: try and guess, i don`t mind :slight_smile:
>
> malcolmlewis: can you tell me how can i do this? ‘dmesg |grep e820 -
> Pastebin.com’ (dmesg |grep e820 - Pastebin.com)

You do not need to use a pastebin for little postings.


    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    0.000000]  BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
    0.000000]  BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS)
    0.000000]  BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
    0.000000]  BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
    0.000000]  BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    0.000000] e820 update range: 0000000000000000 - 0000000000010000
(usable) ==> (reserved)
    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)

The numbers are hexadecimal. Using Kcalc with the “Numerals Settings Mode” under
Settings. The “usable” range is from 0x10000 to 0x7FFF3000 (65,536 to
2,147,430,400). Thus you have 2 GB of RAM.

I think you worry too much about details.

I just want to find out if something is wrong or not, from hardware point of view, with my RAM
That`s why i have started this topic, to get an answer.

Forgot to say it in my last post: if i have 2Gb of RAM how come Sysinfo from KDE says that i have 1,9Gb or the output from my first post ?

On 12/30/2011 02:36 PM, creatura85 wrote:
>
> Forgot to say it in my last post: if i have 2Gb of RAM how come Sysinfo
> from KDE says that i have 1,9Gb or the output from my first post ?

First of all, your e820 map shows that RAM from 0x07FFF0000 thru 0x07FFFFFFF is
reserved for ACPI purposes. That constitutes 65,536 bytes.

Secondly, the e820 update shows that 0 thru 0x0FFFF is also unusable. That is
another 1,048,576 bytes. Blame the original designers of the PC architecture for
assuming that a PC would never exceed 1 MB of RAM.

As a result, your system uses RAM between 0x100000 and 0x7FFF0000, or
2,146,369,526 bytes.

By comparison, my 3 GB system uses memory between 0x100000 and 0xbbf50000 for a
total of 3,152,347,136. When I run ‘free -b’, the total memory is 3,084,877,824.
The difference (67,469,312 bytes) is the memory that is permanently used by the
kernel and it will never be available for any other purpose. When I use ‘free
-m’, it says 2941, which is the difference between millions of bytes, and MiB
(divide by 1024 * 1024).

Well its a 6 years old PC that worked fine from the day i got it from a local IT store. Thank for clearing this out for me; i`m glad that kernel uses that memory and that is not some hardware failure. So then it means that Sysinfo from KDE and the other CLI commands are showing a correct information. :slight_smile: