Bug 77754

Summary: [ILK/SNB/IVB/HSW]igt/gem_cpu_reloc is slow
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Paulo Zanoni <przanoni>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 78724    
Bug Blocks:    
Attachments:
Description Flags
dmesg none

Description Guo Jinxian 2014-04-22 01:57:56 UTC
Created attachment 97719 [details]
dmesg

system Environment:
--------------------------
Platform: ILK SNB HSW
Kernel:(drm-intel-nightly)1e771b84e47085ef9b6efea1321e7cb5a8b2c065

Bug detailed description:
-----------------------------
igt/gem_cpu_reloc test spend about 20 minutes, unable to finish within 10 minutes on -nightly kernel.  


output:
[root@x-pk2 tests]# date;./gem_cpu_reloc;date
Tue Apr 22 21:52:42 CST 2014
IGT-Version: 1.6-g78e4c2b (x86_64) (Linux: 3.14.0_drm-intel-nightly_1e771b_20140421+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.
Tue Apr 22 22:12:42 CST 2014


Reproduce steps:
----------------------------
1. ./gem_cpu_reloc
Comment 1 Chris Wilson 2014-05-15 10:11:00 UTC
Was this a regression by any chance?

$ time sudo ./gem_cpu_reloc 
IGT-Version: 1.6-gae97ca1 (x86_64) (Linux: 3.15.0-rc3+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.

real	0m6.065s
user	0m0.356s
sys	0m5.600s
Comment 2 Daniel Vetter 2014-05-15 14:11:09 UTC
Needinfo to answer whether the slowdown is a regression. If so please bisect.
Comment 3 Chris Wilson 2014-05-16 11:33:16 UTC
Might as well wait until bug 78724 is fixed.
Comment 4 Daniel Vetter 2014-05-16 22:05:41 UTC
Let's hope this is now resolved, too. Please reopen if it's not the case.
Comment 5 Guo Jinxian 2014-06-18 07:54:16 UTC
Verified on latest -nightly

[root@x-ivb6 tests]# time ./gem_cpu_reloc
IGT-Version: 1.7-g1b1f4b1 (x86_64) (Linux: 3.15.0-rc8_drm-intel-nightly_fff6c5_20140618+ x86_64)
gem_cpu_reloc: 100%
Test suceeded, cleanup up - this might take a while.

real    0m4.997s
user    0m0.289s
sys     0m4.700s
Comment 6 Elizabeth 2017-10-06 14:38:36 UTC
Closing old verified.

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.