Bug 99426 - gem_mmap_gtt swap tests are too long - perf: interrupt took too long
Summary: gem_mmap_gtt swap tests are too long - perf: interrupt took too long
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: lowest normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-16 13:58 UTC by cprigent
Modified: 2018-07-04 16:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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


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.