Bug 99426

Summary: gem_mmap_gtt swap tests are too long - perf: interrupt took too long
Product: DRI Reporter: cprigent <christophe.prigent>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: lowest    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description cprigent 2017-01-16 13:58:37 UTC
Tested on BDW, SNB, SKL, IVB, HSW, BYT with SW config:

Kernel: 4.10.0-rc3 ea7e3e5 branch drm-tip from https://cgit.freedesktop.org/drm-tip
  commit ea7e3e5c99e316fb6876399f9b32b2372e45c4af
  Author: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
  Date:   Mon Jan 9 16:46:47 2017 +0200
  drm-tip: 2017y-01m-09d-14h-45m-54s UTC integration manifest

libdrm-2.4.74-21 geebefaf from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.2 c9e993b from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.4 9fe6683 from git://anongit.freedesktop.org/cairo
xorg-server-1.19.0-38 9d32b71 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-747 028c946 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-45 acbc209 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-216 70770f9 from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.17 e2eefcc from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
-------
1. Execute IGT test manually (no timeout is used):
./gem_mmap_gtt --r swap-copy
2. Wait 100 hours

Actual results:
----------------
2. Test is still not finished after 100 hours (IGT is still running - DUT is not freezed)
dmesg shows the same logs on all platforms, example on SKL:
[  151.322722] [IGT] gem_mmap_gtt: executing
[  151.353973] [IGT] gem_mmap_gtt: starting subtest swap-copy
[  151.354090] gem_mmap_gtt (31952): drop_caches: 4
[ 4843.205005] perf: interrupt took too long (2540 > 2500), lowering kernel.perf_event_max_sample_rate to 78500
[ 6383.794279] perf: interrupt took too long (3202 > 3175), lowering kernel.perf_event_max_sample_rate to 62250
[ 9271.093175] perf: interrupt took too long (4037 > 4002), lowering kernel.perf_event_max_sample_rate to 49500
[14046.280647] perf: interrupt took too long (5090 > 5046), lowering kernel.perf_event_max_sample_rate to 39250
[22889.758381] perf: interrupt took too long (6365 > 6362), lowering kernel.perf_event_max_sample_rate to 31250
[50315.915256] perf: interrupt took too long (7982 > 7956), lowering kernel.perf_event_max_sample_rate to 25000

Expected results:
-----------------
2. Test is not so long

Info:
-----
I can't attach dmesg due to its size
There is no log from IGT
Comment 1 Martin Peres 2019-11-12 07:35:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/1.

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.