Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /proc/meminfo
Date: Tue, 27 Apr 2021 05:14:36
Message-Id: f0b51b44-89f2-9522-33a1-498521780d37@sys-concept.com
In Reply to: Re: [gentoo-user] /proc/meminfo by cal
1 On 4/26/21 10:09 PM, cal wrote:
2 > On 4/26/21 8:56 PM, thelma@×××××××××××.com wrote:
3 >> My new PC has two 8GB sticks so total 16GB RAM
4 >> but cat /proc/meminfo
5 >> MemTotal:       14230648 kB
6 >>   Shouldn't it show 15GB+ ?
7 >>
8 > The kernel takes up some RAM, although I wouldn't expect 2GB worth.  You can check that with `dmesg | grep Memory:`.
9 >
10 > The other possibility is that your RAM manufacturer used "gigabyte" to mean 10^9 instead of 2^30, meaning that you actually have fewer than 16GiB.  Hard disk manufacturers have been pulling this trick for years; I'm not sure if it's common for RAM.
11 >
12 > cal
13
14 Thanks for the input. I forgot to mention that this AMD is CPU +GPU, so is it possible that GPU take some RAM?
15
16 dmesg | grep Memory
17 [ 0.065475] Memory: 14159016K/14587784K available (16397K kernel code, 2527K rwdata, 3968K rodata, 1172K init, 1552K bss, 428508K reserved, 0K cma-reserved)
18 [ 1.553492] amdgpu 0000:09:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)

Replies

Subject Author
Re: [gentoo-user] /proc/meminfo cal <cal@×××××××××.technology>