[Bug 87575] [IGT] [GLK/KBL/BXT/BSW] gem_ctx_thrash/threads sporadically takes more than 10 minutes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 17 21:04:08 UTC 2017


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

--- Comment #21 from Hector Velazquez <hector.franciscox.velazquez.suriano at intel.com> ---
This tests has the same failure on GLK QA

igt at gem_ctx_thrash@single <- take more than 10 mins (incomplete, no dmesg)
igt at gem_ctx_thrash@threads <- dmeag-fail

====================================================
dmesg-fail <-igt at gem_ctx_thrash@threads 
====================================================
[ 1596.679018] gem_ctx_thrash: page allocation failure: order:0,
mode:0x14204d2(GFP_HIGHUSER|__GFP_RETRY_MAYFAIL|__GFP_RECLAIMABLE),
nodemask=(null)
[ 1596.679033] CPU: 0 PID: 1926 Comm: gem_ctx_thrash Tainted: G     U         
4.14.0-drm-tip-ww46-commit-1fc4fe8+ #1
[ 1596.679034] Hardware name: Intel Corp. Geminilake/GLK RVP1 DDR4 (05), BIOS
GELKRVPA.X64.0062.B30.1708222146 08/22/2017
[ 1596.679035] Call Trace:
[ 1596.679044]  dump_stack+0x63/0x8b
[ 1596.679048]  warn_alloc+0x114/0x1b0
[ 1596.679050]  __alloc_pages_slowpath+0xf24/0xf30
[ 1596.679052]  __alloc_pages_nodemask+0x262/0x280
[ 1596.679055]  alloc_pages_vma+0x88/0x1e0
[ 1596.679058]  __read_swap_cache_async+0x140/0x1c0
[ 1596.679059]  read_swap_cache_async+0x2b/0x60
[ 1596.679061]  swapin_readahead+0x222/0x280
[ 1596.679063]  ? __slab_free+0x9e/0x2e0
[ 1596.679065]  shmem_swapin+0x6d/0xc0
[ 1596.679066]  ? free_one_page+0x73/0x360
[ 1596.679068]  ? shmem_swapin+0x6d/0xc0
[ 1596.679071]  ? sg_free_table+0x5c/0x70
[ 1596.679073]  ? radix_tree_lookup_slot+0x22/0x50
[ 1596.679075]  ? find_get_entry+0x1e/0xe0
[ 1596.679076]  ? pagecache_get_page+0x2d/0x220
[ 1596.679078]  shmem_getpage_gfp+0x7fd/0xc00
[ 1596.679080]  shmem_read_mapping_page_gfp+0x44/0x80
[ 1596.679122]  i915_gem_object_get_pages_gtt+0x1b8/0x530 [i915]
[ 1596.679149]  ____i915_gem_object_get_pages+0x1c/0x40 [i915]
[ 1596.679175]  __i915_gem_object_get_pages+0x5b/0x70 [i915]
[ 1596.679202]  i915_gem_object_set_to_gtt_domain+0xdb/0x140 [i915]
[ 1596.679230]  execlists_context_pin+0x199/0x410 [i915]
[ 1596.679257]  i915_gem_request_alloc+0x38/0x350 [i915]
[ 1596.679283]  i915_gem_do_execbuffer+0x7c2/0x1060 [i915]
[ 1596.679287]  ? __switch_to+0x1f3/0x450
[ 1596.679288]  ? __slab_free+0x9e/0x2e0
[ 1596.679289]  ? __slab_free+0x9e/0x2e0
[ 1596.679290]  ? __kmalloc_node+0x1e6/0x2b0
[ 1596.679316]  i915_gem_execbuffer2+0x1b0/0x390 [i915]
[ 1596.679341]  ? i915_gem_execbuffer+0x2c0/0x2c0 [i915]
[ 1596.679358]  drm_ioctl_kernel+0x69/0xb0 [drm]
[ 1596.679368]  drm_ioctl+0x340/0x450 [drm]
[ 1596.679393]  ? i915_gem_execbuffer+0x2c0/0x2c0 [i915]
[ 1596.679397]  do_vfs_ioctl+0xa1/0x5e0
[ 1596.679399]  ? __do_page_fault+0x27f/0x4f0
[ 1596.679401]  SyS_ioctl+0x79/0x90
[ 1596.679403]  entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 1596.679405] RIP: 0033:0x7fd6b12144b7
[ 1596.679406] RSP: 002b:00007fd6ad111cb8 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 1596.679408] RAX: ffffffffffffffda RBX: 00000000000012c3 RCX:
00007fd6b12144b7
[ 1596.679408] RDX: 00007fd6ad111d60 RSI: 0000000040406469 RDI:
0000000000000003
[ 1596.679409] RBP: 00007ffe33d76750 R08: 00007fd68c0008c0 R09:
0000000000000004
[ 1596.679410] R10: 00007fd6ad111ca0 R11: 0000000000000246 R12:
00007fd68c0008c0
[ 1596.679410] R13: 00007fd6ad111d60 R14: 00007fd6ad1129c0 R15:
00007fd6ad112700
[ 1596.679412] Mem-Info:
[ 1596.679416] active_anon:7316 inactive_anon:8382 isolated_anon:0
                active_file:94 inactive_file:0 isolated_file:0
                unevictable:0 dirty:0 writeback:6 unstable:0
                slab_reclaimable:15677 slab_unreclaimable:411234
                mapped:548 shmem:8860 pagetables:2383 bounce:0
                free:26755 free_pcp:0 free_cma:0
