Derulăm o platformă care utilizează Linux bridging pentru a filtra traficul și, de asemenea, înregistrează acea activitate pe un server MySQL. Ocazional, avem o problemă în care unitatea va experimenta o latență foarte mare și, până la aceasta, vedem adesea o eșec repetat de alocare a paginii în mpt3sas
șofer și conectat la /var/log/messages
. Acestea par să apară în perioadele de încărcare mare a sistemului, dar și pe un sistem cu memorie aparent suficientă. Nu am expertiza pentru a citi corect aceste jurnale și speram că cineva poate avea o perspectivă.
Am încercat să reglam vm.min_free_kbytes = 65536
(și folosim vm.reclaim_mode = 1
) dar asta nu pare să atenueze problema. Are cineva idei? (urmează jurnalele:)
kernel localhost: [21572436.601597] sas3ircu: eroare de alocare a paginii: order:4, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
kernel localhost: [21572436.601601] CPU: 2 PID: 22663 Comm: sas3ircu Tainted: G W O #1
Nucleu localhost: [21572436.601602] Nume hardware: XXXXXXXXXXX , BIOS 3.1 06/06/2018
Nucleu localhost: [21572436.601602] Urmărire apel:
kernel localhost: [21572436.601609] dump_stack+0x7c/0x9c
kernel localhost: [21572436.601612] warn_alloc.cold+0x7b/0xdf
kernel localhost: [21572436.601615] ? _cond_resched+0x15/0x30
kernel localhost: [21572436.601617] ? __alloc_pages_direct_compact+0x141/0x150
kernel localhost: [21572436.601618] __alloc_pages_slowpath+0xd88/0xdc0
kernel localhost: [21572436.601622] ? nod_reclaim+0x2b1/0x310
kernel localhost: [21572436.601624] ? get_page_from_freelist+0xaf/0x3a0
kernel localhost: [21572436.601625] __alloc_pages_nodemask+0x2bf/0x310
kernel localhost: [21572436.601628] __dma_direct_alloc_pages+0x137/0x220
kernel localhost: [21572436.601630] dma_direct_alloc_pages+0x1c/0x80
kernel localhost: [21572436.601639] _ctl_do_mpt_command+0x724/0xc40 [mpt3sas]
kernel localhost: [21572436.601642] ? ima_file_check+0x59/0x80
kernel localhost: [21572436.601646] _ctl_compat_mpt_command+0xd1/0x100 [mpt3sas]
kernel localhost: [21572436.601651] _ctl_ioctl_main+0x4e0/0xb80 [mpt3sas]
kernel localhost: [21572436.601655] ? __ia32_compat_sys_ioctl+0x189/0x210
kernel localhost: [21572436.601656] __ia32_compat_sys_ioctl+0x189/0x210
kernel localhost: [21572436.601659] do_int80_syscall_32+0x6e/0x1d0
kernel localhost: [21572436.601660] entry_INT80_compat+0x85/0x90
Nucleu localhost: [21572436.601669] Mem-Info:
kernel localhost: [21572436.601672] active_anon:9743919 inactive_anon:513867 isolated_anon:0
kernel localhost: [21572436.601672] fișier_activ:35892 fișier_inactiv:14339 fișier_izolat:0
kernel localhost: [21572436.601672] unevictable:0 dirty:398 writeback:1 unstable:0
kernel localhost: [21572436.601672] slab_reclaimable:51419 slab_unreclaimable:4912133
kernel localhost: [21572436.601672] mapat:18355 shmem:22661 pagetables:53364 bounce:0
kernel localhost: [21572436.601672] free:1065699 free_pcp:351 free_cma:0
localhost kernel: [21572436.601675] Node 0 active_anon:38975676kB inactive_anon:2055468kB active_file:143568kB inactive_file:57356kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:73420kB dirty:1592kB writeback:4kB shmem:90644kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? Nu
kernel localhost: [21572436.601675] Nodul 0 DMA liber: 15884kB min:12kB scăzut:24kB mare:36kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB unevictable:0kB writepending:0kB:0kB stackend:0kB: 0kB writepending:0kB: 0kB 0kB 0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
kernel localhost: [21572436.601678] lowmem_reserve[]: 0 1784 64117 64117
localhost kernel: [21572436.601679] Node 0 DMA32 free:255804kB min:1892kB low:3788kB high:5684kB active_anon:170384kB inactive_anon:80484kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1965184kB managed:1899648kB mlocked:0kB kernel_stack: 0kB tabele de pagini:56kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
kernel localhost: [21572436.601682] lowmem_reserve[]: 0 0 62333 62333
localhost kernel: [21572436.601683] Node 0 Normal free:3991108kB min:63624kB low:127460kB high:191296kB active_anon:38805292kB inactive_anon:1974984kB active_file:143684kB inactive_file:57032kB unevictable:0kB writepending:1596kB present:65011712kB managed:63836092kB mlocked:0kB kernel_stack: 5604kB tabele de pagini:213400kB bounce:0kB free_pcp:1404kB local_pcp:232kB free_cma:0kB
kernel localhost: [21572436.601686] lowmem_reserve[]: 0 0 0 0
Nucleu localhost: [21572436.601687] Nodul 0 DMA: 1*4kB (U) 1*8kB (U) 0*16kB 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*15 *1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15884kB
Nucleu localhost: [21572436.601694] Nodul 0 DMA32: 14687*4kB (UME) 10010*8kB (UME) 7183*16kB (UME) 0*32kB 0*64kB 0*128kB*128kB* 60kB* 60kB* 60kB* H) 0*4096kB = 255804kB
Nucleu localhost: [21572436.601697] Nodul 0 Normal: 297793*4kB (UM) 129409*8kB (UM) 110330*16kB (UME) 0*32kB 0*64kB 0*128kB*128kB*128kB*2020kB* *4096kB = 3991724kB
Nucleu localhost: [21572436.601701] Nodul 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
Nucleu localhost: [21572436.601702] Nodul 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Nucleu localhost: [21572436.601702] 107240 pagini cache de pagini în total
Nucleu localhost: [21572436.601707] 34281 pagini în cache de schimb
Nucleu localhost: [21572436.601708] Schimbați statistici cache: adăugați 18740072, ștergeți 18705912, găsiți 159408767/161694352
Nucleu localhost: [21572436.601708] Schimb gratuit = 4913860kB
Nucleu localhost: [21572436.601708] Schimb total = 33554424kB
kernel localhost: [21572436.601709] 16748216 pagini RAM
kernel localhost: [21572436.601709] 0 pagini HighMem/MovableOnly
kernel localhost: [21572436.601709] 310310 pagini rezervate
kernel localhost: [21572436.601710] 0 pagini CMA rezervate
kernel localhost: [21572436.601710] 0 pagini hwpoisoned
Nucleu localhost: [21572436.601711] eșec la drivers/scsi/mpt3sas/mpt3sas_ctl.c:763/_ctl_do_mpt_command()!