public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Less available memory than installed
Date: Thu, 3 Jun 2021 14:03:11 -0500	[thread overview]
Message-ID: <52191203-bba5-bc5a-7981-88290bb921ea@gmail.com> (raw)
In-Reply-To: <24fd67db-6af3-3b78-0a86-2f485d9c8d32@toldi.eu>

Toldi Balázs wrote:
> Hello!
>
> In my current PC I have 16 GB of RAM installed. It worked fine until
> today, when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700.
> The system boots up just fine, but when I use the free command the
> total memory is only 8 GB. When I looked into the BIOS, it showed me
> the correct amount. What should I do?
>
> Output of some relevant commands:
>
> free -h
>
>                total        used        free      shared buff/cache  
> available
> Mem:           7,8Gi       4,4Gi       874Mi       192Mi 2,5Gi      
> 3,1Gi
>
> cat /proc/meminfo
>
> MemTotal:        8158220 kB
> MemFree:          910036 kB
> MemAvailable:    3275008 kB
> Buffers:            2848 kB
> Cached:          2492392 kB
> SwapCached:          260 kB
> Active:          1622988 kB
> Inactive:        4198676 kB
> Active(anon):       9500 kB
> Inactive(anon):  3507660 kB
> Active(file):    1613488 kB
> Inactive(file):   691016 kB
> Unevictable:          64 kB
> Mlocked:              64 kB
> SwapTotal:      16777212 kB
> SwapFree:       16775140 kB
> Dirty:               732 kB
> Writeback:             0 kB
> AnonPages:       3326444 kB
> Mapped:          1322720 kB
> Shmem:            193816 kB
> KReclaimable:     160248 kB
> Slab:             556240 kB
> SReclaimable:     160248 kB
> SUnreclaim:       395992 kB
> KernelStack:       32704 kB
> PageTables:        58964 kB
> NFS_Unstable:          0 kB
> Bounce:                0 kB
> WritebackTmp:          0 kB
> CommitLimit:    20856320 kB
> Committed_AS:   15151980 kB
> VmallocTotal:   34359738367 kB
> VmallocUsed:      260776 kB
> VmallocChunk:          0 kB
> Percpu:            10944 kB
> HugePages_Total:       0
> HugePages_Free:        0
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
> Hugetlb:               0 kB
> DirectMap4k:     1638688 kB
> DirectMap2M:     6699008 kB
> DirectMap1G:     1048576 kB
>
>
>  lshw -C memory
>
> *-memory
>        description: System Memory
>        physical id: 27
>        slot: System board or motherboard
>        size: 7967MiB
>      *-bank:0
>           description: [empty]
>           product: Unknown
>           vendor: Unknown
>           physical id: 0
>           serial: Unknown
>           slot: DIMM 0
>      *-bank:1
>           description: DIMM DDR4 Synchronous Unbuffered (Unregistered)
> 2400 MHz (0,4 ns) [empty]
>           product: 9905702-120.A00G
>           vendor: Kingston
>           physical id: 1
>           serial: EE963485
>           slot: DIMM 1
>           width: 64 bits
>           clock: 2400MHz (0.4ns)
>      *-bank:2
>           description: [empty]
>           product: Unknown
>           vendor: Unknown
>           physical id: 2
>           serial: Unknown
>           slot: DIMM 0
>      *-bank:3
>           description: DIMM DDR4 Synchronous Unbuffered (Unregistered)
> 2400 MHz (0,4 ns) [empty]
>           product: Unknown
>           vendor: Unknown
>           physical id: 3
>           serial: 08240800
>           slot: DIMM 1
>           width: 64 bits
>           clock: 2400MHz (0.4ns)
>
>
> uname -a
>
> Linux GlaDOS 5.10.27-gentoo #4 SMP Thu Jun 3 18:19:23 CEST 2021 x86_64
> AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux
>
>
>
>


Could this be a kernel setting issue?  If you boot some other media like
a USB stick, DVD/CD or something, does it show the right amount then? 
If it does, could be a kernel setting.  If not, interesting problem. 

If the BIOS sees it, I doubt it is a hardware issue.  It may not rule it
out 100% but not likely. 

It's amazing that things like this still occur when large amounts of
memory has been around for a good while now. 

Hope that helps?

Dale

:-)  :-)


  parent reply	other threads:[~2021-06-03 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03 17:16 [gentoo-user] Less available memory than installed Toldi Balázs
2021-06-03 18:59 ` Wols Lists
2021-06-03 19:03 ` Dale [this message]
2021-06-03 19:09 ` thelma
2021-06-03 20:20 ` [SOLVED] " Toldi Balázs
2021-06-03 21:06   ` Wols Lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52191203-bba5-bc5a-7981-88290bb921ea@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox