Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4140238pxj; Mon, 21 Jun 2021 14:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMDUwuC1POGW4PeS+UuDjP0fkQqYHpXNnO2xtC1rUxsinhjL9K1hwpQZbSPkN+rmbBVxkO X-Received: by 2002:a6b:7119:: with SMTP id q25mr93916iog.117.1624311531606; Mon, 21 Jun 2021 14:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624311531; cv=none; d=google.com; s=arc-20160816; b=PnXurxWjTcpJom8W9YbQ0AOVvfaL/s3hBdw8QrjU70llpxhbWsnGGdOZjr2Z2LRw1q g5qmvQRGfeKTC1kM6gX8IxTGOi2IZ2PX1J1e/q/saeVfie7bwb5S/BoQ/n/upb/4JW82 DMGRq8gmub04BVs+ny1hESFhvuRHzF2p3JenbVGcI5HyKrakbRONpoyy+zymWWxd0+6N HFDXQl5QPpnoMd/3HC8YzLZIz3yfwRGeZ5XogJ9iL615kIYIRRd6hPY8OLBnrOWkVVZ1 x9G7DqYXeTEQh4e1FFihCNiTXA7anefCoZNJVQX3vsklq3LIKGYsfUNwWhl4drHbjmWN 77Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=echRYO9/03A/RWXXeBXOytrx6HhFq/gOusrcAB2T0SM=; b=FpIGanOOAkLkolO1MEEfI9+nF0lXXeX+6ouHjlivFVhCpbgByj0KukvbKyJ9WWwGL7 oJRX+w45zKatKA51e5eR1q9khR14rvCsN0NZfcqWv5noEUy9WApCiZ5Q3/BlWMnc2UaC aMQeUi/VNaEUUGyHwu/inNfkRg6XdWLQ/I+hJcX2UBO4Z3QPzXCKfNPntxD7Ogs7rHLw 9FQbg0uX9tOB6qrn+QYHUtzz4scrs/zoNDgw2iSOZLRTaO3GXcy5xkuK9R6v7o6sbfXi 9M1LaV7LiN3xQ5qAsY/rYbPiDgyffjnCBa73C5PxHNthomrZEhvRrnmjw+tSYuAowQRQ FRsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@eikelenboom.it header.s=20180706 header.b=QMPoXeGz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=eikelenboom.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si21504692ioq.102.2021.06.21.14.38.38; Mon, 21 Jun 2021 14:38:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@eikelenboom.it header.s=20180706 header.b=QMPoXeGz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=eikelenboom.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230521AbhFUVjK (ORCPT + 99 others); Mon, 21 Jun 2021 17:39:10 -0400 Received: from server.eikelenboom.it ([91.121.65.215]:59254 "EHLO server.eikelenboom.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbhFUVjK (ORCPT ); Mon, 21 Jun 2021 17:39:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eikelenboom.it; s=20180706; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=echRYO9/03A/RWXXeBXOytrx6HhFq/gOusrcAB2T0SM=; b=QMPoXeGzyDQrsOIfNIieSIfeAg n/wxyrVCxb+cCG47obHfKhLENJth+oPCFd5VIHGVTll5N/G/9yNjsJi7Yx8F/K89OG2RDP6V+TUjY KzzBpOpGalQ7ffutRpu+8cDkyXvDBMQ3R6mVGBMc3rVAslKKuTWUD3tz8UJS5E17hAto=; Received: from 76-24-144-85.ftth.glasoperator.nl ([85.144.24.76]:35594 helo=[172.16.1.50]) by server.eikelenboom.it with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lvRfm-0002an-Va; Mon, 21 Jun 2021 23:41:39 +0200 Subject: Re: Linux 5.13-rc6 regression to 5.12.x: kernel OOM and panic during kernel boot in low memory Xen VM's (256MB assigned memory). To: Rasmus Villemoes , Linus Torvalds , Juergen Gross Cc: linux-kernel , "xen-devel@lists.xenproject.org" , kernel test robot References: <9108c22e-3521-9e24-6124-7776d947b788@rasmusvillemoes.dk> <0b12f27b-1109-b621-c969-10814b2c1c2f@eikelenboom.it> <7338064f-10b6-545d-bc6c-843d04aafe28@eikelenboom.it> From: Sander Eikelenboom Message-ID: Date: Mon, 21 Jun 2021 23:36:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl-NL Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/06/2021 18:54, Rasmus Villemoes wrote: > On 18/06/2021 03.06, Sander Eikelenboom wrote: >> On 17/06/2021 21:39, Sander Eikelenboom wrote: > >> >> OK, done some experimentation and it seems with 256M assigned to the VM >> it was almost at the edge of OOM with the 5.12 kernel as well in the >> config I am using it. >> With v5.12 when I assign 240M it boots, with 230M it doesn't. With 5.13 >> the tipping point seems to be around 265M and 270M, so my config was >> already quite close to the edge. >> >> The "direct kernel boot" feature I'm using just seems somewhat memory >> hungry, but using another compression algorithm for the kernel and >> initramfs already helped in my case. >> >> So sorry for the noise, clearly user-error. > > Hm, perhaps, but I'm still a bit nervous about that report from Oliver > Sang/kernel test robot, which was for a VM equipped with 16G of memory. > But despite quite a few attempts, I haven't been able to reproduce that > locally, so unfortunately I have no idea what's going on. > > Rasmus > Hmm I just tried to switch all VM's to a 5.13-rc7 kernel. Some worked since i reduced the size, but some still fail. The difference seems the be the number of vcpu's I assign to the VM's The ones with 1 vcpu now boot with 256MB assigned (that was what I tested before), but the ones with 2 vcpu's assigned don't and still OOM on the same kernel and initramfs that I pass in from the host. Could that box from the test-robot have a massive amount of cpu-cores and that it is some how related to that ? -- Sander