From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQjoI-00061c-CF for qemu-devel@nongnu.org; Sat, 15 Aug 2015 18:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQjoD-0000N4-IK for qemu-devel@nongnu.org; Sat, 15 Aug 2015 18:20:18 -0400 Received: from mail-ph.de-nserver.de ([85.158.179.214]:14501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQjoD-0000Ld-7q for qemu-devel@nongnu.org; Sat, 15 Aug 2015 18:20:13 -0400 References: <55CF8877.30802@profihost.ag> From: Stefan Priebe Message-ID: <55CFBB1C.1080704@profihost.ag> Date: Sun, 16 Aug 2015 00:20:12 +0200 MIME-Version: 1.0 In-Reply-To: <55CF8877.30802@profihost.ag> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] guest: NO_HZ FULL will not work with unstable sched clock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel same with kvm clock: [ 0.195073] Switched to clocksource kvm-clock [ 0.195509] ------------[ cut here ]------------ [ 0.195509] WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:192 can_stop_full_tick+0x1c1/0x200() [ 0.195515] NO_HZ FULL will not work with unstable sched clock [ 0.195518] Modules linked in: [ 0.195531] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.1.5+11-ph #1 [ 0.195535] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.1-0-g4adadbd-20150316_085822-nilsson.home.kraxel.org 04/01/2014 [ 0.195544] ffffffff819fc200 ffff88023fc43e88 ffffffff8162dd36 000000000000121a [ 0.195551] ffff88023fc43ed8 ffff88023fc43ec8 ffffffff8107dcb7 ffff88023fc43ea8 [ 0.195558] 0000000000000000 0000000000000001 ffffffff81e667c0 ffffffff81cf1540 [ 0.195564] Call Trace: [ 0.195568] [] dump_stack+0x45/0x57 [ 0.195591] [] warn_slowpath_common+0x97/0xe0 [ 0.195596] [] warn_slowpath_fmt+0x46/0x50 [ 0.195600] [] can_stop_full_tick+0x1c1/0x200 [ 0.195604] [] tick_nohz_irq_exit+0x97/0xd0 [ 0.195609] [] irq_exit+0xcd/0x130 [ 0.195620] [] smp_apic_timer_interrupt+0x4a/0x60 [ 0.195627] [] apic_timer_interrupt+0x6e/0x80 [ 0.195631] [] ? trace_event_enum_update+0x1c7/0x3b0 [ 0.195644] [] ? trace_event_enum_update+0x20c/0x3b0 [ 0.195649] [] ? stop_trace_on_warning+0x3f/0x3f [ 0.195654] [] tracer_init_tracefs+0x11a/0x23b [ 0.195661] [] do_one_initcall+0xd8/0x210 [ 0.195669] [] ? parse_args+0x1b0/0x450 [ 0.195676] [] ? __wake_up+0x53/0x70 [ 0.195684] [] kernel_init_freeable+0x178/0x20f [ 0.195689] [] ? do_early_param+0x8c/0x8c [ 0.195700] [] ? create_pipe_files+0x1f2/0x200 [ 0.195706] [] ? rest_init+0x80/0x80 [ 0.195711] [] kernel_init+0xe/0xf0 [ 0.195715] [] ret_from_fork+0x42/0x70 [ 0.195719] [] ? rest_init+0x80/0x80 [ 0.195729] ---[ end trace cf665146248feec1 ]--- Stefan Am 15.08.2015 um 20:44 schrieb Stefan Priebe: > Hi, > > while switching to a FULL tickless kernel i detected that all our VMs > produce the following stack trace while running under qemu 2.3.0. > > [ 0.195160] HPET: 3 timers in total, 0 timers will be used for > per-cpu timer > [ 0.195181] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 > [ 0.195188] hpet0: 3 comparators, 64-bit 100.000000 MHz counter > [ 0.200119] Switched to clocksource hpet > [ 0.201164] ------------[ cut here ]------------ > [ 0.201193] WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:192 > can_stop_full_tick+0x1c1/0x200() > [ 0.201199] NO_HZ FULL will not work with unstable sched clock > [ 0.201203] Modules linked in: > [ 0.201214] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.18.20+55-ph #1 > [ 0.201219] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), > BIOS rel-1.8.1-0-g4adadbd-20150316_085822-nilsson.home.kraxel.org > 04/01/2014 > [ 0.201226] 0000000000000009 ffff88023fc43e88 ffffffff815f5889 > 00000000000008df > [ 0.201230] ffff88023fc43ed8 ffff88023fc43ec8 ffffffff8107433c > ffff88023fc43ea8 > [ 0.201233] 0000000000000000 0000000000000001 ffff880236c41300 > 00000000cbbde78b > [ 0.201237] Call Trace: > [ 0.201240] [] dump_stack+0x46/0x58 > [ 0.201260] [] warn_slowpath_common+0x8c/0xc0 > [ 0.201264] [] warn_slowpath_fmt+0x46/0x50 > [ 0.201270] [] can_stop_full_tick+0x1c1/0x200 > [ 0.201274] [] tick_nohz_irq_exit+0x97/0xd0 > [ 0.201277] [] irq_exit+0xcd/0x130 > [ 0.201286] [] smp_apic_timer_interrupt+0x4a/0x60 > [ 0.201293] [] apic_timer_interrupt+0x6a/0x70 > [ 0.201296] [] ? __d_lookup+0x55/0x160 > [ 0.201309] [] d_lookup+0x35/0x60 > [ 0.201312] [] lookup_dcache+0x3b/0xd0 > [ 0.201315] [] __lookup_hash+0x23/0x50 > [ 0.201319] [] lookup_one_len+0xce/0x120 > [ 0.201328] [] __create_file+0x8f/0x260 > [ 0.201332] [] debugfs_create_dir+0x1b/0x20 > [ 0.201338] [] event_create_dir+0x68/0x520 > [ 0.201342] [] event_trace_init+0x188/0x210 > [ 0.201348] [] ? trace_create_file+0x1b/0x50 > [ 0.201352] [] ? event_trace_enable+0x1a2/0x1a2 > [ 0.201359] [] do_one_initcall+0xd8/0x200 > [ 0.201368] [] ? parse_args+0x1f0/0x470 > [ 0.201373] [] ? __wake_up+0x53/0x70 > [ 0.201378] [] kernel_init_freeable+0x168/0x1ff > [ 0.201381] [] ? do_early_param+0x8c/0x8c > [ 0.201389] [] ? cryptomgr_probe+0x60/0xe0 > [ 0.201398] [] ? rest_init+0x80/0x80 > [ 0.201401] [] kernel_init+0xe/0xf0 > [ 0.201405] [] ret_from_fork+0x58/0x90 > [ 0.201408] [] ? rest_init+0x80/0x80 > [ 0.201415] ---[ end trace a15ba3bc1d247b4c ]--- > > Stefan