[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] POD: soft lockups in dom0 kernel


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Thu, 05 Dec 2013 14:55:29 +0100
  • Delivery-date: Thu, 05 Dec 2013 13:55:44 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:Message-ID: User-Agent:MIME-Version:Content-Transfer-Encoding: Content-Type; b=PkuP+cat56gbgI+y3/Sf3SvPv4Z3YCEjFe087o5qB/g+gqfBzzBxxz2u 1Ql1QinRUOGoqJvlHtBYNnW+nJCGfmdheniO1kMJlPi59/Be7+quH6859 EF5foiavtfQvP84+pfIQ8NlAh9KjUpSh8iwJS7+s3MqC1T92+iYxr/jD6 tYeduulQfRPczWFsa7IId7MKRqg+sELH56PUh2h0lakbxCgaESAIVymhg Dg15eV1hhJdQHH+KDVlmPh+ofWVsw;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi,

when creating a bigger (> 50 GB) HVM guest with maxmem > memory we get
softlockups from time to time.

kernel: [  802.084335] BUG: soft lockup - CPU#1 stuck for 22s! [xend:31351]

I tracked this down to the call of xc_domain_set_pod_target() and further
p2m_pod_set_mem_target().

Unfortunately I can this check only with xen-4.2.2 as I don't have a machine
with enough memory for current hypervisors. But it seems the code is nearly
the same.

My suggestion would be to do the 'pod set target' in the function
xc_domain_set_pod_target() in chunks of maybe 1GB to give the dom0 scheduler
a chance to run.
As this is not performance critical it should not be a problem.

I can reproduce this with SLES11-SP3 with Linux 3.0.101 and xen-4.2.2.

# cat dummy
name = "DummyOS"
memory = 10000
maxmem = 12000
builder='hvm'

# echo 1 > /proc/sys/kernel/watchdog_thresh
# xm create -c dummy

This leads to a kernel message:
kernel: [ 5019.958089] BUG: soft lockup - CPU#4 stuck for 3s! [xend:20854]

Any comments are welcome.
Thanks.

Dietmar.

-- 
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.