[Bug 109801] [CI][DRMTIP] igt at gem_ppgtt@blt-vs-render-ctxn - dmesg-warn - swap is full

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 11 14:32:37 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109801

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
So we have 8 children and only need ~1MiB each; and still run out of RAM!
Something doesn't add up...

<6> [1625.670979] Purging GPU memory, 0 pages freed, 9454 pages still pinned.
<4> [1625.671796] gem_ppgtt invoked oom-killer:
gfp_mask=0x6042c0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP), order=1,
oom_score_adj=1000
<4> [1625.671839] CPU: 0 PID: 7853 Comm: gem_ppgtt Tainted: G     U           
5.0.0-CI-CI_DRM_5731+ #1
<4> [1625.671843] Hardware name: Intel Corporation Ice Lake Client
Platform/IceLake U DDR4 SODIMM PD RVP TLC, BIOS
ICLSFWR1.R00.3087.A00.1902250334 02/25/2019
<4> [1625.671845] Call Trace:
<4> [1625.671853]  dump_stack+0x67/0x9b
<4> [1625.671859]  dump_header+0x52/0x58e
<4> [1625.671866]  ? _raw_spin_unlock_irqrestore+0x55/0x60
<4> [1625.671872]  oom_kill_process+0x309/0x3a0
<4> [1625.671880]  out_of_memory+0x107/0x390
<4> [1625.671886]  __alloc_pages_nodemask+0xd6c/0x1110
<4> [1625.671905]  new_slab+0x3ad/0x520
<4> [1625.671914]  ___slab_alloc.constprop.35+0x2d3/0x380
<4> [1625.671918]  ? __sg_alloc_table+0x7f/0x150
<4> [1625.671929]  ? __sg_alloc_table+0x7f/0x150
<4> [1625.671931]  ? __sg_alloc_table+0x7f/0x150
<4> [1625.671936]  ? __slab_alloc.isra.28.constprop.34+0x3d/0x70
<4> [1625.671939]  __slab_alloc.isra.28.constprop.34+0x3d/0x70
<4> [1625.671945]  __kmalloc+0x29f/0x2e0
<4> [1625.671951]  __sg_alloc_table+0x7f/0x150
<4> [1625.671955]  ? sg_init_one+0xa0/0xa0
<4> [1625.671962]  sg_alloc_table+0x21/0xb0
<4> [1625.672019]  i915_sg_trim+0x3d/0x180 [i915]
<4> [1625.672090]  i915_gem_object_get_pages_gtt+0x2dd/0x6d0 [i915]
<4> [1625.672161]  ? __i915_gem_object_get_pages+0x18/0xb0 [i915]
<4> [1625.672173]  ? lock_acquire+0xa6/0x1c0
<4> [1625.672235]  ? i915_gem_obj_prepare_shmem_write+0x1b1/0x280 [i915]
<4> [1625.672298]  ____i915_gem_object_get_pages+0x1d/0xa0 [i915]
<4> [1625.672359]  __i915_gem_object_get_pages+0x59/0xb0 [i915]
<4> [1625.672421]  i915_gem_set_domain_ioctl+0x34d/0x420 [i915]
<4> [1625.672484]  ? i915_gem_obj_prepare_shmem_write+0x280/0x280 [i915]
<4> [1625.672492]  drm_ioctl_kernel+0x83/0xf0
<4> [1625.672502]  drm_ioctl+0x2f3/0x3b0
<4> [1625.672565]  ? i915_gem_obj_prepare_shmem_write+0x280/0x280 [i915]
<4> [1625.672581]  ? lock_acquire+0xa6/0x1c0
<4> [1625.672591]  do_vfs_ioctl+0xa0/0x6e0
<4> [1625.672605]  ksys_ioctl+0x35/0x60
<4> [1625.672614]  __x64_sys_ioctl+0x11/0x20
<4> [1625.672618]  do_syscall_64+0x55/0x190
<4> [1625.672624]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [1625.672628] RIP: 0033:0x7fe8ba8315d7
<4> [1625.672634] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48
c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d
01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [1625.672638] RSP: 002b:00007ffc6c91ff58 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
<4> [1625.672643] RAX: ffffffffffffffda RBX: 000056227dfa3580 RCX:
00007fe8ba8315d7
<4> [1625.672646] RDX: 00007ffc6c91ff90 RSI: 00000000400c645f RDI:
0000000000000010
<4> [1625.672649] RBP: 00007ffc6c91ff90 R08: 000056227dfa1018 R09:
00007fe8ae59d000
<4> [1625.672653] R10: 000056227df70010 R11: 0000000000000246 R12:
00000000400c645f
<4> [1625.672656] R13: 0000000000000010 R14: 00007ffc6c91ff90 R15:
0000000000000000
<4> [1625.672846] Mem-Info:
<4> [1625.672864] active_anon:131729 inactive_anon:3788702 isolated_anon:0
 active_file:130 inactive_file:55 isolated_file:0
 unevictable:11283 dirty:0 writeback:0 unstable:0
 slab_reclaimable:32071 slab_unreclaimable:46810
 mapped:2841 shmem:3866099 pagetables:2281 bounce:0
 free:36260 free_pcp:2864 free_cma:0
