Memory in GUI does not reflect amount physically installed?

Koop

Explorer
Joined
Jan 9, 2024
Messages
59
Just for the sake of sharing information from my system:

Code:
root@truenas[~]# grep MemTotal /proc/meminfo
MemTotal:       526784192 kB
root@truenas[~]# dmesg | grep Memory:
[    0.329520] Memory: 161588A0K/535472812K available (14342K kernel code, 2326K rwdata, 8916K rodata, 2792K init, 17420K bss, 8890920K reserved, 262144K cma-reserved)
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
FWIW, one of my Core systems is showing

31.8GiB​


When 32GiB is installed.

Isn't some of the ram hidden as ROM mapping or something... 200MB sounds about right in the modern world. Ie by the BIOS

Or is it just a stupid rounding error in the UI?
 

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Or is it just a stupid rounding error in the UI?
Does FreeBSD also use /proc/meminfo or does it work different and truenas core therefore uses another source?

@Koop there's still 1.3 GB unaccounted for o_O
 
Joined
Oct 22, 2019
Messages
3,641
So my motherboard allows me to set the allocated VRAM from 32 MiB to 1 GiB.

What I can do, which will cost everyone in here a McFlurry (extra large, Oreo chunks with caramel drizzle), is set it to 32 MiB, reboot, and then set it to 1 GiB, reboot, and see the differences in the dashboard as well as in the command-line.

But not today. I really hate rebooting.
 

nabsltd

Contributor
Joined
Jul 1, 2022
Messages
133
Windows reports 63.9 GB for my 64 GB, so there's that. But windows also shows GB and TB but actually means GiB and TiB, sooo....
Every OS ever has always reported everything as a power of two. KB/MB/GB/TB started out as referring to power of two, but some idiot decided that "K = 1000, not 1024", even though SI units never entered into the meaning of the K/M/G/T. Everybody knew that when referring to computers, it was power of 2 related, not power of 10. So, 128GB of disk could hold exactly the same data as 128GB of RAM. This still holds true for most operating systems that users interact with. On Windows and MacOS, 128GB of RAM is the same as 128GB of formatted disk space, and both are reported using the old way of meaning "power of 2". Only *nix derivatives have changed to show 128GiB of RAM and 128GiB of disk.

But, again, that same group of idiots demanded that an "i" should be inserted (KiB/MiB/GiB/TiB) to refer to power of 2 so that SI pedants would no longer be upset. It's likely that group of idiots manufactured hard drives, so that they could then give us less usable space for the same text in the advertisement, and then footnote that they were using "proper SI notation". Raw hard disk space as advertised by the manufacturer is the only part of sizes in computers that has changed from the old power of 2 system, and things like RAM and LAN speed often still use the old KB/MB/GB/TB abbreviations to mean power of two.

If hard drive manufacturers had not done this, there would be no issue, as we would still use the old "not SI" version.

That said, it's pretty obvious that TrueNAS Scale reporting 502GiB of RAM total installed when there is 512GiB installed is completely wrong. No hardware would use up 10GiB of system RAM without that number being easy to find (iGPU config, etc.).
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
No hardware would use up 10GiB of system RAM without that number being easy to find (iGPU config, etc.).
You'd be surprised. Hardware reservations can easily eat up lots of memory.

@Koop Fire off a dmidecode -t 17 | grep Size and see if it's recognizing all of your memory, and then grep the top of your dmesg for the word reserved
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Since I'm seeing proportionately the same thing:
Code:
root@truenas[~]# grep MemTotal /proc/meminfo
MemTotal:       131647028 kB
root@truenas[~]# dmesg | grep Memory:
[    0.113802] Memory: 1872196K/133868564K available (14342K kernel code, 2326K rwdata, 8912K rodata, 2796K init, 17420K bss, 2301308K reserved, 262144K cma-reserved)
root@truenas[~]# dmidecode -t 17 | grep Size
    Size: 32 GB
    Non-Volatile Size: None
    Volatile Size: 32 GB
    Cache Size: None
    Logical Size: None
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
    Size: 32 GB
    Non-Volatile Size: None
    Volatile Size: 32 GB
    Cache Size: None
    Logical Size: None
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
    Size: 32 GB
    Non-Volatile Size: None
    Volatile Size: 32 GB
    Cache Size: None
    Logical Size: None
    Size: 32 GB
    Non-Volatile Size: None
    Volatile Size: 32 GB
    Cache Size: None
    Logical Size: None
    Size: No Module Installed
    Size: No Module Installed
    Size: No Module Installed
