如何查看英特尔芯片组有多少共享内存?

如何查看英特尔芯片组有多少共享内存?

free -m命令得到这个结果:

          total        used        free      shared  buff/cache   available
Mem:       7653        1569         296          53        5787        5680
Swap:     16677           0       16677

/proc/meminfo/得到这个:

MemTotal:        7836716 kB
MemFree:          247608 kB
MemAvailable:    5761416 kB
Buffers:          213056 kB
Cached:          5428304 kB
SwapCached:            0 kB
Active:          2382164 kB
Inactive:        4671292 kB
Active(anon):    1354928 kB
Inactive(anon):   112176 kB
Active(file):    1027236 kB
Inactive(file):  4559116 kB
nevictable:          48 kB
Mlocked:              48 kB
SwapTotal:      17078268 kB
SwapFree:       17078268 kB
Dirty:              6876 kB
Writeback:             0 kB
AnonPages:       1412180 kB
Mapped:           523672 kB
Shmem:             55008 kB
Slab:             285340 kB
SReclaimable:     232240 kB
SUnreclaim:        53100 kB
KernelStack:        9536 kB
PageTables:        38648 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    20996624 kB
Committed_AS:    6131060 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      282236 kB
DirectMap2M:     4626432 kB
DirectMap1G:     3145728 kB

那么 Intel 芯片组的共享内存是 55008 kB(来自 Shmem 行)?共享内存是从交换中获取的,那么如何更改共享内存的大小?

我发现在 BIOS 中您可以配置(从而也可以看到)共享了多少个 RAM。

相关内容