<4> [1625.672869] Node 0 active_anon:526916kB inactive_anon:15154808kB
active_file:520kB inactive_file:220kB unevictable:45132kB isolated(anon):0kB
isolated(file):0kB mapped:11364kB dirty:0kB writeback:0kB shmem:15464396kB
shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 153600kB writeback_tmp:0kB
unstable:0kB all_unreclaimable? no
<4> [1625.672874] DMA free:15876kB min:64kB low:80kB high:96kB active_anon:0kB
inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB
writepending:0kB present:15992kB managed:15876kB mlocked:0kB kernel_stack:0kB
pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
<4> [1625.672876] lowmem_reserve[]: 0 964 15788 15788
<4> [1625.672884] DMA32 free:63260kB min:4124kB low:5152kB high:6180kB
active_anon:0kB inactive_anon:979984kB active_file:0kB inactive_file:0kB
unevictable:0kB writepending:0kB present:1104624kB managed:1056896kB
mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:4512kB
local_pcp:500kB free_cma:0kB
<4> [1625.672886] lowmem_reserve[]: 0 0 14823 14823
<4> [1625.672894] Normal free:65904kB min:63392kB low:79240kB high:95088kB
active_anon:526916kB inactive_anon:14176132kB active_file:428kB
inactive_file:0kB unevictable:44844kB writepending:0kB present:15470592kB
managed:15179776kB mlocked:0kB kernel_stack:4608kB pagetables:9124kB bounce:0kB
free_pcp:7156kB local_pcp:1348kB free_cma:0kB
<4> [1625.672896] lowmem_reserve[]: 0 0 0 0
<4> [1625.672901] DMA: 1*4kB (U) 0*8kB 2*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB
(U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15876kB
<4> [1625.672952] DMA32: 11*4kB (ME) 6*8kB (ME) 10*16kB (UM) 21*32kB (UM)
12*64kB (UME) 7*128kB (UM) 7*256kB (ME) 7*512kB (ME) 4*1024kB (M) 5*2048kB
(UME) 10*4096kB (M) = 63260kB
<4> [1625.672969] Normal: 2344*4kB (UMEH) 1278*8kB (UMEH) 684*16kB (UME)
371*32kB (UME) 184*64kB (ME) 34*128kB (ME) 14*256kB (ME) 7*512kB (UE) 0*1024kB
0*2048kB 0*4096kB = 65712kB
<6> [1625.672985] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0
hugepages_size=2048kB
<4> [1625.672987] 3877427 total pagecache pages
<4> [1625.672994] 11056 pages in swap cache
<4> [1625.672996] Swap cache stats: add 524287, delete 512898, find 0/0
<4> [1625.672999] Free swap  = 0kB
<4> [1625.673001] Total swap = 2097148kB
<4> [1625.673003] 4147802 pages RAM
<4> [1625.673006] 0 pages HighMem/MovableOnly
<4> [1625.673008] 84665 pages reserved
<6> [1625.673010] Tasks state (memory values in pages):
<6> [1625.673013] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes
swapents oom_score_adj name
<6> [1625.673153] [    293]     0   293    27267      185   229376        0    
        0 systemd-journal
<6> [1625.673296] [    319]     0   319    11033      430   114688        0    
    -1000 systemd-udevd
<6> [1625.673301] [    455]   101   455    17653      141   184320        0    
        0 systemd-resolve
<6> [1625.673306] [    464]     0   464    17648      196   184320        0    
        0 systemd-logind
<6> [1625.673311] [    471]     0   471    27620       90   118784        0    
        0 irqbalance
<6> [1625.673316] [    473]     0   473     1137       16    57344        0    
        0 acpid
<6> [1625.673321] [    474]     0   474    44724     1980   241664        0    
        0 networkd-dispat
<6> [1625.673326] [    476]   102   476    65758      484   159744        0    
        0 rsyslogd
<6> [1625.673331] [    487]   103   487    12577      236   135168        0    
     -900 dbus-daemon
<6> [1625.673336] [    523]     0   523     2478       32    57344        0    
        0 rngd
<6> [1625.673341] [    549]     0   549   159622     1205   450560        0    
        0 NetworkManager
<6> [1625.673346] [    641]     0   641    18073      189   176128        0    
    -1000 sshd
<6> [1625.673351] [    643]     0   643     6126       34    73728        0    
        0 agetty
<6> [1625.673356] [    656]     0   656    72218      198   200704        0    
        0 polkitd
<6> [1625.673360] [    660]     0   660     6414      309    94208        0    
        0 dhclient
<6> [1625.673365] [   1129]     0  1129    26430      248   237568        0    
        0 sshd
<6> [1625.673372] [   1134]  1000  1134    19154      264   196608        0    
        0 systemd
<6> [1625.673377] [   1137]  1000  1137    65300      571   270336        0    
        0 (sd-pam)
<6> [1625.673381] [   1175]  1000  1175    27173      411   241664        0    
        0 sshd
<6> [1625.673386] [   1211]  1000  1211  2121546    44098   950272        0    
        0 java
<6> [1625.673391] [   1340]     0  1340    18483      120   188416        0    
        0 sudo
<6> [1625.673396] [   1345]     0  1345     2478       26    65536        0    
        0 rngd
<6> [1625.673402] [   2078]     0  2078    18483      120   192512        0    
        0 sudo
<6> [1625.673406] [   2083]     0  2083     2478       27    61440        0    
        0 rngd
<6> [1625.673412] [   5654]     0  5654    93723      428   294912        0    
        0 packagekitd
<6> [1625.673417] [   6054]  1000  6054     5302       74    86016        0    
        0 bash
<6> [1625.673422] [   6128]     0  6128    18483      120   180224        0    
        0 sudo
<6> [1625.673426] [   6133]     0  6133     2478       27    61440        0    
        0 rngd
<6> [1625.673431] [   6151]  1000  6151     6097       31    81920        0    
        0 dmesg
<6> [1625.673435] [   6154]     0  6154    18483      121   180224        0    
        0 sudo
<6> [1625.673440] [   6158]     0  6158    50694      437   421888        0    
        0 igt_runner
<6> [1625.673456] [   7844]     0  7844    52469     2738   425984        0    
     1000 gem_ppgtt
<6> [1625.673460] [   7845]     0  7845    50421      467   385024        0    
     1000 gem_ppgtt
<6> [1625.673465] [   7846]     0  7846    52725      442   385024        0    
     1000 gem_ppgtt
<6> [1625.673470] [   7847]     0  7847    52725      480   385024        0    
     1000 gem_ppgtt
<6> [1625.673475] [   7848]     0  7848    52725      677   389120        0    
     1000 gem_ppgtt
<6> [1625.673480] [   7849]     0  7849    52469      480   385024        0    
     1000 gem_ppgtt
<6> [1625.673484] [   7850]     0  7850    52469      480   385024        0    
     1000 gem_ppgtt
<6> [1625.673489] [   7851]     0  7851    52469      480   385024        0    
     1000 gem_ppgtt
<6> [1625.673494] [   7852]     0  7852    52725      480   385024        0    
     1000 gem_ppgtt
<6> [1625.673498] [   7853]     0  7853    52725      480   385024        0    
     1000 gem_ppgtt

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190311/643d48a6/attachment-0001.html>


More information about the intel-gfx-bugs mailing list