root@truenas[~]# dmesg | head -n 200 | grep reserved
[    0.000000] BIOS-e820: [mem 0x0000000000098c00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000069ce6000-0x000000006bde5fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000006d5d0000-0x000000006faeffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000070000000-0x000000008fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd000000-0x00000000fe7fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed44fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.006434] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.007533] e820: update [mem 0x70000000-0x73ffffff] usable ==> reserved
[    0.007538] e820: update [mem 0x80000000-0xffffffff] usable ==> reserved
 

Koop

Explorer
Joined
Jan 9, 2024
Messages
59
You'd be surprised. Hardware reservations can easily eat up lots of memory.

@Koop Fire off a dmidecode -t 17 | grep Size and see if it's recognizing all of your memory, and then grep the top of your dmesg for the word reserved

Code:
root@truenas(~]# dmidecode -t 17 | grep Size
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
Size: 64 GB
Non-Volatile Size: None
Volatile Size: 64 GB
Cache Size: None
Logical Size: None
root@truenas [“]#


Looks like we're all accounted for here.

Code:
sudo dmesg | grep reserved
[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000069c7a000-0x000000006bd79fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000006d528000-0x000000006f859fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000070000000-0x000000008fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fd000000-0x00000000fe7fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed44fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000018] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000882] e820: update [mem 0x70000000-0x73ffffff] usable ==> reserved
[    0.000887] e820: update [mem 0x80000000-0xffffffff] usable ==> reserved
[    0.013087] e820: update [mem 0x62706000-0x62706fff] usable ==> reserved
[    0.019733] e820: update [mem 0x6317b000-0x633bbfff] usable ==> reserved
[    0.329500] Memory: 1615880K/535472812K available (14342K kernel code, 2326K rwdata, 8916K rodata, 2792K init, 17420K bss, 8890920K reserved, 262144K cma-reserved)
[    1.198785] Node 0 DMA free:15360kB boost:0kB min:0kB low:0kB high:0kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15996kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.198858] 2192106 pages reserved
[    1.198861] 65536 pages cma reserved
[    1.199066] PCI: MMCONFIG at [mem 0x80000000-0x8fffffff] reserved in E820
[    1.847108] system 00:01: [io  0x0500-0x05fe] has been reserved
[    1.847116] system 00:01: [io  0x0400-0x047f] has been reserved
[    1.847122] system 00:01: [io  0x0600-0x061f] has been reserved
[    1.847128] system 00:01: [io  0x0880-0x0883] has been reserved
[    1.847133] system 00:01: [io  0x0800-0x081f] could not be reserved
[    1.847139] system 00:01: [mem 0xfed1c000-0xfed3ffff] could not be reserved
[    1.847145] system 00:01: [mem 0xfed45000-0xfed8bfff] has been reserved
[    1.847150] system 00:01: [mem 0xff000000-0xffffffff] has been reserved
[    1.847156] system 00:01: [mem 0xfee00000-0xfeefffff] has been reserved
[    1.847161] system 00:01: [mem 0xfed12000-0xfed1200f] has been reserved
[    1.847166] system 00:01: [mem 0xfed12010-0xfed1201f] has been reserved
[    1.847172] system 00:01: [mem 0xfed1b000-0xfed1bfff] has been reserved
[    1.847683] system 00:02: [io  0x0a00-0x0a0f] has been reserved
[    1.847689] system 00:02: [io  0x0a10-0x0a1f] has been reserved
[    1.847694] system 00:02: [io  0x0a20-0x0a2f] has been reserved
[    1.847699] system 00:02: [io  0x0a30-0x0a3f] has been reserved
[    1.848721] system 00:05: [mem 0xfd000000-0xfdabffff] has been reserved
[    1.848729] system 00:05: [mem 0xfdad0000-0xfdadffff] has been reserved
[    1.848735] system 00:05: [mem 0xfdb00000-0xfdffffff] has been reserved
[    1.848740] system 00:05: [mem 0xfe000000-0xfe00ffff] has been reserved
[    1.848745] system 00:05: [mem 0xfe011000-0xfe01ffff] has been reserved
[    1.848751] system 00:05: [mem 0xfe036000-0xfe03bfff] has been reserved
[    1.848756] system 00:05: [mem 0xfe03d000-0xfe3fffff] has been reserved
[    1.848761] system 00:05: [mem 0xfe410000-0xfe7fffff] has been reserved
[    1.849128] system 00:06: [io  0x0f00-0x0ffe] has been reserved


