free
[root@prod-proxy ~]# free
total used free shared buff/cache available
Mem: 3882068 3141060 241096 84568 499912 416752
Swap: 4063228 268492 3794736
vmstat
[root@prod-proxy ~]# vmstat -s
3882068 K total memory
3141044 K used memory
404484 K active memory
576084 K inactive memory
241156 K free memory
0 K buffer memory
499868 K swap cache
4063228 K total swap
268492 K used swap
3794736 K free swap
417996 non-nice user cpu ticks
123 nice user cpu ticks
254854 system cpu ticks
250875137 idle cpu ticks
29110 IO-wait cpu ticks
0 IRQ cpu ticks
4224 softirq cpu ticks
0 stolen cpu ticks
30145509 pages paged in
14402972 pages paged out
84658 pages swapped in
167548 pages swapped out
515208619 interrupts
502282681 CPU context switches
1629389412 boot time
511165 forks
smem
[root@prod-proxy ~]# smem -tw
Area Used Cache Noncache
firmware/hardware 0 0 0
kernel image 0 0 0
kernel dynamic memory 3075112 430132 2644980
userspace memory 557908 38304 519604
free memory 249048 249048 0
----------------------------------------------------------
3882068 717484 3164584
[root@prod-proxy ~]# smem -twp
Area Used Cache Noncache
firmware/hardware 0.00% 0.00% 0.00%
kernel image 0.00% 0.00% 0.00%
kernel dynamic memory 79.21% 11.08% 68.13%
userspace memory 14.37% 0.99% 13.39%
free memory 6.42% 6.42% 0.00%
----------------------------------------------------------
100.00% 18.49% 81.51%
[root@prod-proxy ~]# smem -t
PID User Command Swap USS PSS RSS
838 root /sbin/agetty --noclear tty1 124 4 14 264
622 root /usr/sbin/lvmetad -f 2540 4 16 332
1074 zabbix /usr/sbin/zabbix_agentd -c 784 4 26 344
811 root /usr/bin/VGAuthService -s 1608 4 45 524
627 root /usr/lib/systemd/systemd-ud 464 88 102 460
1265 postfix qmgr -l -t unix -u 952 132 144 468
1242 root /usr/libexec/postfix/master 960 136 151 496
1057 root /usr/sbin/sshd -D 876 104 174 668
1085 zabbix /usr/sbin/zabbix_agentd: ac 832 132 174 620
16087 root /usr/sbin/crond -n 516 144 181 452
782 root /sbin/auditd 332 180 197 520
812 root /usr/sbin/irqbalance --fore 168 184 203 556
1079 zabbix /usr/sbin/zabbix_agentd: li 820 108 214 856
1078 zabbix /usr/sbin/zabbix_agentd: li 824 108 216 868
1077 zabbix /usr/sbin/zabbix_agentd: li 820 112 221 868
1076 zabbix /usr/sbin/zabbix_agentd: co 724 212 256 652
824 chrony /usr/sbin/chronyd 360 268 288 672
815 dbus /bin/dbus-daemon --system - 220 580 594 932
832 root /usr/lib/systemd/systemd-lo 304 600 635 1040
805 polkitd /usr/lib/polkit-1/polkitd - 7164 464 689 1388
1056 root /usr/bin/python -Es /usr/sb 10280 848 888 1360
831 root /usr/bin/vmtoolsd 1036 816 915 1536
24137 root -bash 0 424 952 2072
24040 sysadmin -bash 0 500 1021 2148
24136 root su - 0 656 1089 2396
24039 sysadmin sshd: sysadmin@pts/0 0 316 1152 2396
830 root /usr/sbin/NetworkManager -- 1580 936 1166 1888
24135 root sudo su - 0 1140 1546 2940
1 root /usr/lib/systemd/systemd -- 188 2060 2114 2592
21790 postfix pickup -l -t unix -u 0 1984 2599 4032
24037 root sshd: sysadmin [priv 0 1144 2785 5480
24155 root python /bin/smem -t 0 6888 7040 7788
806 root /usr/sbin/rsyslogd -n 81240 3712 9193 16372
594 root /usr/lib/systemd/systemd-jo 136 2724 9524 19212
1058 root /usr/share/filebeat/bin/fil 2076 15572 15580 15804
1461 mservice /usr/local/jdk/jdk_running/ 153968 496876 496924 497392
-------------------------------------------------------------------------------
36 8 271896 540164 559028 598388
[root@prod-proxy ~]# smem -tu
User Count Swap USS PSS RSS
chrony 1 360 268 288 672
dbus 1 220 580 594 932
polkitd 1 7164 464 689 1388
zabbix 6 4804 676 1107 4208
sysadmin 2 0 816 2173 4544
postfix 2 952 2116 2743 4500
root 22 104428 39004 55145 85392
mservice 1 153968 496876 496924 497392
---------------------------------------------------
36 271896 540800 559663 599028
dmesg
4G物理内存,but 5242880k=5G。咋滴?
Memory: 3860016k/5242880k available (6886k kernel code, 1049032k absent, 333832k reserved, 4545k data, 1764k init)
5242880 - 3860016 = 1382864
6886 + 1049032 + 333832 + 4545 + 1764 = 1396059
dmesg 可用提示 3860016k , free 提示3882068k
[root@prod-proxy ~]# free
total used free shared buff/cache available
Mem: 3882068 3141232 231452 92448 509384 408144
Swap: 4063228 268492 3794736
Zone ranges:
DMA [mem 0x00001000-0x00ffffff] # 16 mb
DMA32 [mem 0x01000000-0xffffffff] # 16 mb -- 4gb
Normal [mem 0x100000000-0x13fffffff] # 4gb -- 5gb
/proc/meminfo
[root@prod-proxy ~]# cat /proc/meminfo
MemTotal: 3882068 kB
MemFree: 241304 kB
MemAvailable: 416964 kB
Buffers: 0 kB
Cached: 452572 kB
SwapCached: 20544 kB
Active: 404256 kB
Inactive: 576116 kB
Active(anon): 192892 kB
Inactive(anon): 419476 kB
Active(file): 211364 kB
Inactive(file): 156640 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4063228 kB
SwapFree: 3794736 kB
Dirty: 12 kB
Writeback: 0 kB
AnonPages: 516900 kB
Mapped: 37492 kB
Shmem: 84568 kB
Slab: 47392 kB
SReclaimable: 24836 kB
SUnreclaim: 22556 kB
KernelStack: 4224 kB
PageTables: 7460 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 6004260 kB
Committed_AS: 1329988 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 162084 kB
VmallocChunk: 34359341052 kB
HardwareCorrupted: 0 kB
AnonHugePages: 473088 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 71616 kB
DirectMap2M: 3074048 kB
DirectMap1G: 3145728 kB
/proc/buddyinfo
如下红帽解释,适用于32bit系统
此文件主要用于诊断内存碎片问题。通过buddy算法,列值表示在任何给定时间内,可用的特定顺序(特定大小)的页数。(可用页,即空闲页)
计算方式:
32 bit :
Zones | Description |
---|---|
DMA | 系统的第一个 16MB 内存 |
Normal | 在DMA和HighMem之间的内存 |
HighMem | 系统大于4GB的所有内存 |
Node 0, zone DMA 90 6 2 1 1 ...
Node 0, zone Normal 1650 310 5 0 0 ...
Node 0, zone HighMem 2 0 0 1 1 ...
64 bit:
Node 0, zone DMA 5 1 7 4 3 3 1 2 3 1 2
Node 0, zone DMA32 153 727 778 426 301 125 80 38 14 6 7
Node 0, zone Normal 1509 1337 546 209 177 61 32 9 2 4 0
/proc/pagetypeinfo
[root@prod-proxy ~]# cat /proc/pagetypeinfo
Page block order: 9
Pages per block: 512
Free pages count per migrate type at order 0 1 2 3 4 5 6 7 8 9 10
Node 0, zone DMA, type Unmovable 3 0 2 1 0 1 0 0 1 0 0
Node 0, zone DMA, type Reclaimable 1 1 1 1 1 1 1 1 1 1 0
Node 0, zone DMA, type Movable 1 0 4 2 2 1 0 1 1 0 2
Node 0, zone DMA, type Reserve 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type CMA 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type Isolate 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA32, type Unmovable 10 496 188 7 20 4 5 7 1 0 0
Node 0, zone DMA32, type Reclaimable 0 1 7 6 1 3 2 1 1 1 0
Node 0, zone DMA32, type Movable 124 224 583 414 280 118 73 30 12 5 7
Node 0, zone DMA32, type Reserve 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA32, type CMA 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA32, type Isolate 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Unmovable 3 152 48 3 2 2 4 2 0 0 0
Node 0, zone Normal, type Reclaimable 10 12 8 6 2 1 1 1 0 1 0
Node 0, zone Normal, type Movable 1496 1173 491 199 173 58 27 6 2 3 0
Node 0, zone Normal, type Reserve 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type CMA 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Isolate 0 0 0 0 0 0 0 0 0 0 0
Number of blocks type Unmovable Reclaimable Movable Reserve CMA Isolate
Node 0, zone DMA 1 2 5 0 0 0
Node 0, zone DMA32 285 8 1235 0 0 0
Node 0, zone Normal 78 5 429 0 0 0
上面的部分列出了空闲页的分布:
该部分是/proc/buddyinfo的明细,列出了空闲页的分布
下面的部分列出了总的页面分布:
该服务器4G内存,4096mb,完全匹配
zone | blocks | 4k pages | kb | mb |
---|---|---|---|---|
DMA | 1+2+5 | 4096 | 16384 | 16 |
DMA32 | 285+8+1235 | 782336 | 3129344 | 3056 |
Normal | 78+5+429 | 262144 | 1048576 | 1024 |
cat /proc/vmallocinfo
0xffffc90000000000-0xffffc90000002000 8192 hpet_enable+0x2d/0x2ef phys=fed00000 ioremap
0xffffc90000002000-0xffffc90000403000 4198400 alloc_large_system_hash+0x171/0x239 pages=1024 vmalloc vpages N0=1024
0xffffc90000403000-0xffffc90000406000 12288 alloc_large_system_hash+0x171/0x239 pages=2 vmalloc N0=2
0xffffc90000406000-0xffffc90000607000 2101248 alloc_large_system_hash+0x171/0x239 pages=512 vmalloc N0=512
0xffffc90000607000-0xffffc90000618000 69632 alloc_large_system_hash+0x171/0x239 pages=16 vmalloc N0=16
0xffffc90000618000-0xffffc90000629000 69632 alloc_large_system_hash+0x171/0x239 pages=16 vmalloc N0=16
0xffffc9000062a000-0xffffc9000062c000 8192 acpi_os_map_memory+0xfd/0x155 phys=bfeff000 ioremap
0xffffc9000062c000-0xffffc9000062e000 8192 acpi_os_map_memory+0xfd/0x155 phys=fe800000 ioremap
0xffffc9000062e000-0xffffc90000630000 8192 usb_hcd_pci_probe+0x146/0x570 phys=fd5ff000 ioremap
0xffffc90000630000-0xffffc90000640000 65536 acpi_os_map_memory+0xfd/0x155 phys=bfef0000 ioremap
0xffffc90000640000-0xffffc90000642000 8192 vmxnet3_probe_device+0xbb3/0xf60 [vmxnet3] phys=fd3fc000 ioremap
0xffffc90000642000-0xffffc90000644000 8192 acpi_os_map_memory+0xfd/0x155 phys=fe807000 ioremap
0xffffc90000644000-0xffffc90000646000 8192 vmxnet3_probe_device+0xbea/0xf60 [vmxnet3] phys=fd3fd000 ioremap
0xffffc90000646000-0xffffc90000648000 8192 pci_enable_msix+0x2f1/0x440 phys=fd3fe000 ioremap
0xffffc90000648000-0xffffc90000689000 266240 alloc_large_system_hash+0x171/0x239 pages=64 vmalloc N0=64
0xffffc90000689000-0xffffc9000070a000 528384 alloc_large_system_hash+0x171/0x239 pages=128 vmalloc N0=128
0xffffc9000070a000-0xffffc9000071b000 69632 alloc_large_system_hash+0x171/0x239 pages=16 vmalloc N0=16
0xffffc9000071b000-0xffffc9000072c000 69632 alloc_large_system_hash+0x171/0x239 pages=16 vmalloc N0=16
0xffffc9000072c000-0xffffc90000735000 36864 alloc_large_system_hash+0x171/0x239 pages=8 vmalloc N0=8
0xffffc90000735000-0xffffc9000073a000 20480 agp_add_bridge+0x2aa/0x440 pages=4 vmalloc N0=4
0xffffc9000073a000-0xffffc9000075b000 135168 raw_init+0x41/0x141 pages=32 vmalloc N0=32
0xffffc9000075c000-0xffffc9000075e000 8192 pci_iomap_range+0x64/0xa0 phys=fd5fe000 ioremap
0xffffc9000075e000-0xffffc90000767000 36864 drm_ht_create+0x55/0x80 [drm] pages=8 vmalloc N0=8
0xffffc90000767000-0xffffc90000770000 36864 drm_ht_create+0x55/0x80 [drm] pages=8 vmalloc N0=8
0xffffc90000770000-0xffffc90000772000 8192 pci_enable_msix+0x2f1/0x440 phys=fd4fe000 ioremap
0xffffc90000772000-0xffffc90000775000 12288 ttm_tt_init+0x69/0xb0 [ttm] pages=2 vmalloc N0=2
0xffffc90000775000-0xffffc9000077d000 32768 vmw_fb_init+0x207/0x580 [vmwgfx] pages=7 vmalloc N0=7
0xffffc9000077d000-0xffffc90000780000 12288 ttm_tt_init+0x69/0xb0 [ttm] pages=2 vmalloc N0=2
0xffffc90000780000-0xffffc90000789000 36864 pci_iomap_range+0x64/0xa0 phys=fd4f8000 ioremap
0xffffc90000789000-0xffffc9000078b000 8192 qp_alloc_queue.isra.14+0x3d/0x1b0 [vmw_vmci] pages=1 vmalloc N0=1
0xffffc9000078b000-0xffffc9000078d000 8192 qp_alloc_queue.isra.14+0x3d/0x1b0 [vmw_vmci] pages=1 vmalloc N0=1
0xffffc90000792000-0xffffc90000794000 8192 pci_enable_msix+0x2f1/0x440 phys=febfe000 ioremap
0xffffc90000794000-0xffffc90000796000 8192 swap_cgroup_swapon+0x48/0x160 pages=1 vmalloc N0=1
0xffffc90000796000-0xffffc90000798000 8192 dm_table_create+0x9e/0x140 [dm_mod] pages=1 vmalloc N0=1
0xffffc90000798000-0xffffc9000079a000 8192 dm_table_create+0x9e/0x140 [dm_mod] pages=1 vmalloc N0=1
0xffffc9000079b000-0xffffc9000079d000 8192 dm_table_create+0x9e/0x140 [dm_mod] pages=1 vmalloc N0=1
0xffffc9000079d000-0xffffc9000079f000 8192 dm_table_create+0x9e/0x140 [dm_mod] pages=1 vmalloc N0=1
0xffffc900007b8000-0xffffc900007ba000 8192 vmballoon_init_batching+0x47/0x80 [vmw_balloon] vmap
0xffffc900007bc000-0xffffc900007ce000 73728 vmci_guest_probe_device+0xfa/0x8e0 [vmw_vmci] pages=17 vmalloc N0=17
0xffffc900007ce000-0xffffc900007ee000 131072 SyS_swapon+0x7ae/0xba0 pages=31 vmalloc N0=31
0xffffc90000800000-0xffffc90000841000 266240 memremap+0xc8/0x110 phys=fe000000 ioremap
0xffffc90000841000-0xffffc90000942000 1052672 vmw_fifo_init+0x3c/0x330 [vmwgfx] pages=256 vmalloc N0=256
0xffffc90000942000-0xffffc900015c3000 13111296 vmw_fb_init+0x207/0x580 [vmwgfx] pages=3200 vmalloc vpages N0=3200
0xffffc900015f7000-0xffffc900019b8000 3936256 ttm_bo_kmap+0x131/0x240 [ttm]
0xffffc90001a00000-0xffffc90001b00000 1048576 vm_map_ram
0xffffc90001b00000-0xffffc90001bf9000 1019904 SyS_swapon+0x558/0xba0 pages=248 vmalloc N0=248
0xffffc90002200000-0xffffc90002300000 1048576 vm_map_ram
0xffffc90010000000-0xffffc90018001000 134221824 pci_mmcfg_arch_map+0x2f/0x80 phys=f0000000 ioremap
0xffffe8ffffc00000-0xffffe8ffffe00000 2097152 pcpu_get_vm_areas+0x0/0x590 vmalloc
0xffffffffc0000000-0xffffffffc0020000 131072 module_alloc_update_bounds+0x14/0x70 pages=31 vmalloc N0=31
0xffffffffc0020000-0xffffffffc0027000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc0027000-0xffffffffc002c000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc002d000-0xffffffffc0033000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc0033000-0xffffffffc003a000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc003e000-0xffffffffc0049000 45056 module_alloc_update_bounds+0x14/0x70 pages=10 vmalloc N0=10
0xffffffffc0049000-0xffffffffc004e000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc0050000-0xffffffffc0057000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc0057000-0xffffffffc0066000 61440 module_alloc_update_bounds+0x14/0x70 pages=14 vmalloc N0=14
0xffffffffc0066000-0xffffffffc00a2000 245760 module_alloc_update_bounds+0x14/0x70 pages=59 vmalloc N0=59
0xffffffffc00a2000-0xffffffffc00a7000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00a7000-0xffffffffc00ac000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00ac000-0xffffffffc00b1000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00b2000-0xffffffffc00bc000 40960 module_alloc_update_bounds+0x14/0x70 pages=9 vmalloc N0=9
0xffffffffc00bc000-0xffffffffc00c1000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00c3000-0xffffffffc00c8000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00cb000-0xffffffffc00d0000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00d3000-0xffffffffc00e0000 53248 module_alloc_update_bounds+0x14/0x70 pages=12 vmalloc N0=12
0xffffffffc00e0000-0xffffffffc00e5000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00e5000-0xffffffffc00ea000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00ea000-0xffffffffc00ef000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc00f2000-0xffffffffc010c000 106496 module_alloc_update_bounds+0x14/0x70 pages=25 vmalloc N0=25
0xffffffffc010e000-0xffffffffc0115000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc0119000-0xffffffffc0123000 40960 module_alloc_update_bounds+0x14/0x70 pages=9 vmalloc N0=9
0xffffffffc0123000-0xffffffffc012c000 36864 module_alloc_update_bounds+0x14/0x70 pages=8 vmalloc N0=8
0xffffffffc012c000-0xffffffffc0188000 376832 module_alloc_update_bounds+0x14/0x70 pages=91 vmalloc N0=91
0xffffffffc0188000-0xffffffffc0194000 49152 module_alloc_update_bounds+0x14/0x70 pages=11 vmalloc N0=11
0xffffffffc0194000-0xffffffffc0199000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc0199000-0xffffffffc01c1000 163840 module_alloc_update_bounds+0x14/0x70 pages=39 vmalloc N0=39
0xffffffffc01c1000-0xffffffffc01c6000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc01c6000-0xffffffffc01cd000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc01cd000-0xffffffffc01d5000 32768 module_alloc_update_bounds+0x14/0x70 pages=7 vmalloc N0=7
0xffffffffc01d5000-0xffffffffc0210000 241664 module_alloc_update_bounds+0x14/0x70 pages=58 vmalloc N0=58
0xffffffffc0210000-0xffffffffc0300000 983040 module_alloc_update_bounds+0x14/0x70 pages=239 vmalloc N0=239
0xffffffffc0300000-0xffffffffc0306000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc0312000-0xffffffffc0318000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc0319000-0xffffffffc033b000 139264 module_alloc_update_bounds+0x14/0x70 pages=33 vmalloc N0=33
0xffffffffc033f000-0xffffffffc034b000 49152 module_alloc_update_bounds+0x14/0x70 pages=11 vmalloc N0=11
0xffffffffc034b000-0xffffffffc0356000 45056 module_alloc_update_bounds+0x14/0x70 pages=10 vmalloc N0=10
0xffffffffc0359000-0xffffffffc0367000 57344 module_alloc_update_bounds+0x14/0x70 pages=13 vmalloc N0=13
0xffffffffc0367000-0xffffffffc036d000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc036d000-0xffffffffc0372000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc0372000-0xffffffffc0379000 28672 module_alloc_update_bounds+0x14/0x70 pages=6 vmalloc N0=6
0xffffffffc037a000-0xffffffffc0382000 32768 module_alloc_update_bounds+0x14/0x70 pages=7 vmalloc N0=7
0xffffffffc0382000-0xffffffffc0394000 73728 module_alloc_update_bounds+0x14/0x70 pages=17 vmalloc N0=17
0xffffffffc0394000-0xffffffffc039f000 45056 module_alloc_update_bounds+0x14/0x70 pages=10 vmalloc N0=10
0xffffffffc039f000-0xffffffffc03a4000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03a4000-0xffffffffc03a9000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03a9000-0xffffffffc03af000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc03af000-0xffffffffc03b4000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03b4000-0xffffffffc03b9000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03b9000-0xffffffffc03cc000 77824 module_alloc_update_bounds+0x14/0x70 pages=18 vmalloc N0=18
0xffffffffc03d1000-0xffffffffc03d6000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03d6000-0xffffffffc03db000 20480 module_alloc_update_bounds+0x14/0x70 pages=4 vmalloc N0=4
0xffffffffc03db000-0xffffffffc03e1000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc03e1000-0xffffffffc03eb000 40960 module_alloc_update_bounds+0x14/0x70 pages=9 vmalloc N0=9
0xffffffffc03eb000-0xffffffffc03f1000 24576 module_alloc_update_bounds+0x14/0x70 pages=5 vmalloc N0=5
0xffffffffc03f1000-0xffffffffc0401000 65536 module_alloc_update_bounds+0x14/0x70 pages=15 vmalloc N0=15
0xffffffffc0401000-0xffffffffc040a000 36864 module_alloc_update_bounds+0x14/0x70 pages=8 vmalloc N0=8
/proc/slabinfo && slabtop
/proc/iomem 查看物理内存分布
/proc/zoneinfo 查看zone内存信息
/proc/mtrr
Memory Type Range Registers (MTRRs)
[root@prod-proxy ~]# cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
reg01: base=0x0c0000000 ( 3072MB), size= 1024MB, count=1: uncachable
网友评论