[lkp-robot] [sched/idle] bb400b924e: fio.write_clat_95%_us -8% improvement
by kernel test robot
Greeting,
FYI, we noticed a -8% improvement of fio.write_clat_95%_us due to commit:
commit: bb400b924e06e94eb12047621bd70d61564fca4c ("sched/idle: make the fast idle path for short idle periods")
git://bee.sh.intel.com/git/aubrey/fast_idle.git 4.8.x
in testcase: fio-basic
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory
with following parameters:
disk: 1SSD
fs: btrfs
runtime: 300s
nr_task: 8
rw: randwrite
bs: 4k
ioengine: sync
test_size: 512g
cpufreq_governor: performance
test-description: Fio is a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user.
test-url: https://github.com/axboe/fio
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: fio-basic/1SSD-btrfs-300s-8-randwrite-4k-sync-512g-performance/lkp-bdw-ep2
4cb0c8c00bded81a bb400b924e06e94eb12047621b
---------------- --------------------------
0.17 ± 20% -58% 0.07 ± 17% fio.latency_4us%
237 233 fio.write_clat_mean_us
332 -8% 307 fio.write_clat_95%_us
304 -8% 279 fio.write_clat_90%_us
22.22 ± 4% -10% 19.96 ± 9% fio.latency_500us%
0.12 ± 14% -45% 0.07 ± 24% fio.latency_100us%
130 -17% 108 fio.time.system_time
50 -18% 41 fio.time.percent_of_cpu_this_job_got
237 21% 287 pmeter.Average_Active_Power
141 -16% 119 pmeter.performance_per_watt
128251 -3% 123873 vmstat.system.in
128 24% 159 turbostat.PkgWatt
53.98 11% 60.15 turbostat.RAMWatt
7.54 -41% 4.42 turbostat.%Busy
201 -39% 123 turbostat.Avg_MHz
10549 ±100% 2e+04 32779 ±173% latency_stats.avg.cgroup_kn_lock_live.__cgroup_procs_write.cgroup_procs_write.cgroup_file_write.kernfs_fop_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
22588 ± 7% 1e+04 36323 ±150% latency_stats.avg.max
10549 ±100% 2e+04 32779 ±173% latency_stats.max.cgroup_kn_lock_live.__cgroup_procs_write.cgroup_procs_write.cgroup_file_write.kernfs_fop_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
10549 ±100% 2e+04 32779 ±173% latency_stats.sum.cgroup_kn_lock_live.__cgroup_procs_write.cgroup_procs_write.cgroup_file_write.kernfs_fop_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
6644 250% 23269 ± 5% perf-stat.instructions-per-iTLB-miss
0.63 43% 0.90 perf-stat.ipc
5.33 37% 7.29 perf-stat.cache-miss-rate%
2.145e+09 ± 3% 15% 2.469e+09 perf-stat.iTLB-loads
788668 -26% 583795 perf-stat.cpu-migrations
3.019e+09 3.091e+09 perf-stat.cache-misses
8.685e+11 -15% 7.377e+11 perf-stat.dTLB-loads
3.254e+12 -16% 2.742e+12 perf-stat.instructions
5.527e+11 -15% 4.696e+11 perf-stat.dTLB-stores
6.852e+11 -18% 5.637e+11 perf-stat.branch-instructions
5.661e+10 -25% 4.239e+10 perf-stat.cache-references
18.12 ± 30% -40% 10.89 ± 13% perf-stat.node-store-miss-rate%
49893336 ± 26% -42% 28851077 ± 12% perf-stat.node-store-misses
5.195e+12 -41% 3.052e+12 perf-stat.cpu-cycles
1.08 -22% 0.85 perf-stat.branch-miss-rate%
7.393e+09 -35% 4.775e+09 perf-stat.branch-misses
0.21 -41% 0.12 ± 7% perf-stat.dTLB-load-miss-rate%
1.8e+09 -50% 9.054e+08 ± 8% perf-stat.dTLB-load-misses
18.60 -75% 4.57 ± 4% perf-stat.iTLB-load-miss-rate%
4.898e+08 -76% 1.182e+08 ± 5% perf-stat.iTLB-load-misses
0.04 -77% 0.01 ± 6% perf-stat.dTLB-store-miss-rate%
1.982e+08 -80% 38854803 ± 7% perf-stat.dTLB-store-misses
perf-stat.cache-references
6e+10 ++----------------------------------------------------------------+
5.8e+10 ++ .*... |
| ..*.. .*..*...*..*..*...*..*. *..*..*.. ..*..*
5.6e+10 *+.*...*..*..*. *. *. |
5.4e+10 ++ |
| |
5.2e+10 ++ |
5e+10 ++ |
4.8e+10 ++ |
| |
4.6e+10 O+ |
4.4e+10 ++ O O O O O |
| O O O O |
4.2e+10 ++ O |
4e+10 ++----------------------------------------------------------------+
perf-stat.branch-misses
8e+09 ++----------------------------------------------------------------+
| .*... |
7.5e+09 ++.*... .*...*.. .*. *..*..*.. .*
*. *..*. *..*..*...*..*..*...*. *...*. |
7e+09 ++ |
| |
6.5e+09 ++ |
| |
6e+09 ++ |
| |
5.5e+09 ++ |
O O O O O O |
5e+09 ++ O |
| O O O O |
4.5e+09 ++----------------------------------------------------------------+
perf-stat.dTLB-load-misses
2e+09 ++----------------------------------------------------------------+
*..*... ..*.. .*... |
1.8e+09 ++ *..*..*. *..*. *..*..*...*..*..*...*..*..*..*...*..*
| |
1.6e+09 ++ |
| |
1.4e+09 ++ |
| |
1.2e+09 ++ |
| O |
1e+09 O+ O O O O |
| O O O O |
8e+08 ++ O |
| |
6e+08 ++----------------------------------------------------------------+
perf-stat.dTLB-stores
5.6e+11 ++-----*----------------------*---------------*------*--*---------*
5.5e+11 *+.*. *..*...*.. .*..*. *..*...*..*. *. ..|
| *. *...* |
5.4e+11 ++ |
5.3e+11 ++ |
5.2e+11 ++ |
5.1e+11 ++ |
| |
5e+11 ++ |
4.9e+11 O+ O |
4.8e+11 ++ O O O O |
4.7e+11 ++ O O O O |
| |
4.6e+11 ++ O |
4.5e+11 ++----------------------------------------------------------------+
perf-stat.dTLB-store-misses
2.2e+08 ++----------------------------------------------------------------+
2e+08 *+.*... ..*..*.. .*...*..*..*...*..*..*... .*..*... |
| *..*..*. *. *..*. *..*
1.8e+08 ++ |
1.6e+08 ++ |
| |
1.4e+08 ++ |
1.2e+08 ++ |
1e+08 ++ |
| |
8e+07 ++ |
6e+07 O+ O O O O O |
| O O |
4e+07 ++ O O O |
2e+07 ++----------------------------------------------------------------+
perf-stat.iTLB-load-misses
7e+08 ++------------------------------------------------------------------+
| |
6e+08 ++.*... |
*. *..*...* |
| + *.. |
5e+08 ++ + .. *...*..*...*..*..*...*..*...*..*
| *..*...*..*...* |
4e+08 ++ |
| |
3e+08 ++ |
| |
| |
2e+08 ++ O |
O O O O O O O |
1e+08 ++----------------------O------O--O---------------------------------+
perf-stat.cpu-migrations
850000 ++-----------------------------------------------------------------+
| *.. *.. |
800000 ++.*.. + *... .. |
*. . + *..*.. .*... .*..*..*...* *... .*
| * *...*. *..*.. .. *. |
750000 ++ * |
| |
700000 ++ |
| |
650000 ++ |
| O |
O O |
600000 ++ O O O O O |
| O O O |
550000 ++-----------------------------------------------------------------+
perf-stat.cache-miss-rate_
8 ++--------------------------------------------------------------------+
| O O |
7.5 ++ |
| O O O O O |
| O O |
7 O+ O |
| |
6.5 ++ |
| |
6 ++ |
| |
| |
5.5 ++..*.. .*... .*...*.. ..*.. ..*..*...*..|
*. *...*. *. *...*..*...*..*. *...*..*. *
5 ++--------------------------------------------------------------------+
perf-stat.dTLB-load-miss-rate_
0.22 ++--------------------------*----------------------------------------+
*..*... .*... .. .*.. ..*.. ..*..*... |
0.2 ++ *..*...*. *..* *...*. *. *...*..*. *..*
| |
| |
0.18 ++ |
| |
0.16 ++ |
| |
0.14 ++ O |
O O O O |
| O O O |
0.12 ++ O |
| O O |
0.1 ++-------------------------------------------------------------------+
perf-stat.dTLB-store-miss-rate_
0.04 ++------------------------------------------------------------------+
| .*... .*..*... .*... .*...*.. ..*.. .*... |
0.035 *+ *..*...*. *. *..*. *. *..*...*. *..*
| |
0.03 ++ |
| |
0.025 ++ |
| |
0.02 ++ |
| |
0.015 ++ O |
O O O O O |
0.01 ++ O O |
| O O O |
0.005 ++------------------------------------------------------------------+
perf-stat.iTLB-load-miss-rate_
24 ++---------------------------------------------------------------------+
22 ++..*.. |
*. ..*..*. |
20 ++ *. .. .*.. ..*.. .*...|
18 ++ .. *...*..*. *...*..*...*. *
| *..*...*..*...* |
16 ++ |
14 ++ |
12 ++ |
| |
10 ++ |
8 ++ |
| O O |
6 O+ O O O O O |
4 ++-----------------------O------O---O----------------------------------+
perf-stat.instructions-per-iTLB-miss
26000 ++------------------------------------------------------------------+
24000 ++ O O |
| O O |
22000 ++ O O |
20000 ++ O |
18000 O+ O |
16000 ++ O |
| O |
14000 ++ |
12000 ++ |
10000 ++ |
8000 ++ |
| .*..*...*..*...*.. .*...*..*...*..*..*...*..*...*..*
6000 *+.*...*..*...*. *. |
4000 ++------------------------------------------------------------------+
fio.write_clat_90__us
310 ++------------*------*-------------*-------------*--------------------+
*...*.. .*. .. + *.. + .. .*. *.. *...*..|
305 ++ .. + + .. .. |
300 ++ * * *...* *..* *...* *
| |
295 ++ |
| |
290 ++ |
| O |
285 ++ |
280 ++ O O O O |
| O O O O |
275 ++ |
| O |
270 O+--------------------------------------------------------------------+
fio.write_clat_95__us
345 ++--------------------------------------------------------------------+
340 ++ *... |
*...*.. .*..*... .. *.. .*.. .*... |
335 ++ .. * ..*. . ..*. *.. .*...*..|
330 ++ * *. *..*. *...*. *
| |
325 ++ |
320 ++ |
315 ++ |
| O |
310 ++ O O O O |
305 ++ O O |
| O O O |
300 O+ |
295 ++--------------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 9 months
[rbtree_test_init] ca92e6c7e6 [ 87.454390] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]
by Fengguang Wu
Greetings,
FYI, here is a soft-lockup bug in linux-next that cannot be bisected
due to noises.
[ 39.808930] xz_dec_test: Create a device node with 'mknod xz_dec_test c 249 0' and write .xz files to it.
[ 39.823932] glob: 64 self-tests passed, 0 failed
[ 39.826494] rbtree testing
[ 59.360186] -> 571619 cycles
[ 61.437068] augmented rbtree testing
[ 87.454390] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]
[ 87.463514] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc4-00095-gca92e6c #1
[ 87.466569] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 87.472161] task: ffff880018540000 task.stack: ffff880018548000
[ 87.474709] RIP: 0010:__asan_loadN+0x0/0x20
[ 87.476420] RSP: 0000:ffff88001854fd78 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10
[ 87.479538] RAX: fffffbfff5e6ca3d RBX: 0000000000000000 RCX: ffffffffab585fd2
[ 87.482608] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffffaf365198
[ 87.485552] RBP: ffff88001854fdc0 R08: fffffbfff5e6ca3d R09: fffffbfff5e6ca3c
[ 87.488431] R10: ffffffffaf3651e7 R11: fffffbfff5e6ca3d R12: 0000000000000003
[ 87.493010] R13: ffffffffb20a4448 R14: ffffffffb20a4478 R15: ffffffffb20a4568
[ 87.495917] FS: 0000000000000000(0000) GS:ffffffffae2c0000(0000) knlGS:0000000000000000
[ 87.499113] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.501423] CR2: 0000000000000000 CR3: 000000000c620000 CR4: 00000000000006f0
[ 87.504274] Call Trace:
[ 87.505393] ? erase_augmented+0xf9/0x33b
[ 87.507463] rbtree_test_init+0x187/0x220
[ 87.509042] ? irq_poll_setup+0x4d/0x4d
[ 87.510528] do_one_initcall+0x15a/0x321
[ 87.512070] ? start_kernel+0x718/0x718
[ 87.513550] ? parse_args+0x5b8/0x7e0
[ 87.515134] ? do_early_param+0x114/0x114
[ 87.516946] kernel_init_freeable+0x2ce/0x3d8
[ 87.518688] ? rest_init+0xd0/0xd0
[ 87.520100] kernel_init+0xc/0x200
[ 87.521416] ? rest_init+0xd0/0xd0
[ 87.522742] ret_from_fork+0x31/0x40
[ 87.524131] Code: c6 48 c1 ee 03 0f b6 14 16 84 d2 74 df 83 e0 07 38 c2 7f d8 ba 01 00 00 00 be 10 00 00 00 e8 48 02 00 00 5d c3 66 0f 1f 44 00 00 <55> 31 d2 48 89 e5 48 8b 4d 08 e8 61 ed ff ff 5d c3 0f 1f 44 00
[ 87.532512] Kernel panic - not syncing: softlockup: hung tasks
[ 87.534863] CPU: 0 PID: 1 Comm: swapper Tainted: G L 4.10.0-rc4-00095-gca92e6c #1
[ 87.538173] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 87.542228] Call Trace:
[ 87.543234] <IRQ>
[ 87.544107] dump_stack+0x19/0x2a
[ 87.545434] panic+0x1c9/0x415
[ 87.546616] ? percpu_up_read_preempt_enable+0x9b/0x9b
[ 87.549079] ? ftrace_likely_update+0x62/0x80
[ 87.550973] ? watchdog_timer_fn+0x35e/0x390
[ 87.552575] watchdog_timer_fn+0x390/0x390
[ 87.554217] ? watchdog_park_threads+0x50/0x50
[ 87.555924] __hrtimer_run_queues+0x383/0x670
[ 87.558025] ? hrtimer_fixup_activate+0x30/0x30
[ 87.559745] hrtimer_interrupt+0xda/0x2e0
[ 87.561374] ? hrtimer_fixup_init+0x30/0x30
[ 87.562961] local_apic_timer_interrupt+0x4d/0x70
[ 87.564761] smp_apic_timer_interrupt+0x4b/0x60
[ 87.566516] apic_timer_interrupt+0x91/0xa0
[ 87.568164] RIP: 0010:__asan_loadN+0x0/0x20
[ 87.572423] RSP: 0000:ffff88001854fd78 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10
[ 87.575701] RAX: fffffbfff5e6ca3d RBX: 0000000000000000 RCX: ffffffffab585fd2
[ 87.578359] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffffaf365198
[ 87.581055] RBP: ffff88001854fdc0 R08: fffffbfff5e6ca3d R09: fffffbfff5e6ca3c
[ 87.583941] R10: ffffffffaf3651e7 R11: fffffbfff5e6ca3d R12: 0000000000000003
[ 87.586824] R13: ffffffffb20a4448 R14: ffffffffb20a4478 R15: ffffffffb20a4568
[ 87.589688] </IRQ>
[ 87.590612] ? erase_augmented+0x5d/0x33b
[ 87.593547] ? erase_augmented+0xf9/0x33b
[ 87.595647] rbtree_test_init+0x187/0x220
[ 87.597345] ? irq_poll_setup+0x4d/0x4d
[ 87.598936] do_one_initcall+0x15a/0x321
[ 87.600523] ? start_kernel+0x718/0x718
[ 87.602110] ? parse_args+0x5b8/0x7e0
[ 87.603599] ? do_early_param+0x114/0x114
[ 87.605190] kernel_init_freeable+0x2ce/0x3d8
[ 87.606919] ? rest_init+0xd0/0xd0
[ 87.608233] kernel_init+0xc/0x200
[ 87.609616] ? rest_init+0xd0/0xd0
[ 87.611082] ret_from_fork+0x31/0x40
[ 87.612677] Kernel Offset: 0x29e00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
0b75f821ec Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
4205e4786d cpu/hotplug: Provide dynamic range for prepare stage
ca92e6c7e6 Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
269c930e66 Merge tag 'xfs-4.11-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
d203084e69 Add linux-next specific files for 20170406
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+---------------+
| | 0b75f821ec | 4205e4786d | ca92e6c7e6 | 269c930e66 | next-20170406 |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+---------------+
| boot_successes | 0 | 0 | 176 | 26 | 11 |
| boot_failures | 700 | 700 | 3 | 14 | 4 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:Probing_EDD(edd=off_to_disable)...ok | 688 | 700 | | | |
| BUG:kernel_hang_in_early-boot_stage,last_printk:Probing_EDD(edd=off_to_disable)...ok | 12 | | | | |
| BUG:soft_lockup-CPU##stuck_for#s | 0 | 0 | 3 | 14 | 4 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 0 | 3 | 14 | 4 |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+---------------+
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.10 v4.9 --
git bisect good 9e3596b0c6539e28546ff7c72a06576627068353 # 02:55 G 30 0 0 0 kbuild: initramfs cleanup, set target from Kconfig
git bisect bad 3aebae061cea6f6627ab882a73de7b0b21af3127 # 03:39 B 4 2 0 1 Merge tag 'vfio-v4.10-rc6' of git://github.com/awilliam/linux-vfio
git bisect good c92816275674c1491ce228ee49aa030a5fa1be04 # 04:09 G 32 0 32 32 Merge tag 'char-misc-4.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect bad e3737b9145636e884d7185176cbe76a3f2c645e2 # 04:23 B 0 1 11 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect bad fa19a769f82fb9a5ca000b83cacd13fcaeda51ac # 04:47 B 29 1 0 0 Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
git bisect good 203f80f1c4187b2d5b3a282586fa6cc6d9503d4b # 05:14 G 174 0 174 174 Merge branch 'stable/for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
git bisect good 9da96f99f15169b8bf77a1f27ed6d926f82ea59f # 05:33 G 178 0 178 178 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 0b75f821ec8be459dd4dec77be39595d989d77ac # 05:58 G 178 0 178 178 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad ca92e6c7e6329029d7188487a5c32e86ef471977 # 06:18 B 6 2 0 0 Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 4205e4786d0b9fc3b4fec7b1910cf645a0468307 # 07:10 G 172 0 172 172 cpu/hotplug: Provide dynamic range for prepare stage
# first bad commit: [ca92e6c7e6329029d7188487a5c32e86ef471977] Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 0b75f821ec8be459dd4dec77be39595d989d77ac # 07:51 G 519 0 519 699 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 4205e4786d0b9fc3b4fec7b1910cf645a0468307 # 08:10 G 510 0 510 690 cpu/hotplug: Provide dynamic range for prepare stage
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad ca92e6c7e6329029d7188487a5c32e86ef471977 # 08:27 B 0 4 14 0 Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# extra tests on HEAD of linux-devel/devel-spot-201704051704
git bisect bad 15522f7f5af9cd4d431425bee50b782a5f1dbb0f # 08:27 B 9 4 0 0 0day head guard for 'devel-spot-201704051704'
# extra tests on tree/branch linus/master
git bisect bad 269c930e6698e6afa6d4606bfd241f4497597e79 # 09:06 B 4 1 0 0 Merge tag 'xfs-4.11-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
# extra tests on tree/branch linux-next/master
git bisect bad d203084e692ac2f656cf8c50449f8f90ca7875de # 09:51 B 6 1 3 4 Add linux-next specific files for 20170406
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [debug] 19d436268d: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 19d436268dde95389c616bb3819da73f0a8b28a8 ("debug: Add _ONCE() logic to report_bug()")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+------------+------------+
| | 70579a86e3 | 19d436268d |
+----------------------------------------------------+------------+------------+
| boot_successes | 4 | 2 |
| boot_failures | 4 | 6 |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_nodemask | 4 | |
| BUG:unable_to_handle_kernel | 0 | 6 |
| Oops:#[##] | 0 | 6 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 6 |
+----------------------------------------------------+------------+------------+
[ 82.299704] BUG: unable to handle kernel paging request at ffffffff81eec014
[ 82.299719] IP: report_bug+0xff/0x1d0
[ 82.299720] PGD 200a067
[ 82.299721] PUD 200b063
[ 82.299722] PMD 8000000001e001e1
[ 82.299723]
[ 82.299725] Oops: 0003 [#1] PREEMPT SMP
[ 82.299726] Modules linked in: crc32c_intel(+) intel_uncore(-) evbug serio_raw tpm_tis tpm_tis_core ide_pci_generic tpm parport_pc parport
[ 82.299736] CPU: 0 PID: 177 Comm: systemd-udevd Not tainted 4.11.0-rc3-00048-g19d4362 #2
[ 82.299738] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 82.299740] task: ffff88003f0fb840 task.stack: ffff88003c3a0000
[ 82.299742] RIP: 0010:report_bug+0xff/0x1d0
[ 82.299743] RSP: 0018:ffff88003c3a37f8 EFLAGS: 00010202
[ 82.299745] RAX: 0000000000000907 RBX: ffff88003c3a3948 RCX: ffffffff81eec00a
[ 82.299746] RDX: 0000000000000001 RSI: 0000000000000e45 RDI: 0000000000000001
[ 82.299747] RBP: ffff88003c3a3818 R08: ffff88003c3a37e0 R09: ffff88003c3a0000
[ 82.299748] R10: ffff88003c3a4000 R11: 0000000000000000 R12: ffffffff81209bfd
[ 82.299749] R13: ffffffff81e34520 R14: ffff88003c3a3880 R15: 0000000000000004
[ 82.299751] FS: 00007f56d11168c0(0000) GS:ffff880035200000(0000) knlGS:0000000000000000
[ 82.299752] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 82.299752] CR2: ffffffff81eec014 CR3: 000000003ea91000 CR4: 00000000000006b0
[ 82.299756] Call Trace:
[ 82.299764] do_trap+0x21d/0x250
[ 82.299767] do_error_trap+0x9b/0x130
[ 82.299772] ? __alloc_pages_nodemask+0xc0d/0x1840
[ 82.299776] ? __this_cpu_preempt_check+0x1b/0x30
[ 82.299781] ? preempt_count_add+0x120/0x150
[ 82.299785] ? _raw_spin_unlock+0x2e/0x60
[ 82.299790] ? get_partial_node+0x1a4/0x400
[ 82.299793] do_invalid_op+0x28/0x40
[ 82.299795] invalid_op+0x1e/0x30
[ 82.299798] RIP: 0010:__alloc_pages_nodemask+0xc0d/0x1840
[ 82.299799] RSP: 0018:ffff88003c3a39f0 EFLAGS: 00010202
[ 82.299801] RAX: 00000000fffcad61 RBX: 0000000000000000 RCX: 0000000000000017
[ 82.299803] RDX: 0000000000000000 RSI: 00000000014040c0 RDI: ffff8800355cb000
[ 82.299804] RBP: ffff88003c3a3b38 R08: 0000000000000000 R09: ffffffffff800f8a
[ 82.299805] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
[ 82.299806] R13: 0000000000000017 R14: ffffffff82700ee0 R15: 0000000000000017
[ 82.299809] ? preempt_count_add+0x120/0x150
[ 82.299814] ? update_curr+0x8a/0x2b0
[ 82.299816] ? __dequeue_entity+0x2e/0x60
[ 82.299819] ? _raw_spin_unlock_irq+0x3d/0x70
[ 82.299821] ? finish_task_switch+0xc2/0x320
[ 82.299825] alloc_pages_current+0xd3/0x250
[ 82.299829] kmalloc_order_trace+0x36/0x190
[ 82.299831] __kmalloc_track_caller+0x2f1/0x3b0
[ 82.299835] kmemdup+0x30/0x70
[ 82.299838] gcov_info_dup+0x141/0x220
[ 82.299839] gcov_event+0x4bd/0x540
[ 82.299841] ? __might_sleep+0x62/0xc0
[ 82.299844] gcov_module_notifier+0x145/0x150
[ 82.299846] notifier_call_chain+0x62/0xa0
[ 82.299849] __blocking_notifier_call_chain+0x5f/0x90
[ 82.299851] blocking_notifier_call_chain+0x1e/0x30
[ 82.299853] do_init_module+0x2a2/0x640
[ 82.299855] load_module+0x1d81/0x2130
[ 82.299857] ? free_modinfo_version+0x40/0x40
[ 82.299861] ? kernel_read_file+0x26f/0x2a0
[ 82.299864] ? kernel_read_file_from_fd+0x61/0xc0
[ 82.299866] SyS_finit_module+0x108/0x120
[ 82.299870] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 82.299872] RIP: 0033:0x7f56cff91d49
[ 82.299872] RSP: 002b:00007ffc11a4f718 EFLAGS: 00000206 ORIG_RAX: 0000000000000139
[ 82.299875] RAX: ffffffffffffffda RBX: 00007f56d11061dd RCX: 00007f56cff91d49
[ 82.299877] RDX: 0000000000000000 RSI: 00007f56d08ad525 RDI: 0000000000000007
[ 82.299878] RBP: 000056441e9137c0 R08: 0000000000000000 R09: 000056441e927840
[ 82.299878] R10: 0000000000000007 R11: 0000000000000206 R12: 000056441e912830
[ 82.299879] R13: 000056441e927840 R14: 0000000000000000 R15: 000056441d27d5b3
[ 82.299882] Code: 49 01 cd 83 e7 01 a8 02 74 25 66 85 ff 74 20 48 83 05 15 27 2c 01 01 a8 04 ba 01 00 00 00 75 3e 48 83 05 0c 27 2c 01 01 83 c8 04 <66> 89 41 0a 66 85 ff 74 71 0f b6 49 0b 4c 89 e2 45 31 c9 49 89
[ 82.299915] RIP: report_bug+0xff/0x1d0 RSP: ffff88003c3a37f8
[ 82.299915] CR2: ffffffff81eec014
[ 82.299921] ---[ end trace 02cd3803c02620c7 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
[mm/shmem] 8058914aac: BUG: unable to handle kernel NULL pointer dereference at 00000010
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Matthew-Auld/drm-i915-initial-su...
commit 8058914aac9ce01cb1bc39d222e9d9f89c5153c5
Author: Matthew Auld <matthew.auld(a)intel.com>
AuthorDate: Tue Apr 4 23:11:27 2017 +0100
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Thu Apr 6 06:10:20 2017 +0800
mm/shmem: tweak the huge-page interface
In its current form huge-pages through shmemfs are controlled at the
super-block level, and are currently disabled by default, so to enable
huge-pages for a shmem backed gem object we would need to re-mount the
fs with the huge= argument, but for drm the mount is not user visible,
so good luck with that. The other option is the global sysfs knob
shmem_enabled which exposes the same huge= options, with the addition of
DENY and FORCE.
Neither option seems really workable, what we probably want is to able
to control the use of huge-pages at the time of pinning the backing
storage for a particular gem object, and only where it makes sense given
the size of the object. One caveat is when we write into the page cache
prior to pinning the backing storage. I played around with a bunch of
ideas but in the end just settled with driver overridable huge option
embedded in shmem_inode_info. Thoughts?
Signed-off-by: Matthew Auld <matthew.auld(a)intel.com>
3bf004dc55 drm/i915/debugfs: include some huge-page metrics
8058914aac mm/shmem: tweak the huge-page interface
0f486a4a6c drm/i915: support transparent-huge-pages through shmemfs
+------------------------------------------+------------+------------+------------+
| | 3bf004dc55 | 8058914aac | 0f486a4a6c |
+------------------------------------------+------------+------------+------------+
| boot_successes | 46 | 0 | 2 |
| boot_failures | 0 | 15 | 24 |
| BUG:unable_to_handle_kernel | 0 | 15 | 24 |
| Oops:#[##] | 0 | 15 | 24 |
| EIP:shmem_get_unmapped_area | 0 | 15 | 24 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 24 |
+------------------------------------------+------------+------------+------------+
[ 60.985669] vhci_hcd: dump_port_status_diff:122:
[ 60.986926] vhci_hcd: vhci_hub_control:426: bye
[ 61.031241] udevadm (115) used greatest stack depth: 6524 bytes left
[ 61.278080] mount (291) used greatest stack depth: 6328 bytes left
Kernel tests: Boot OK!
[ 61.541739] BUG: unable to handle kernel NULL pointer dereference at 00000010
[ 61.542703] IP: shmem_get_unmapped_area+0x22/0x190
[ 61.543431] *pdpt = 000000000e163001 *pde = 0000000000000000
[ 61.543432]
[ 61.544577] Oops: 0000 [#1]
[ 61.545064] Modules linked in:
[ 61.545580] CPU: 0 PID: 482 Comm: trinity Not tainted 4.11.0-rc4-01036-g8058914 #2
[ 61.546700] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 61.548141] task: cebaad40 task.stack: ce086000
[ 61.548814] EIP: shmem_get_unmapped_area+0x22/0x190
[ 61.549522] EFLAGS: 00010207 CPU: 0
[ 61.550083] EAX: 00000000 EBX: fffffff4 ECX: 00057000 EDX: 00000000
[ 61.550952] ESI: 00000000 EDI: cfd19a50 EBP: ce087ed8 ESP: ce087ebc
[ 61.551808] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 61.552566] CR0: 80050033 CR2: 00000010 CR3: 0ebef720 CR4: 000006b0
[ 61.553425] Call Trace:
[ 61.553881] ? shmem_match+0x40/0x40
[ 61.554451] ? arch_get_unmapped_area+0xb0/0xb0
[ 61.555143] get_unmapped_area+0x30/0xb0
[ 61.555832] do_mmap+0xed/0x360
[ 61.556354] vm_mmap_pgoff+0x67/0xa0
[ 61.556928] SyS_mmap_pgoff+0xd7/0x1d0
[ 61.557513] do_int80_syscall_32+0x46/0x130
[ 61.558155] entry_INT80_32+0x36/0x36
[ 61.558753] EIP: 0x47f42cb3
[ 61.559238] EFLAGS: 00000246 CPU: 0
[ 61.559797] EAX: ffffffda EBX: 00000000 ECX: 00056094 EDX: 00000003
[ 61.560652] ESI: 00000021 EDI: ffffffff EBP: 00000000 ESP: bfe8f43c
[ 61.561502] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 61.562262] Code: 90 90 90 90 90 90 90 90 90 55 89 e5 57 56 53 bb f4 ff ff ff 83 ec 10 81 f9 00 00 00 c0 76 0a 8d 65 f4 89 d8 5b 5e 5f 5d c3 89 c6 <8b> 40 10 89 55 ec 89 cf 89 45 f0 a1 50 3e 5b d0 8b 80 38 02 00
[ 61.564757] EIP: shmem_get_unmapped_area+0x22/0x190 SS:ESP: 0068:ce087ebc
[ 61.565667] CR2: 0000000000000010
[ 61.566226] ---[ end trace ed17f348811e482f ]---
[ 61.567038] BUG: unable to handle kernel NULL pointer dereference at 00000010
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 92050c88b32ecfb9956ee5c71fd57a4cf0c53111 97da3854c526d3a6ee05c849c96e48d21527606c --
git bisect bad dc895d01e4923e612844951241a0401145d64551 # 14:18 B 0 11 25 2 Merge 'linux-review/Punit-Agrawal/Support-swap-entries-for-contiguous-pte-hugepages/20170406-090327' into devel-catchup-201704061039
git bisect good 009b1b457cde0e3dc02ec1bdc76190877ca2415a # 14:35 G 11 0 0 0 Merge 'linux-review/Jeffy-Chen/of-pci-Fix-memory-leak-in-of_pci_get_host_bridge_resources/20170406-053717' into devel-catchup-201704061039
git bisect bad eca83124d9526cd7f5c3f13a95d4452037266d73 # 14:46 B 0 4 26 11 Merge 'linux-review/Sagar-Arun-Kamble/drm-i915-Suspend-GuC-prior-to-GPU-Reset-during-GEM-suspend/20170406-055705' into devel-catchup-201704061039
git bisect good c5cd4b0a89b97a3ae38f3b74848e26f4ac6c4727 # 15:04 G 11 0 0 0 Merge 'linux-review/Sagar-Arun-Kamble/drm-i915-Suspend-GuC-during-GEM-Suspend-prior-to-GPU-Reset/20170406-055050' into devel-catchup-201704061039
git bisect bad 0f3c219b2c7465dcc4910603092ad6e16f7a7d2b # 15:18 B 0 3 14 0 Merge 'linux-review/Matthew-Auld/drm-i915-initial-support-for-huge-gtt-pages-V2/20170406-060958' into devel-catchup-201704061039
git bisect good 6a53e3311b002cf2923d7ca58b7527f2439d7e22 # 15:48 G 10 0 0 0 drm/i915: support inserting 64K pages in the ppgtt
git bisect good 25d76a2d56ee28ac4fdc39be7424eefba30d5945 # 16:01 G 11 0 0 1 drm/i915/selftests: modify the gtt tests to also exercise huge pages
git bisect good 3bf004dc558e4bbc289eac188cebc92d3a674d10 # 16:13 G 10 0 0 0 drm/i915/debugfs: include some huge-page metrics
git bisect bad 0f486a4a6cc745dee6f74cb54566de880db8da71 # 16:24 B 0 3 25 11 drm/i915: support transparent-huge-pages through shmemfs
git bisect bad 8058914aac9ce01cb1bc39d222e9d9f89c5153c5 # 16:43 B 0 11 22 0 mm/shmem: tweak the huge-page interface
# first bad commit: [8058914aac9ce01cb1bc39d222e9d9f89c5153c5] mm/shmem: tweak the huge-page interface
git bisect good 3bf004dc558e4bbc289eac188cebc92d3a674d10 # 16:53 G 31 0 0 0 drm/i915/debugfs: include some huge-page metrics
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 8058914aac9ce01cb1bc39d222e9d9f89c5153c5 # 17:08 B 0 7 18 0 mm/shmem: tweak the huge-page interface
# extra tests on HEAD of linux-devel/devel-catchup-201704061039
git bisect bad 92050c88b32ecfb9956ee5c71fd57a4cf0c53111 # 17:08 B 0 13 27 0 0day head guard for 'devel-catchup-201704061039'
# extra tests on tree/branch linux-review/Matthew-Auld/drm-i915-initial-support-for-huge-gtt-pages-V2/20170406-060958
git bisect bad 0f486a4a6cc745dee6f74cb54566de880db8da71 # 17:17 B 0 24 36 0 drm/i915: support transparent-huge-pages through shmemfs
# extra tests with first bad commit reverted
git bisect good db419f11f52f511f2377cdd431285ddc7c108123 # 17:44 G 10 0 0 0 Revert "mm/shmem: tweak the huge-page interface"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months
[lkp-robot] [sched/clock] 30c5d7a296: [No primary change] -77.8% netperf.time.percent_of_cpu_this_job_got
by kernel test robot
Greeting,
There is no primary kpi change in this test, below is the data collected through multiple monitors running background just for your information.
commit: 30c5d7a296f5b9c9dd340a5b9f1d42c60584499e ("sched/clock: broken stable to unstable transfer")
url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/Early-boot-time-s...
in testcase: netperf
on test machine: 144 threads Intel(R) Xeon(R) CPU E7-8890 v3 @ 2.50GHz with 128G memory
with following parameters:
ip: ipv4
runtime: 900s
nr_threads: 1
cluster: cs-localhost
test: TCP_MAERTS
cpufreq_governor: performance
test-description: Netperf is a benchmark that can be use to measure various aspect of networking performance.
test-url: http://www.netperf.org/netperf/
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: netperf/ipv4-900s-1-cs-localhost-TCP_MAERTS-performance/lkp-hsx02
bc4278987e3874da 30c5d7a296f5b9c9dd340a5b9f
---------------- --------------------------
%stddev %change %stddev
\ | \
93.33 ± 0% -77.8% 20.75 ± 16% netperf.time.percent_of_cpu_this_job_got
832.36 ± 0% -77.5% 187.34 ± 17% netperf.time.system_time
11.36 ± 6% -74.1% 2.95 ± 17% netperf.time.user_time
50817159 ± 0% +2.7% 52166968 ± 1% netperf.time.voluntary_context_switches
21590 ± 0% -14.4% 18476 ± 9% meminfo.Shmem
4736 ± 3% +10.2% 5220 ± 1% slabinfo.task_struct.num_objs
113764 ± 0% +2.6% 116765 ± 1% vmstat.system.cs
36315891 ± 19% -69.6% 11028810 ± 85% numa-numastat.node1.local_node
36326817 ± 19% -69.6% 11038189 ± 85% numa-numastat.node1.numa_hit
5397 ± 0% -14.4% 4618 ± 9% proc-vmstat.nr_shmem
5522 ± 0% -25.6% 4110 ± 18% proc-vmstat.pgactivate
93.33 ± 0% -77.8% 20.75 ± 16% time.percent_of_cpu_this_job_got
832.36 ± 0% -77.5% 187.34 ± 17% time.system_time
11.36 ± 6% -74.1% 2.95 ± 17% time.user_time
45579 ± 39% +49.2% 67983 ± 13% numa-meminfo.node0.Active
38362 ± 47% +59.7% 61253 ± 14% numa-meminfo.node0.Active(anon)
21378 ± 88% +111.6% 45226 ± 19% numa-meminfo.node0.AnonHugePages
35456 ± 56% +69.9% 60250 ± 17% numa-meminfo.node0.AnonPages
42025 ± 42% -67.0% 13871 ± 68% numa-meminfo.node1.AnonPages
9589 ± 47% +59.7% 15313 ± 14% numa-vmstat.node0.nr_active_anon
8861 ± 56% +70.0% 15061 ± 17% numa-vmstat.node0.nr_anon_pages
9589 ± 47% +59.7% 15313 ± 14% numa-vmstat.node0.nr_zone_active_anon
24988598 ± 22% +39.5% 34847137 ± 25% numa-vmstat.node0.numa_hit
11489366 ± 30% +110.3% 24167442 ± 33% numa-vmstat.node0.numa_local
10506 ± 42% -67.0% 3467 ± 68% numa-vmstat.node1.nr_anon_pages
0.80 ± 3% -7.2% 0.74 ± 3% perf-stat.cache-miss-rate%
netperf.time.percent_of_cpu_this_job_got
100 ++--------------------------------------------------------------------+
90 *+*.*..*.*.*.*.*..*.*.*.*.*.*.. .*.*.*.*..*.*.*.*.*..*.*.*.* *.*.*
| * : : |
80 ++ : : |
70 ++ : : |
| : : |
60 ++ O : : |
50 ++ : : |
40 O+ : : |
| O O O O : : |
30 ++ O O O O : : |
20 ++O O O O O O O : : |
| O O O O O O : : |
10 ++ : : |
0 ++--O----O---------------------------------------------------*-*------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 9 months
[lkp-robot] [sched/clock] 7b09cc5a9d: [No primary change] -82% netperf.time.system_time
by kernel test robot
Greeting,
There is no primary kpi change in this test, below is the data collected through multiple monitors running background just for your information.
commit: 7b09cc5a9debc86c903c2eff8f8a1fdef773c649 ("sched/clock: Fix broken stable to unstable transfer")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: netperf
on test machine: 144 threads Intel(R) Xeon(R) CPU E7-8890 v3 @ 2.50GHz with 128G memory
with following parameters:
ip: ipv4
runtime: 900s
nr_threads: 1
cluster: cs-localhost
test: TCP_MAERTS
cpufreq_governor: performance
test-description: Netperf is a benchmark that can be use to measure various aspect of networking performance.
test-url: http://www.netperf.org/netperf/
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: netperf/ipv4-900s-1-cs-localhost-TCP_MAERTS-performance/lkp-hsx02
698eff6355f735d4 7b09cc5a9debc86c903c2eff8f
---------------- --------------------------
%stddev change %stddev
\ | \
829.25 -82% 152.31 ± 40% netperf.time.system_time
93 -82% 16 ± 43% netperf.time.percent_of_cpu_this_job_got
12.96 ± 4% -84% 2.07 ± 39% netperf.time.user_time
0.02 ± 3% -14% 0.02 ± 4% perf-stat.dTLB-store-miss-rate%
26155911 ± 12% -17% 21806712 ± 6% perf-stat.iTLB-load-misses
netperf.time.system_time
900 ++--------------------------------------------------------------------+
|.*..*.*. .*.*.*..*.*.*..* *..*.*.*..*.*.*..*.*.*..*.*.*..*.*.*..*.*
800 *+ *. : : |
700 ++ : : |
| : : |
600 ++ : : |
500 ++ : : |
| : : |
400 ++ O : : |
300 ++ :O: |
| : : O |
200 ++ O O O O O : O |
100 O+O O O O O : O O O O O O O |
| : O |
0 ++--------------------------*-----------------------------------------+
netperf.time.percent_of_cpu_this_job_got
100 ++--------------------------------------------------------------------+
90 ++*..*.*.*..*.*.*..*.*.*..* *..*.*.*..*.*.*..*.*.*..*.*.*..*.*.*..*.*
* : : |
80 ++ : : |
70 ++ : : |
| : : |
60 ++ : : |
50 ++ : : |
40 ++ O : : |
| :O: |
30 ++ : : O |
20 ++ O O O O O O : O |
O O O O O : O O O O O |
10 ++ : O O O |
0 ++--------------------------*-----------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 9 months
qemu how-to?
by Dmitry Monakhov
Hi,
lkp-test project has nice howto about local case. But I want to run
lkp inside qemu in order to get beter resource utilization.
Unfortunetly it is not obvious how to do that. I've tried
#lkp split jobs/hackbench.yaml
#lkp compile hackbench-50%-threads-socket.yaml > job.yaml.sh
#lkp qemu -k $my-kernel//arch/x86/boot/bzImage job.yaml.sh
It gives me a lot of errors and exit, It's looks like script expect some
magic enviroment variables to be configured before run.
Can you please explain how to do that, or share your autostart script.
Can you please do that on clean enviroment debian enviroment (for
example inside docker container), so very first commands are
# docker run --rm -it --privileged debian:sid
#$ apt-get update
#$ apt-get install git make -y
#$ git clone https://github.com/01org/lkp-tests
#$ cd lkp-tests
#$ make install
BTW It would be nice to have this info in README file. Because IFAIU
many people want to ask this question again and again.
3 years, 9 months
[lkp-robot] [sched/fair] 05b40e0577: unixbench.score 1.7% improvement
by kernel test robot
Greeting,
FYI, we noticed a 1.7% improvement of unixbench.score due to commit:
commit: 05b40e057734811ce452344fb3690d09965a7b6a ("sched/fair: Prefer sibiling only if local group is under-utilized")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: unixbench
on test machine: 8 threads Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz with 4G memory
with following parameters:
runtime: 300s
nr_task: 100%
test: shell1
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-100%-shell1/nhm-white2
bc4278987e3874da 05b40e057734811ce452344fb3
---------------- --------------------------
9579 9746 unixbench.score
1372 1411 unixbench.time.system_time
572 586 unixbench.time.percent_of_cpu_this_job_got
2241 2290 unixbench.time.user_time
3.414e+08 3.469e+08 unixbench.time.minor_page_faults
11257714 11429175 unixbench.time.voluntary_context_switches
220021 -13% 192508 interrupts.CAL:Function_call_interrupts
74.78 76.56 turbostat.%Busy
2185 2237 turbostat.Avg_MHz
1:4 -25% :4 kmsg.do_IRQ:#No_irq_handler_for_vector
7223318 6% 7644439 perf-stat.cpu-migrations
2.172e+09 3% 2.238e+09 perf-stat.iTLB-load-misses
7.126e+09 7.321e+09 perf-stat.node-stores
1.09e+13 1.116e+13 perf-stat.cpu-cycles
9.27e+09 9.489e+09 perf-stat.cache-misses
1.211e+11 1.232e+11 perf-stat.cache-references
1.957e+09 1.991e+09 perf-stat.node-loads
5.522e+10 5.617e+10 perf-stat.branch-misses
8.315e+12 8.456e+12 perf-stat.instructions
1.642e+12 1.669e+12 perf-stat.branch-instructions
8.358e+12 8.496e+12 perf-stat.iTLB-loads
1.558e+12 1.584e+12 perf-stat.dTLB-stores
3.342e+08 3.395e+08 perf-stat.minor-faults
3.342e+08 3.395e+08 perf-stat.page-faults
2.751e+12 2.789e+12 perf-stat.dTLB-loads
0.03 0.03 perf-stat.iTLB-load-miss-rate%
3828 3778 perf-stat.instructions-per-iTLB-miss
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 9 months
[lkp-robot] [staging] 0789e2c538: kernel_BUG_at_drivers/base/driver.c
by kernel test robot
FYI, we noticed the following commit:
commit: 0789e2c538a0f766600f51cff83dc389b9ea3ad0 ("staging: unisys: visorbus: get rid of create_bus_type.")
https://github.com/0day-ci/linux David-Kershner/staging-unisys-Add-additional-error-handling-to-the-s-Par-drivers/20170329-031020
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 4d7e588d9c | 0789e2c538 |
+------------------------------------------+------------+------------+
| boot_successes | 64 | 0 |
| boot_failures | 0 | 11 |
| kernel_BUG_at_drivers/base/driver.c | 0 | 11 |
| invalid_opcode:#[##] | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 |
+------------------------------------------+------------+------------+
[ 12.361441] kernel BUG at drivers/base/driver.c:153!
[ 12.364118] invalid opcode: 0000 [#1] SMP
[ 12.366171] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc4-00790-g0789e2c #1
[ 12.368899] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 12.372029] task: ffff88001f646bc0 task.stack: ffffc90000008000
[ 12.374478] RIP: 0010:driver_register+0xa1/0xd0
[ 12.376841] RSP: 0000:ffffc9000000be60 EFLAGS: 00010246
[ 12.379118] RAX: 0000000000000000 RBX: ffffffff831d4c20 RCX: 0000000000000000
[ 12.381818] RDX: 000000000000004d RSI: ffffffff831d47c0 RDI: ffffffff831d4c20
[ 12.384605] RBP: ffffc9000000be78 R08: ffffc9000000be78 R09: ffffc9000000be7c
[ 12.387179] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[ 12.389868] R13: 00000000ffffffff R14: ffffffff832f3923 R15: 0000000000000000
[ 12.392573] FS: 0000000000000000(0000) GS:ffff88001f800000(0000) knlGS:0000000000000000
[ 12.395502] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 12.397886] CR2: 0000000000000000 CR3: 0000000003009000 CR4: 00000000000406b0
[ 12.400437] Call Trace:
[ 12.402366] ? visorbus_register_visor_driver+0x3f/0x60
[ 12.404900] ? init_unisys+0x3a/0x90
[ 12.406753] ? device_resume_response+0x50/0x50
[ 12.409003] visorinput_init+0x10/0x20
[ 12.410901] do_one_initcall+0x9a/0x164
[ 12.413035] ? set_debug_rodata+0x12/0x12
[ 12.415114] kernel_init_freeable+0x11e/0x1a1
[ 12.417259] ? rest_init+0x80/0x80
[ 12.419113] kernel_init+0x9/0x100
[ 12.421101] ret_from_fork+0x2c/0x40
[ 12.422964] Code: ff 85 c0 41 89 c4 75 13 48 8b 7b 70 31 f6 e8 97 16 be ff 44 89 e0 5b 41 5c 5d c3 48 89 df e8 57 e1 ff ff 44 89 e0 5b 41 5c 5d c3 <0f> 0b 48 8b 33 48 c7 c7 a0 dd d5 82 e8 ec f0 6f ff 48 8b 73 08
[ 12.428561] RIP: driver_register+0xa1/0xd0 RSP: ffffc9000000be60
[ 12.430817] ---[ end trace 03911425d08f3274 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
3 years, 9 months
[printk] fbc14616f4 BUG: kernel reboot-without-warning in test stage
by Fengguang Wu
Hi Sergey,
FYI here is another bisect result. The attached reproduce-* script may
help reproduce the bug.
https://github.com/0day-ci/linux/commits/Sergey-Senozhatsky/printk-introd...
commit fbc14616f483788afabe77d05bfb99883dc66c73
Author: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
AuthorDate: Wed Mar 29 18:25:11 2017 +0900
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Thu Mar 30 18:58:09 2017 +0800
printk: enable printk offloading
Initialize the kernel printing thread and enable printk()
offloading.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
fd8b6b120c printk: add printk emergency_mode parameter
fbc14616f4 printk: enable printk offloading
fbc14616f4 printk: enable printk offloading
+-------------------------------------------------+------------+------------+------------+
| | fd8b6b120c | fbc14616f4 | fbc14616f4 |
+-------------------------------------------------+------------+------------+------------+
| boot_successes | 96 | 22 | 22 |
| boot_failures | 0 | 13 | 13 |
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 13 | 13 |
+-------------------------------------------------+------------+------------+------------+
Kernel tests: Boot OK!
[ 125.982508] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 150.299255] Unregister pv shared memory for cpu 0
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 5809b48649bea3a3a6511b4393e2c73a670f7ad4 8f8ab14f4414e1be0e7c23036017e3e3130ba7cd --
git bisect good a8cd38c6c0b0a1543ab81ca37c740f4f86f085dc # 21:29 G 26 0 0 0 Merge 'hid/for-next' into devel-catchup-201703302001
git bisect bad d7261f07e7035243f09cb825895e8a6dcafe579c # 21:44 B 13 4 0 0 Merge 'linux-review/Sergey-Senozhatsky/printk-introduce-printing-kernel-thread/20170330-185752' into devel-catchup-201703302001
git bisect good 9dad6e22e1870cc1c426a374f5147c9374500dd7 # 10:28 G 30 0 0 0 Merge 'bpf/prog_test_run' into devel-catchup-201703302001
git bisect good 4fdb81c8aab9ba0d74fe86522f6def11d9ded0f1 # 10:40 G 31 0 0 0 Merge 'linux-review/Jan-Burgmeier/Fix-IB-va_start-ib_bytes-range-check-on-32Bit-systems/20170330-175723' into devel-catchup-201703302001
git bisect good da72040c4b25c8f8f0dfac045439da76983aea9c # 10:57 G 31 0 0 0 Merge 'linux-review/Alexey-Klimov/firmware-arm_scpi-reinit-completion-instead-of-full-init_completion/20170330-180533' into devel-catchup-201703302001
git bisect good 628e57e7b97e3f31e72917790122b0ef982e82c9 # 11:13 G 32 0 0 0 Merge 'linux-review/Shanker-Donthineni/ACPI-Update-platform-device-numa-node-based-on-_PXM-method/20170330-190738' into devel-catchup-201703302001
git bisect good 71b4c01c71544ce4e60ad2d2b97be5a2c9573d06 # 11:29 G 31 0 0 0 pm: switch to printk.emergency mode in unsafe places
git bisect good 2ddfa6a93b77983c93cb47c75f555b6b420ec8f7 # 00:30 G 32 0 0 0 kexec: switch to printk.emergency mode in unsafe places
git bisect bad fbc14616f483788afabe77d05bfb99883dc66c73 # 00:46 B 14 6 0 1 printk: enable printk offloading
git bisect good fd8b6b120c9cc25f3d080388d47a3ea531389c64 # 01:02 G 30 0 0 0 printk: add printk emergency_mode parameter
# first bad commit: [fbc14616f483788afabe77d05bfb99883dc66c73] printk: enable printk offloading
git bisect good fd8b6b120c9cc25f3d080388d47a3ea531389c64 # 01:19 G 92 0 0 0 printk: add printk emergency_mode parameter
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad fbc14616f483788afabe77d05bfb99883dc66c73 # 01:33 B 16 4 0 0 printk: enable printk offloading
# extra tests on HEAD of linux-devel/devel-catchup-201703302001
git bisect bad 5809b48649bea3a3a6511b4393e2c73a670f7ad4 # 01:39 B 9 3 0 2 0day head guard for 'devel-catchup-201703302001'
# extra tests on tree/branch linux-review/Sergey-Senozhatsky/printk-introduce-printing-kernel-thread/20170330-185752
git bisect bad fbc14616f483788afabe77d05bfb99883dc66c73 # 01:42 B 20 13 0 0 printk: enable printk offloading
# extra tests with first bad commit reverted
git bisect good ad729515c32be2b77245ca5889bd079892b09324 # 02:03 G 33 0 0 0 Revert "printk: enable printk offloading"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 9 months