I see those big reserved numbers, hm hm... Reserved for what though?
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
The linux-iomem script from here works well to correlate system memory to physical devices.


Code:
while IFS='-: ' read b e used_by; do
     set -- $(printf "%d %d" 0x$b 0x$e)
     echo "$1 to $2 bytes ($(($1/1024/1024)) to $(($2/1024/1024)) Mb) - $used_by"
done < /proc/iomem
 

Koop

Explorer
Joined
Jan 9, 2024
Messages
59
The linux-iomem script from here works well to correlate system memory to physical devices.


Code:
while IFS='-: ' read b e used_by; do
     set -- $(printf "%d %d" 0x$b 0x$e)
     echo "$1 to $2 bytes ($(($1/1024/1024)) to $(($2/1024/1024)) Mb) - $used_by"
done < /proc/iomem

Code:
0 to 4095 bytes (0 to 0 Mb) - Reserved
4096 to 655359 bytes (0 to 0 Mb) - System RAM
655360 to 1048575 bytes (0 to 0 Mb) - Reserved
655360 to 786431 bytes (0 to 0 Mb) - PCI Bus 0000:00
802816 to 819199 bytes (0 to 0 Mb) - PCI Bus 0000:00
983040 to 1048575 bytes (0 to 0 Mb) - System ROM
1048576 to 1662496767 bytes (1 to 1585 Mb) - System RAM
1662496768 to 1664860159 bytes (1585 to 1587 Mb) - Reserved
1664860160 to 1720344575 bytes (1587 to 1640 Mb) - System RAM
1720344576 to 1720348671 bytes (1640 to 1640 Mb) - Reserved
1720348672 to 1774690303 bytes (1640 to 1692 Mb) - System RAM
1774690304 to 1809293311 bytes (1692 to 1725 Mb) - Reserved
1790996480 to 1792176127 bytes (1708 to 1709 Mb) - Elog Table
1792176128 to 1792196671 bytes (1709 to 1709 Mb) - L1 Table
1792200728 to 1792200728 bytes (1709 to 1709 Mb) - APEI ERST
1792200732 to 1792200737 bytes (1709 to 1709 Mb) - APEI ERST
1792200744 to 1792200761 bytes (1709 to 1709 Mb) - APEI ERST
1792200768 to 1792200780 bytes (1709 to 1709 Mb) - APEI ERST
1792200784 to 1792208975 bytes (1709 to 1709 Mb) - APEI ERST
1809293312 to 1819172863 bytes (1725 to 1734 Mb) - System RAM
1819172864 to 1834123263 bytes (1734 to 1749 Mb) - ACPI Non-volatile Storage
1834123264 to 1871028223 bytes (1749 to 1784 Mb) - Reserved
1871028224 to 1873649663 bytes (1784 to 1786 Mb) - Unknown E820 type
1873649664 to 1879048191 bytes (1786 to 1791 Mb) - System RAM
1879048192 to 2415919103 bytes (1792 to 2303 Mb) - Reserved
2147483648 to 2415919103 bytes (2048 to 2303 Mb) - PCI MMCONFIG 0000 [bus 00-ff]
2415919104 to 2868903935 bytes (2304 to 2735 Mb) - PCI Bus 0000:00
2835349504 to 2853175295 bytes (2704 to 2720 Mb) - PCI Bus 0000:02
2835349504 to 2853175295 bytes (2704 to 2720 Mb) - PCI Bus 0000:03
2835349504 to 2852126719 bytes (2704 to 2719 Mb) - 0000:03:00.0
2852126720 to 2852257791 bytes (2720 to 2720 Mb) - 0000:03:00.0
2853175296 to 2854223871 bytes (2721 to 2721 Mb) - PCI Bus 0000:04
2853175296 to 2853191679 bytes (2721 to 2721 Mb) - 0000:04:00.0
2853175296 to 2853191679 bytes (2721 to 2721 Mb) - nvme
2854223872 to 2855272447 bytes (2722 to 2722 Mb) - PCI Bus 0000:01
2854223872 to 2854240255 bytes (2722 to 2722 Mb) - 0000:01:00.0
2854223872 to 2854240255 bytes (2722 to 2722 Mb) - nvme
2855272448 to 2855796735 bytes (2723 to 2723 Mb) - 0000:00:17.0
2855272448 to 2855796735 bytes (2723 to 2723 Mb) - ahci
2855796736 to 2856321023 bytes (2723 to 2723 Mb) - 0000:00:11.5
2855796736 to 2856321023 bytes (2723 to 2723 Mb) - ahci
2856321024 to 2856386559 bytes (2724 to 2724 Mb) - 0000:00:14.0
2856321024 to 2856386559 bytes (2724 to 2724 Mb) - xhci-hcd
2856386560 to 2856402943 bytes (2724 to 2724 Mb) - 0000:00:1f.2
2856402944 to 2856411135 bytes (2724 to 2724 Mb) - 0000:00:17.0
2856402944 to 2856411135 bytes (2724 to 2724 Mb) - ahci
2856411136 to 2856419327 bytes (2724 to 2724 Mb) - 0000:00:11.5
2856411136 to 2856419327 bytes (2724 to 2724 Mb) - ahci
2856419328 to 2856419583 bytes (2724 to 2724 Mb) - 0000:00:17.0
2856419328 to 2856419583 bytes (2724 to 2724 Mb) - ahci
2856423424 to 2856423679 bytes (2724 to 2724 Mb) - 0000:00:11.5
2856423424 to 2856423679 bytes (2724 to 2724 Mb) - ahci
2856427520 to 2856431615 bytes (2724 to 2724 Mb) - 0000:00:05.4
2868883456 to 2868883711 bytes (2735 to 2735 Mb) - 0000:00:1f.4
2868887552 to 2868891647 bytes (2735 to 2735 Mb) - dmar3
2868903936 to 3321888767 bytes (2736 to 3167 Mb) - PCI Bus 0000:16
3317694464 to 3320840191 bytes (3164 to 3166 Mb) - PCI Bus 0000:17
3317694464 to 3318743039 bytes (3164 to 3164 Mb) - 0000:17:00.0
3318743040 to 3319791615 bytes (3165 to 3165 Mb) - PCI Bus 0000:18
3318743040 to 3319791615 bytes (3165 to 3165 Mb) - PCI Bus 0000:19
3318743040 to 3319267327 bytes (3165 to 3165 Mb) - 0000:19:00.0
3319267328 to 3319791615 bytes (3165 to 3165 Mb) - 0000:19:00.1
3319791616 to 3319922687 bytes (3166 to 3166 Mb) - 0000:17:00.0
3320840192 to 3320844287 bytes (3167 to 3167 Mb) - 0000:16:05.4
3321872384 to 3321876479 bytes (3167 to 3167 Mb) - dmar0
3321888768 to 3774873599 bytes (3168 to 3599 Mb) - PCI Bus 0000:64
3773825024 to 3773829119 bytes (3599 to 3599 Mb) - 0000:64:05.4
3774857216 to 3774861311 bytes (3599 to 3599 Mb) - dmar1
3774873600 to 4227858431 bytes (3600 to 4031 Mb) - PCI Bus 0000:b2
4224712704 to 4226809855 bytes (4029 to 4030 Mb) - PCI Bus 0000:b3
4224712704 to 4225761279 bytes (4029 to 4029 Mb) - 0000:b3:00.0
4225761280 to 4226023423 bytes (4030 to 4030 Mb) - 0000:b3:00.0
4225761280 to 4226023423 bytes (4030 to 4030 Mb) - mpt3sas
4226023424 to 4226088959 bytes (4030 to 4030 Mb) - 0000:b3:00.0
4226023424 to 4226088959 bytes (4030 to 4030 Mb) - mpt3sas
4226809856 to 4226813951 bytes (4031 to 4031 Mb) - 0000:b2:05.4
4227842048 to 4227846143 bytes (4031 to 4031 Mb) - dmar2
4244635648 to 4269801471 bytes (4048 to 4071 Mb) - Reserved
4244635648 to 4255907839 bytes (4048 to 4058 Mb) - pnp 00:05
4255973376 to 4256038911 bytes (4058 to 4058 Mb) - pnp 00:05
4256169984 to 4261412863 bytes (4059 to 4063 Mb) - pnp 00:05
4257611788 to 4257611791 bytes (4060 to 4060 Mb) - iTCO_wdt
4261412864 to 4261478399 bytes (4064 to 4064 Mb) - pnp 00:05
4261478400 to 4261482495 bytes (4064 to 4064 Mb) - PCI Bus 0000:00
4261478400 to 4261482495 bytes (4064 to 4064 Mb) - 0000:00:1f.5
4261482496 to 4261543935 bytes (4064 to 4064 Mb) - pnp 00:05
4261634048 to 4261658623 bytes (4064 to 4064 Mb) - pnp 00:05
4261662720 to 4265607167 bytes (4064 to 4067 Mb) - pnp 00:05
4265672704 to 4269801471 bytes (4068 to 4071 Mb) - pnp 00:05
4273995776 to 4275044351 bytes (4076 to 4076 Mb) - PNP0003:00
4273995776 to 4273996799 bytes (4076 to 4076 Mb) - IOAPIC 0
4273999872 to 4274000895 bytes (4076 to 4076 Mb) - IOAPIC 1
4274028544 to 4274029567 bytes (4076 to 4076 Mb) - IOAPIC 2
4274061312 to 4274062335 bytes (4076 to 4076 Mb) - IOAPIC 3
4274094080 to 4274095103 bytes (4076 to 4076 Mb) - IOAPIC 4
4275044352 to 4275045375 bytes (4077 to 4077 Mb) - HPET 0
4275044352 to 4275045375 bytes (4077 to 4077 Mb) - PNP0103:00
4275118080 to 4275118095 bytes (4077 to 4077 Mb) - pnp 00:01
4275118096 to 4275118111 bytes (4077 to 4077 Mb) - pnp 00:01
4275154944 to 4275159039 bytes (4077 to 4077 Mb) - pnp 00:01
4275175424 to 4275326975 bytes (4077 to 4077 Mb) - Reserved
4275326976 to 4275617791 bytes (4077 to 4077 Mb) - pnp 00:01
4276092928 to 4277141503 bytes (4078 to 4078 Mb) - pnp 00:01
4276092928 to 4276097023 bytes (4078 to 4078 Mb) - Local APIC
4278190080 to 4294967295 bytes (4080 to 4095 Mb) - Reserved
4278190080 to 4294967295 bytes (4080 to 4095 Mb) - pnp 00:01
4294967296 to 550829555711 bytes (4096 to 525311 Mb) - System RAM
195595075584 to 195609762753 bytes (186534 to 186548 Mb) - Kernel code
195611852800 to 195620982783 bytes (186550 to 186558 Mb) - Kernel rodata
195622338560 to 195624720575 bytes (186560 to 186562 Mb) - Kernel data
195631763456 to 195649601535 bytes (186568 to 186585 Mb) - Kernel bss
61572651155456 to 61847529062399 bytes (58720256 to 58982399 Mb) - PCI Bus 0000:00
61847528013824 to 61847528030207 bytes (58982399 to 58982399 Mb) - 0000:00:04.7
61847528013824 to 61847528030207 bytes (58982399 to 58982399 Mb) - ioatdma
61847528030208 to 61847528046591 bytes (58982399 to 58982399 Mb) - 0000:00:04.6
61847528030208 to 61847528046591 bytes (58982399 to 58982399 Mb) - ioatdma
61847528046592 to 61847528062975 bytes (58982399 to 58982399 Mb) - 0000:00:04.5
61847528046592 to 61847528062975 bytes (58982399 to 58982399 Mb) - ioatdma
61847528062976 to 61847528079359 bytes (58982399 to 58982399 Mb) - 0000:00:04.4
61847528062976 to 61847528079359 bytes (58982399 to 58982399 Mb) - ioatdma
61847528079360 to 61847528095743 bytes (58982399 to 58982399 Mb) - 0000:00:04.3
61847528079360 to 61847528095743 bytes (58982399 to 58982399 Mb) - ioatdma
61847528095744 to 61847528112127 bytes (58982399 to 58982399 Mb) - 0000:00:04.2
61847528095744 to 61847528112127 bytes (58982399 to 58982399 Mb) - ioatdma
61847528112128 to 61847528128511 bytes (58982399 to 58982399 Mb) - 0000:00:04.1
61847528112128 to 61847528128511 bytes (58982399 to 58982399 Mb) - ioatdma
61847528128512 to 61847528144895 bytes (58982399 to 58982399 Mb) - 0000:00:04.0
61847528128512 to 61847528144895 bytes (58982399 to 58982399 Mb) - ioatdma
61847528144896 to 61847528148991 bytes (58982399 to 58982399 Mb) - 0000:00:16.4
61847528148992 to 61847528153087 bytes (58982399 to 58982399 Mb) - 0000:00:16.1
61847528153088 to 61847528157183 bytes (58982399 to 58982399 Mb) - 0000:00:16.0
61847528157184 to 61847528161279 bytes (58982399 to 58982399 Mb) - 0000:00:14.2
61847528157184 to 61847528161279 bytes (58982399 to 58982399 Mb) - Intel PCH thermal driver
61847529062400 to 62122406969343 bytes (58982400 to 59244543 Mb) - PCI Bus 0000:16
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:17
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:18
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:19
61847529062400 to 61847545839615 bytes (58982400 to 58982415 Mb) - 0000:19:00.0
61847529062400 to 61847545839615 bytes (58982400 to 58982415 Mb) - i40e
61847545839616 to 61847562616831 bytes (58982416 to 58982431 Mb) - 0000:19:00.1
61847545839616 to 61847562616831 bytes (58982416 to 58982431 Mb) - i40e
61847562616832 to 61847571005439 bytes (58982432 to 58982439 Mb) - 0000:19:00.0
61847571005440 to 61847579394047 bytes (58982440 to 58982447 Mb) - 0000:19:00.1
61847579394048 to 61847579426815 bytes (58982448 to 58982448 Mb) - 0000:19:00.0
61847579394048 to 61847579426815 bytes (58982448 to 58982448 Mb) - i40e
61847579426816 to 61847579459583 bytes (58982448 to 58982448 Mb) - 0000:19:00.1
61847579426816 to 61847579459583 bytes (58982448 to 58982448 Mb) - i40e
61847579459584 to 61847580508159 bytes (58982448 to 58982449 Mb) - 0000:19:00.0
61847580508160 to 61847581556735 bytes (58982449 to 58982450 Mb) - 0000:19:00.1
62122406969344 to 62397284876287 bytes (59244544 to 59506687 Mb) - PCI Bus 0000:64
62397284876288 to 62672162783231 bytes (59506688 to 59768831 Mb) - PCI Bus 0000:b2


