From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
To: Avi Kivity <avi@redhat.com>, Ingo Molnar <mingo@elte.hu>,
Peter Zijlstra <peterz@infradead.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>, KVM <kvm@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: KVM: Softlockups in guests while running kernbench
Date: Fri, 11 May 2012 12:08:01 +0530 [thread overview]
Message-ID: <87obpvw7cm.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <87ipg4drgd.fsf@abhimanyu.in.ibm.com>
On Thu, 10 May 2012 20:16:26 +0530, Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> wrote:
> On Thu, 10 May 2012 15:39:04 +0530, Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> wrote:
>
> I had a discussion with Avi on IRC, he suggested running a trace on the
> host for the sched: tracepoints
>
> So when I see the console of the guest, i can see the soft-lockup
> messages. When I start tracing, soft-lockups disappear.
>
> Kernbench is started from the host; ps output:
> 13359 pts/1 S+ 0:00 perf stat -a -- ssh root@192.168.123.11 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13362 pts/1 S+ 0:00 ssh root@192.168.123.11 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13373 pts/1 S+ 0:00 perf stat -a -- ssh root@192.168.123.12 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13376 pts/1 S+ 0:00 ssh root@192.168.123.12 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13387 pts/1 S+ 0:00 perf stat -a -- ssh root@192.168.123.13 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13390 pts/1 S+ 0:00 ssh root@192.168.123.13 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13401 pts/1 S+ 0:00 perf stat -a -- ssh root@192.168.123.14 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
> 13402 pts/1 S+ 0:00 ssh root@192.168.123.14 cd /root/linux-src; kernbench -f -M -H -o 16 > /root/kbench.log
>
> I have tried following commands trace-cmd:
> 1) trace-cmd record -e kvm -e sched -b 100000 -p 13362
> 2) trace-cmd record -e sched -b 100000 -p 13362
> 3) trace-cmd record -e kvm -b 100000 -p 13362
>
> I have tried trace-cmd on qemu pid as well, I see similar behaviour in
> that case.
>
> Peterz/Ingo, Any clue on debugging this would help.
>
With CONFIG_DEBUG_SPINLOCK=y in guest config, I stop seeing the
soft-lockup
Nikunj
prev parent reply other threads:[~2012-05-11 7:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 8:15 KVM: Softlockups in guests while running kernbench Nikunj A Dadhania
2012-05-10 8:51 ` Nikunj A Dadhania
2012-05-10 9:22 ` Avi Kivity
2012-05-10 10:09 ` Nikunj A Dadhania
2012-05-10 14:46 ` Nikunj A Dadhania
2012-05-11 6:38 ` Nikunj A Dadhania [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87obpvw7cm.fsf@linux.vnet.ibm.com \
--to=nikunj@linux.vnet.ibm.com \
--cc=aarcange@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox