Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2593904rdb; Wed, 6 Sep 2023 09:05:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5Brr4OFGfxLPNv+BGJPGkLG6UK/QmlKgQcOEJ3VgCxNHAwwOW64FvroPT+/SqkkBT0ulA X-Received: by 2002:a17:907:2cd4:b0:991:d2a8:658a with SMTP id hg20-20020a1709072cd400b00991d2a8658amr2865191ejc.34.1694016317333; Wed, 06 Sep 2023 09:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694016317; cv=none; d=google.com; s=arc-20160816; b=SDkO005aZMebft9xb24SbXKtxnSTqXTBo7O6Lh0chrZy9LGIEf21fSf4jXv0bj634g rKiC+yBS8x5SLeaC8msSotOnfFuS9R/SyxxcWDElM2FGoflIoFTrLnULjxvJEpRmuFdP rRbzeFbq/04KdW36CctO6foTpTJ4BqNHSvD6zIETk2pRobqgh3pkU7Vwp9RLxCla0+1G PENNM3FwZt75h3f41tL5axHcL4oWE6JJUNMd6w+hMcCdBAmX/MOZVzS1/efdJlCni4PW /AXwQhkEiV3MwXr0ZyD+ZSk6wxYiHba7qq16Nq4p3AK7EnKzSQASR9wmfBZ7OM8M6mVU 4DEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fL6QqGvIc43iLir/lqFPWtX6Tk6Uwoi/Gic0axZZl1Y=; fh=3JQm257gCZqlI3SBUCR/bu7R83GA1MxPqRXQivZUvlc=; b=MEScalTXCiIc3hzjtj/ytc2EldWf/Efm4Mooi/0wXW6BuWpb+t8wrKwlMpDQYkZyur grb6b+bnf38XpbVjLuNkEgXxcHDltIkxahQDXzBqtilhJTjwSO/l8QUhXLy7xihSsZNj dbqty5Ulrzp6epePubuNjDhIwIM03TWSL2TCojngTMhWPcQclERjtqTMrmtWHLLue4DK jrT+1JJq54zRiWhRzTC8g4FkPlATFU6hwf21M1/bENs0DDwhtb5jKJUDbDOVbRosebUR jzczH5KEu2OSyX8DawElCFjs8LSfCfFTpDeDhz6Ws/gTm70b5WN+yFjRKBVT6L+ntCK3 Y+LA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ci12-20020a170906c34c00b0099cd32bd549si9560877ejb.606.2023.09.06.09.04.41; Wed, 06 Sep 2023 09:05:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236910AbjIFP0W (ORCPT + 99 others); Wed, 6 Sep 2023 11:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbjIFP0V (ORCPT ); Wed, 6 Sep 2023 11:26:21 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 42AA9E5C; Wed, 6 Sep 2023 08:26:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 897528050; Wed, 6 Sep 2023 15:26:17 +0000 (UTC) Date: Wed, 6 Sep 2023 18:26:16 +0300 From: Tony Lindgren To: Marc Haber Cc: Sean Christopherson , Bagas Sanjaya , linux-kernel@vger.kernel.org, Linux Regressions , Linux KVM , Paolo Bonzini Subject: Re: Linux 6.5 speed regression, boot VERY slow with anything systemd related Message-ID: <20230906152616.GE11676@atomide.com> References: <20230901122431.GU11676@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Marc Haber [230906 14:41]: > With my tools I have found out that it really seems to be related to the > CPU of the host. I have changed my VM definition to "copy host CPU > configuration to VM" in libvirt and have moved this very VM (image and > settings) to hosts with a "Ryzen 5 Pro 4650G" and to an "Intel Xeon > E3-1246" where they work flawlessly, while on both APUs I have available > ("AMD G-T40E" and "AMD GX-412TC SOC") the regression in 6.5 shows. And > if I boot other VMs on the APUs with 6.5 the issue comes up. It is a > clear regression since going back to 4.6's serial code solves the issue > on the APUs. Not sure why the CPU matters here.. One thing to check is if you have these in your .config: CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y Or do you maybe have CONFIG_SERIAL_CORE=m as loadable module? If you have CONFIG_SERIAL_CORE=m, maybe you need to modprobe serial_base if you have some minimal rootfs that does not automatically do it for you. Regards, Tony