From: Mukesh Rathor Subject: Re: soft lockups during live migrate.. Date: Thu, 5 Nov 2009 19:06:04 -0800 Message-ID: <20091105190604.51cbe111@mantra.us.oracle.com> References: <20091022212149.32d73745@mantra.us.oracle.com> <20091023100936.GJ20579@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091023100936.GJ20579@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On Fri, 23 Oct 2009 11:09:36 +0100 Tim Deegan wrote: > At 05:21 +0100 on 23 Oct (1256275309), Mukesh Rathor wrote: > > Trying to migrate a 64bit PV guest with 64GB running medium to > > heavy load on xen 3.4.0, it is showing lot of soft lockups. The > > softlockups are causing dom0 reboot by the cluster FS. The hardware > > has 256GB and 32 CPUs. > > > > Looking into the hypervisor thru kdb, I see one cpu in > > sh_resync_all() while all other 31 appear spinning on the > > shadow_lock. > > How many vcpus does the guest have? Scalability issues in the OOS > shadow code are more related to number of VCPUs than amount of RAM. > > > I vaguely remember > > seeing some thread on this while ago, but just can't seem to google > > find it now. I'm trying to figure what could be done in the short > > run. > > The solution (for BS2000) was to plumb in a flag that disabled the OOS > code for particular domains. Ok, I'm confused. It appears oos disable is relevant for hvm only... I'm running PV. sh_update_paging_modes() .... if ( is_hvm_domain(d) && !d->arch.paging.shadow.oos_off ) <--- ... Also, >> Actually, things are fine with 32GB/32vcpus. Problem happens with >> 64GB/32vcpus. Trying the unstable version now. >Interesting. Have you tried increading the amount of shadow memeory >you give to the guest? IIRC xend tries to pick a sensible default but >if it's too low and you start thrashing things can get very slow indeed. What do you recommend I start with for 32VCPUs and 64GB? thanks Mukesh