[ 1596.679419] Node 0 active_anon:29264kB inactive_anon:33528kB
active_file:376kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB mapped:2192kB dirty:0kB writeback:24kB shmem:35440kB
shmem_thp: 32768kB shmem_pmdmapped: 0kB anon_thp: 8192kB writeback_tmp:0kB
unstable:0kB all_unreclaimable? no
[ 1596.679420] Node 0 DMA free:15888kB min:132kB low:164kB high:196kB
active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB
unevictable:0kB writepending:0kB present:15980kB managed:15888kB mlocked:0kB
kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB
free_cma:0kB
[ 1596.679423] lowmem_reserve[]: 0 1767 7764 7764 7764
[ 1596.679426] Node 0 DMA32 free:39224kB min:15356kB low:19192kB high:23028kB
active_anon:2640kB inactive_anon:204kB active_file:456kB inactive_file:572kB
unevictable:0kB writepending:180kB present:1913052kB managed:1847484kB
mlocked:0kB kernel_stack:192kB pagetables:60kB bounce:0kB free_pcp:0kB
local_pcp:0kB free_cma:0kB
[ 1596.679429] lowmem_reserve[]: 0 0 5996 5996 5996
[ 1596.679431] Node 0 Normal free:51908kB min:52092kB low:65112kB high:78132kB
active_anon:26624kB inactive_anon:33628kB active_file:120kB inactive_file:448kB
unevictable:0kB writepending:188kB present:6291456kB managed:6143580kB
mlocked:0kB kernel_stack:2992kB pagetables:9472kB bounce:0kB free_pcp:0kB
local_pcp:0kB free_cma:0kB
[ 1596.679434] lowmem_reserve[]: 0 0 0 0 0
[ 1596.679436] Node 0 DMA: 0*4kB 2*8kB (U) 2*16kB (U) 3*32kB (U) 2*64kB (U)
2*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15888kB
[ 1596.679445] Node 0 DMA32: 1953*4kB (UME) 902*8kB (UE) 254*16kB (UE) 670*32kB
(UE) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 40532kB
[ 1596.679452] Node 0 Normal: 527*4kB (ME) 326*8kB (UME) 197*16kB (UME)
183*32kB (UME) 136*64kB (ME) 84*128kB (ME) 28*256kB (ME) 10*512kB (UME)
5*1024kB (UME) 1*2048kB (E) 0*4096kB = 52636kB
[ 1596.679464] 9333 total pagecache pages
[ 1596.679470] 339 pages in swap cache
[ 1596.679471] Swap cache stats: add 33990747, delete 33985542, find
9376376/14192060
[ 1596.679471] Free swap  = 13565660kB
[ 1596.679472] Total swap = 16642044kB
[ 1596.679472] 2055122 pages RAM
[ 1596.679473] 0 pages HighMem/MovableOnly
[ 1596.679473] 53384 pages reserved
[ 1596.679474] 0 pages cma reserved
[ 1596.679474] 0 pages hwpoisoned
[ 1599.988037] 32 and 0 pages still available in the bound and unbound GPU page
lists.
[ 1599.988154] python3 invoked oom-killer:
gfp_mask=0x14200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null),  order=0,
oom_score_adj=0
[ 1599.988162] CPU: 3 PID: 1871 Comm: python3 Tainted: G     U         
4.14.0-drm-tip-ww46-commit-1fc4fe8+ #1
[ 1599.988163] Hardware name: Intel Corp. Geminilake/GLK RVP1 DDR4 (05), BIOS
GELKRVPA.X64.0062.B30.1708222146 08/22/2017
[ 1599.988164] Call Trace:
[ 1599.988174]  dump_stack+0x63/0x8b
[ 1599.988177]  dump_header+0x97/0x225
[ 1599.988181]  ? security_capable_noaudit+0x45/0x60
[ 1599.988183]  oom_kill_process+0x219/0x420
[ 1599.988185]  out_of_memory+0x11d/0x480
[ 1599.988187]  __alloc_pages_slowpath+0xe4b/0xf30
[ 1599.988189]  __alloc_pages_nodemask+0x262/0x280
[ 1599.988192]  alloc_pages_vma+0x88/0x1e0
[ 1599.988195]  __read_swap_cache_async+0x140/0x1c0
[ 1599.988196]  do_swap_page_readahead+0x102/0x200
[ 1599.988199]  do_swap_page+0x2da/0x780
[ 1599.988200]  ? do_swap_page+0x2da/0x780
[ 1599.988201]  __handle_mm_fault+0x828/0x1170
[ 1599.988204]  ? do_futex+0x130/0xb40
[ 1599.988206]  handle_mm_fault+0xcc/0x1c0
[ 1599.988209]  __do_page_fault+0x262/0x4f0
[ 1599.988210]  do_page_fault+0x2e/0xe0
[ 1599.988213]  page_fault+0x22/0x30
[ 1599.988215] RIP: 0033:0x562f13664380
[ 1599.988216] RSP: 002b:00007f4b925bb798 EFLAGS: 00010246
[ 1599.988217] RAX: 000000000000006e RBX: 0000562f16cbd7d0 RCX:
00007f4b9da1d879
[ 1599.988218] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
00007f4b925bb7d0
[ 1599.988218] RBP: 00007f4b925bd698 R08: 0000000000004938 R09:
0000000000003fb3
[ 1599.988219] R10: 0000000000000001 R11: 0000000000004938 R12:
0000000000000000
[ 1599.988220] R13: 00000000000f4240 R14: 0000000000001388 R15:
0000000000000001
[ 1599.988221] Mem-Info:
[ 1599.988226] active_anon:7267 inactive_anon:8422 isolated_anon:0
                active_file:61 inactive_file:0 isolated_file:0
                unevictable:0 dirty:0 writeback:0 unstable:0
                slab_reclaimable:15703 slab_unreclaimable:411268
                mapped:471 shmem:8885 pagetables:2383 bounce:0
                free:26815 free_pcp:0 free_cma:0
