Bug 90002

Summary: [BYT/SNB]igt/gem_evict_everything@mlocked-hang takes more than 10 minutes
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Marius Vlad <marius.c.vlad>
Status: CLOSED WONTFIX QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: BYT, HSW, SNB i915 features: GEM/Other
Attachments:
Description Flags
dmesg
none
Kernel configuration
none
hsw-ult-tag19june-kern.log
none
dmesg logfile none

Description lu hua 2015-04-13 05:44:33 UTC
Created attachment 115041 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, disabled in old testing. bug 84892

Non-working platforms: 

==kernel==
--------------------------
drm-intel-nightly/631c2f8cb69ecbd7dd0494c37dd3c7fbd04de928
commit 631c2f8cb69ecbd7dd0494c37dd3c7fbd04de928
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Apr 11 00:21:05 2015 +0200

    drm-intel-nightly: 2015y-04m-10d-22h-20m-20s UTC integration manifest

==Bug detailed description==
-----------------------------
It takes 20 minutes on BYT with drm-intel-nightly kernel.

output:
IGT-Version: 1.10-g007ff02 (x86_64) (Linux: 4.0.0-rc7_drm-intel-nightly_631c2f_20150411+ x86_64)
Subtest mlocked-hang: SUCCESS (1249.273s)

real    20m54.155s
user    0m1.518s
sys     2m38.376s

==Reproduce steps==
---------------------------- 
1. time ./gem_evict_everything --run-subtest mlocked-hang
Comment 1 lu hua 2015-04-13 06:09:02 UTC
Following cases also take more than 10 minutes.
igt@gem_evict_everything@forked-mempressure-interruptible
igt@gem_evict_everything@forked-mempressure-normal
igt@gem_evict_everything@forked-multifd-mempressure-interruptible
igt@gem_evict_everything@forked-multifd-mempressure-normal
Comment 2 ye.tian 2015-04-23 06:36:51 UTC
Tested it on SNB with the latest kernel and latest igt, it also exist on SNB.
output:
-----------------
root@x-sgb3:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# time ./gem_evict_everything --run-subtest mlocked-hang
IGT-Version: 1.10-ge1ce5ea (x86_64) (Linux: 4.0.0_drm-intel-nightly_b9fe35_20150421+ x86_64)
Subtest mlocked-hang: SUCCESS (752.412s)

real    12m36.740s
user    0m5.178s
sys     4m18.645s
Comment 3 ye.tian 2015-04-23 06:46:48 UTC
Tested it on the latest nightly kerel and igt, it still exist.

output:
-----------------
root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# time ./gem_evict_everything --run-subtest mlocked-hang
IGT-Version: 1.10-gbeddb3b (x86_64) (Linux: 4.0.0_drm-intel-nightly_b9fe35_20150421+ x86_64)
Subtest mlocked-hang: SUCCESS (734.162s)

real    12m17.155s
user    0m0.950s
sys     2m15.552s
Comment 4 cprigent 2015-06-26 16:50:55 UTC
Created attachment 116730 [details]
Kernel configuration
Comment 5 cprigent 2015-06-26 16:53:34 UTC
Created attachment 116731 [details]
hsw-ult-tag19june-kern.log
Comment 6 cprigent 2015-06-26 16:54:56 UTC
Reproduced on HSW-ULT with kernel 4.1-rc8 tag drm-intel-testing-2015-06-19

Hardware
Platform: Ultrabook Harris Beach PVT2
CPU: Intel® Core™ i5 4350U @ 1.40 GHz (family: 6, model: 69 stepping: 1)
SoC : Haswell ULT 2+3 C3 (GT3)
QDF : QEK3
Chipset PCH: Lynx Point LP B1
Software
Linux distribution: Ubuntu 14.10 64 bits
BIOS : HSWLPTU1.86C.0135.R01.1311020052
ME FW : 9.6.0.1038
Ksc : 1.24
Kernel 4.1-rc8 from git://anongit.freedesktop.org/drm-intel tag drm-intel-testing-2015-06-19
Mesa: mesa-10.5.8 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.61 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0.pre1 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0.pre1 from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: intel-gpu-tools-1.11 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

hsw-ult-tag19june-kern.log and Kernel configuration attached.
Comment 7 Jairo Miramontes 2015-08-14 19:17:57 UTC
Created attachment 117694 [details]
dmesg logfile


This timeout is still reproduced on kernel drm-intel-testing-2015-07-31 (kernel 4.2-rc4).

BYT-M

Hardware
Platform: Baytrail-M
CPU: Intel(R) Celeron(R) CPU  N2820  @ 2.13GHz

Software
Linux distribution: Ubuntu 14.04.02 LTS 64 bits
BIOS: 1.10
Ksc: 1.0
Kernel: drm-intel-testing-2015-07-31 (kernel 4.2-rc4). git://anongit.freedesktop.org/drm-intel 
Mesa: mesa-10.6.3 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.62 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.11 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
Comment 8 Jari Tahvanainen 2017-03-29 10:21:04 UTC
Marking resolved+wontfix. Assuming that long execution times are ok, nothing states here that it has been faster ever. Please reopen this if need to be, or preferable create new bug with the latest info.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.