Hmmm well I guess certainly more human readable but not sure what I'm supposed to find haha.
 

Bainnor

Dabbler
Joined
Nov 26, 2023
Messages
17
655360 to 1048575 bytes (0 to 0 Mb) - Reserved
655360 to 786431 bytes (0 to 0 Mb) - PCI Bus 0000:00
802816 to 819199 bytes (0 to 0 Mb) - PCI Bus 0000:00
983040 to 1048575 bytes (0 to 0 Mb) - System ROM

Hmm, I had assumed the marketing shenanigans with hard drives also applied to ram. Glad to learn I was wrong. Looking at the data, there's a few sections such as the quote above where the byte values overlap, which is probably just indicating that 'this large area is reserved, this subset of that area is reserved for x'. Taking those out, you can actually calculate the total bytes listed, deduct them from the total bytes available in 512 GB/GiB, which leaves ~509.64.

4294967296 to 550829555711 bytes (4096 to 525311 Mb) - System RAM

Doing the same calculation here yields 509 GiB of system ram, roughly matching above.

61572651155456 to 61847529062399 bytes (58720256 to 58982399 Mb) - PCI Bus 0000:00
61847528013824 to 61847528030207 bytes (58982399 to 58982399 Mb) - 0000:00:04.7
61847528013824 to 61847528030207 bytes (58982399 to 58982399 Mb) - ioatdma
61847528030208 to 61847528046591 bytes (58982399 to 58982399 Mb) - 0000:00:04.6
61847528030208 to 61847528046591 bytes (58982399 to 58982399 Mb) - ioatdma
61847528046592 to 61847528062975 bytes (58982399 to 58982399 Mb) - 0000:00:04.5
61847528046592 to 61847528062975 bytes (58982399 to 58982399 Mb) - ioatdma
61847528062976 to 61847528079359 bytes (58982399 to 58982399 Mb) - 0000:00:04.4
61847528062976 to 61847528079359 bytes (58982399 to 58982399 Mb) - ioatdma
61847528079360 to 61847528095743 bytes (58982399 to 58982399 Mb) - 0000:00:04.3
61847528079360 to 61847528095743 bytes (58982399 to 58982399 Mb) - ioatdma
61847528095744 to 61847528112127 bytes (58982399 to 58982399 Mb) - 0000:00:04.2
61847528095744 to 61847528112127 bytes (58982399 to 58982399 Mb) - ioatdma
61847528112128 to 61847528128511 bytes (58982399 to 58982399 Mb) - 0000:00:04.1
61847528112128 to 61847528128511 bytes (58982399 to 58982399 Mb) - ioatdma
61847528128512 to 61847528144895 bytes (58982399 to 58982399 Mb) - 0000:00:04.0
61847528128512 to 61847528144895 bytes (58982399 to 58982399 Mb) - ioatdma
61847528144896 to 61847528148991 bytes (58982399 to 58982399 Mb) - 0000:00:16.4
61847528148992 to 61847528153087 bytes (58982399 to 58982399 Mb) - 0000:00:16.1
61847528153088 to 61847528157183 bytes (58982399 to 58982399 Mb) - 0000:00:16.0
61847528157184 to 61847528161279 bytes (58982399 to 58982399 Mb) - 0000:00:14.2
61847528157184 to 61847528161279 bytes (58982399 to 58982399 Mb) - Intel PCH thermal driver
61847529062400 to 62122406969343 bytes (58982400 to 59244543 Mb) - PCI Bus 0000:16
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:17
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:18
61847529062400 to 61847612948479 bytes (58982400 to 58982479 Mb) - PCI Bus 0000:19
61847529062400 to 61847545839615 bytes (58982400 to 58982415 Mb) - 0000:19:00.0
61847529062400 to 61847545839615 bytes (58982400 to 58982415 Mb) - i40e
61847545839616 to 61847562616831 bytes (58982416 to 58982431 Mb) - 0000:19:00.1
61847545839616 to 61847562616831 bytes (58982416 to 58982431 Mb) - i40e
61847562616832 to 61847571005439 bytes (58982432 to 58982439 Mb) - 0000:19:00.0
61847571005440 to 61847579394047 bytes (58982440 to 58982447 Mb) - 0000:19:00.1
61847579394048 to 61847579426815 bytes (58982448 to 58982448 Mb) - 0000:19:00.0
61847579394048 to 61847579426815 bytes (58982448 to 58982448 Mb) - i40e
61847579426816 to 61847579459583 bytes (58982448 to 58982448 Mb) - 0000:19:00.1
61847579426816 to 61847579459583 bytes (58982448 to 58982448 Mb) - i40e
61847579459584 to 61847580508159 bytes (58982448 to 58982449 Mb) - 0000:19:00.0
61847580508160 to 61847581556735 bytes (58982449 to 58982450 Mb) - 0000:19:00.1
62122406969344 to 62397284876287 bytes (59244544 to 59506687 Mb) - PCI Bus 0000:64
62397284876288 to 62672162783231 bytes (59506688 to 59768831 Mb) - PCI Bus 0000:b2

No idea what this represents, as this should be outside your RAM range. (E.g. PCI Bus 0000:b2 has 255GiB mapped, according to the total bytes)

It does seem like something's still missing, as your system is reporting 502, not 509.
 

Koop

Explorer
Joined
Jan 9, 2024
Messages
59
Doing the same calculation here yields 509 GiB of system ram, roughly matching above.

No idea what this represents, as this should be outside your RAM range. (E.g. PCI Bus 0000:b2 has 255GiB mapped, according to the total bytes)

It does seem like something's still missing, as your system is reporting 502, not 509.

Thanks for taking a read @Bainnor I too saw the System RAM range but still had a lot of trouble understanding the rest. Curious if someone with more knowledge can step in to help explain.

At this point it's more just to understand and learn.
 
Top