[ 1599.988229] Node 0 active_anon:29068kB inactive_anon:33688kB
active_file:244kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB mapped:1884kB dirty:0kB writeback:0kB shmem:35540kB
shmem_thp: 32768kB shmem_pmdmapped: 0kB anon_thp: 8192kB writeback_tmp:0kB
unstable:0kB all_unreclaimable? no
[ 1599.988230] Node 0 DMA free:15888kB min:132kB low:164kB high:196kB
active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB
unevictable:0kB writepending:0kB present:15980kB managed:15888kB mlocked:0kB
kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB
free_cma:0kB
[ 1599.988232] lowmem_reserve[]: 0 1767 7764 7764 7764
[ 1599.988235] Node 0 DMA32 free:39292kB min:15356kB low:19192kB high:23028kB
active_anon:2576kB inactive_anon:176kB active_file:180kB inactive_file:672kB
unevictable:0kB writepending:0kB present:1913052kB managed:1847484kB
mlocked:0kB kernel_stack:192kB pagetables:60kB bounce:0kB free_pcp:0kB
local_pcp:0kB free_cma:0kB
[ 1599.988238] lowmem_reserve[]: 0 0 5996 5996 5996
[ 1599.988240] Node 0 Normal free:52080kB min:52092kB low:65112kB high:78132kB
active_anon:26492kB inactive_anon:33516kB active_file:68kB inactive_file:280kB
unevictable:0kB writepending:0kB present:6291456kB managed:6143580kB
mlocked:0kB kernel_stack:2992kB pagetables:9472kB bounce:0kB free_pcp:0kB
local_pcp:0kB free_cma:0kB
[ 1599.988243] lowmem_reserve[]: 0 0 0 0 0
[ 1599.988245] Node 0 DMA: 0*4kB 2*8kB (U) 2*16kB (U) 3*32kB (U) 2*64kB (U)
2*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15888kB
[ 1599.988255] Node 0 DMA32: 1920*4kB (UME) 896*8kB (UE) 254*16kB (UE) 662*32kB
(UE) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 40096kB
[ 1599.988262] Node 0 Normal: 533*4kB (UME) 322*8kB (ME) 193*16kB (UME)
186*32kB (UME) 138*64kB (UME) 84*128kB (UME) 29*256kB (UME) 9*512kB (ME)
5*1024kB (UME) 1*2048kB (E) 0*4096kB = 52532kB
[ 1599.988274] 9300 total pagecache pages
[ 1599.988280] 330 pages in swap cache
[ 1599.988281] Swap cache stats: add 33994559, delete 33989363, find
9377696/14194750
[ 1599.988281] Free swap  = 13562332kB
[ 1599.988282] Total swap = 16642044kB
[ 1599.988282] 2055122 pages RAM
[ 1599.988283] 0 pages HighMem/MovableOnly
[ 1599.988283] 53384 pages reserved
[ 1599.988283] 0 pages cma reserved
[ 1599.988284] 0 pages hwpoisoned
[ 1599.988379] Out of memory: Kill process 1918 (gem_ctx_thrash) score 1000 or
sacrifice child
[ 1599.988408] Killed process 1918 (gem_ctx_thrash) total-vm:635136kB,
anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

This is my configuration:
IGT-Version: 1.20-g88d6550 (x86_64) (Linux: 4.14.0-drm-tip-ww46-commit-1fc4fe8+
x86_64)
fastfeedback-nov-ww46-thursday-07-03-33-code-179785857

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


More information about the intel-gfx-bugs mailing list