@xq772 #10 发布于2026/9/17 20:58:27 你可以执行这俩命令看看 dmesg -T | grep -Ei 'memory|hotplug|balloon' lsmem root@frserver:~# dmesg -T | grep -Ei 'memory|hotplug|balloon' [Thu Sep 17 12:31:52 2026] DMI: Memory slots populated: 1/1 [Thu Sep 17 12:31:52 2026] ACPI: Reserving FACP table memory at [mem 0xbffe2d15-0xbffe2d88] [Thu Sep 17 12:31:52 2026] ACPI: Reserving DSDT table memory at [mem 0xbffdf040-0xbffe2d14] [Thu Sep 17 12:31:52 2026] ACPI: Reserving FACS table memory at [mem 0xbffdf000-0xbffdf03f] [Thu Sep 17 12:31:52 2026] ACPI: Reserving APIC table memory at [mem 0xbffe2d89-0xbffe2e08] [Thu Sep 17 12:31:52 2026] ACPI: Reserving SSDT table memory at [mem 0xbffe2e09-0xbffe2ed2] [Thu Sep 17 12:31:52 2026] ACPI: Reserving HPET table memory at [mem 0xbffe2ed3-0xbffe2f0a] [Thu Sep 17 12:31:52 2026] ACPI: Reserving WAET table memory at [mem 0xbffe2f0b-0xbffe2f32] [Thu Sep 17 12:31:52 2026] Early memory node ranges [Thu Sep 17 12:31:52 2026] CPU topo: Allowing 2 present CPUs plus 0 hotplug CPUs [Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff] [Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0xbffda000-0xffffffff] [Thu Sep 17 12:31:53 2026] Freeing SMP alternatives memory: 40K [Thu Sep 17 12:31:53 2026] Memory: 8109488K/8388064K available (16384K kernel code, 2506K rwdata, 11008K rodata, 3940K init, 5280K bss, 274432K reserved, 0K cma-reserved) [Thu Sep 17 12:31:53 2026] x86/mm: Memory block size: 128MB [Thu Sep 17 12:31:53 2026] Freeing initrd memory: 18288K [Thu Sep 17 12:31:54 2026] Freeing unused decrypted memory: 2028K [Thu Sep 17 12:31:54 2026] Freeing unused kernel image (initmem) memory: 3940K [Thu Sep 17 12:31:54 2026] Freeing unused kernel image (rodata/data gap) memory: 1280K root@frserver:~# lsmem RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x00000000bfffffff 3G online yes 0-23 0x0000000100000000-0x000000023fffffff 5G online yes 32-71 Memory block size: 128M Total online memory: 8G Total offline memory: 0B 应该是没问题了,还是8g内存
root@frserver:~# dmesg -T | grep -Ei 'memory|hotplug|balloon'
[Thu Sep 17 12:31:52 2026] DMI: Memory slots populated: 1/1
[Thu Sep 17 12:31:52 2026] ACPI: Reserving FACP table memory at [mem 0xbffe2d15-0xbffe2d88]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving DSDT table memory at [mem 0xbffdf040-0xbffe2d14]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving FACS table memory at [mem 0xbffdf000-0xbffdf03f]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving APIC table memory at [mem 0xbffe2d89-0xbffe2e08]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving SSDT table memory at [mem 0xbffe2e09-0xbffe2ed2]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving HPET table memory at [mem 0xbffe2ed3-0xbffe2f0a]
[Thu Sep 17 12:31:52 2026] ACPI: Reserving WAET table memory at [mem 0xbffe2f0b-0xbffe2f32]
[Thu Sep 17 12:31:52 2026] Early memory node ranges
[Thu Sep 17 12:31:52 2026] CPU topo: Allowing 2 present CPUs plus 0 hotplug CPUs
[Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[Thu Sep 17 12:31:52 2026] PM: hibernation: Registered nosave memory: [mem 0xbffda000-0xffffffff]
[Thu Sep 17 12:31:53 2026] Freeing SMP alternatives memory: 40K
[Thu Sep 17 12:31:53 2026] Memory: 8109488K/8388064K available (16384K kernel code, 2506K rwdata, 11008K rodata, 3940K init, 5280K bss, 274432K reserved, 0K cma-reserved)
[Thu Sep 17 12:31:53 2026] x86/mm: Memory block size: 128MB
[Thu Sep 17 12:31:53 2026] Freeing initrd memory: 18288K
[Thu Sep 17 12:31:54 2026] Freeing unused decrypted memory: 2028K
[Thu Sep 17 12:31:54 2026] Freeing unused kernel image (initmem) memory: 3940K
[Thu Sep 17 12:31:54 2026] Freeing unused kernel image (rodata/data gap) memory: 1280K
root@frserver:~# lsmem
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x00000000bfffffff 3G online yes 0-23
0x0000000100000000-0x000000023fffffff 5G online yes 32-71
Memory block size: 128M
Total online memory: 8G
Total offline memory: 0B
应该是没问题了,还是8g内存
何意味??
ballooning了解下