From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris J Arges Subject: Re: kvm-unit-test failures Date: Wed, 03 Sep 2014 10:21:43 -0500 Message-ID: <54073207.5090007@canonical.com> References: <53FDDD3F.8050102@redhat.com> <1409150751-22763-1-git-send-email-chris.j.arges@canonical.com> <53FDF09F.4060007@redhat.com> <53FE4C7E.90201@canonical.com> <1018860798.37183509.1409177149937.JavaMail.zimbra@redhat.com> <5400BA22.9080704@canonical.com> <5400EB01.1080106@canonical.com> <540347AD.20308@redhat.com> <54062146.9040609@canonical.com> <540729F0.20006@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Paolo Bonzini Return-path: Received: from youngberry.canonical.com ([91.189.89.112]:59185 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751986AbaICPVs (ORCPT ); Wed, 3 Sep 2014 11:21:48 -0400 In-Reply-To: <540729F0.20006@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/03/2014 09:47 AM, Paolo Bonzini wrote: > Il 02/09/2014 21:57, Chris J Arges ha scritto: >>>> Can you please trace the test using trace-cmd >>>> (http://www.linux-kvm.org/page/Tracing) and send the output? >>>> >>>> Paolo >>>> >> Paolo, >> >> I have posted the trace data here: >> http://people.canonical.com/~arges/kvm/trace.dat.xz > > Can you try running the test again (no need to get a new trace) with > clocksource=hpet on the kernel command line? > > Paolo > ./x86-run x86/kvmclock_test.flat -smp 2 --append "10000000 `date +%s`" qemu-system-x86_64 -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device pci-testdev -kernel x86/kvmclock_test.flat -smp 2 --append 10000000 1409757645 enabling apic enabling apic kvm-clock: cpu 0, msr 0x:44d4c0 kvm-clock: cpu 0, msr 0x:44d4c0 Wallclock test, threshold 5 Seconds get from host: 1409757645 Seconds get from kvmclock: 1409757645 Offset: 0 Check the stability of raw cycle ... Total vcpus: 2 Test loops: 10000000 Total warps: 0 Total stalls: 0 Worst warp: 0 Raw cycle is stable Monotonic cycle test: Total vcpus: 2 Test loops: 10000000 Total warps: 0 Total stalls: 0 Worst warp: 0 Measure the performance of raw cycle ... Total vcpus: 2 Test loops: 10000000 TSC cycles: 1106490299 Measure the performance of adjusted cycle ... Total vcpus: 2 Test loops: 10000000 TSC cycles: 3463433372 Return value from qemu: 1 Ok this passes, I'll now try the patch without the cmdline option. --chris