From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 933B0C88CB2 for ; Thu, 31 Aug 2023 22:07:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347660AbjHaWHY (ORCPT ); Thu, 31 Aug 2023 18:07:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235211AbjHaWHX (ORCPT ); Thu, 31 Aug 2023 18:07:23 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABB68B8 for ; Thu, 31 Aug 2023 15:07:20 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-58fb9323a27so16477077b3.1 for ; Thu, 31 Aug 2023 15:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1693519640; x=1694124440; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=qgnjEF4yFasLmpmpPrDGfWRlTkHCJIfRLIREm8beBzY=; b=t7Io5IhL9RSuMhtkctSkxHUvO49KKR8JyuvpkVwzmIs8/jD6gi4VZiGJfH6LcsSE9q V8I/TuC5PRNTUNqw22BsFHNgxv/AXhZMhWHLs9Gc4vAQPYKKcCxrdyewkseilVP7NuWQ dAd2VIANco0vjDM3D/CtFfpWQRG7mxCZUP81ZONaddE/pUc2s9eEl3CvCF7cO6ynMWYY Cv5Myn7vOTKa9JKc/7WhmGc9g8rnQG3rPTFWgTDNuqDBLqp8AA3x/FqH2yr1WhauiiMd UqH6j6pKm64HQcqijTt4iUSJAjitO01RtBK28emi0fm9mD93QRbnrcM/9WJhlJPaQxlZ mmPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693519640; x=1694124440; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=qgnjEF4yFasLmpmpPrDGfWRlTkHCJIfRLIREm8beBzY=; b=VSq5gJWQnaH56JYKVHpCymAdfwptsYq0QyiiTGQpavuatQTDHZQvcEBXEW/zpzoYCf lTnWvPnlLaXFzy+a820C5IYaz4gWzdffD9s9o6WfbNBuoHhlickdYbOY1jOe3wrfuO8i /cjMmPOqdB8qDOR2bISl98Wwcd4C3NPWJLVAbZSi435m4KL7tEuBIPZbqia68Xt9Nxa/ Ekt21oPCwIHNA4sMbBsPzEyR7P49I+aCs1eBgf28acZjRf8ElsmYPP+59MbMHsveAY6/ fE1+QjxmxMSmvc7MDsNQ8Ju/26SQMQrTTmGZquvkr3bRSeGem+n9E84c1dnWD7YGOj6X 2iSg== X-Gm-Message-State: AOJu0YwFSglruws3x5GVCj3WoXg+73R3F7kqbloWaG1jZUahCeumu1LO QUNg+yvEtqolq1Z7qiFfY0I1+9f8DRM= X-Google-Smtp-Source: AGHT+IH7jvi73S8Hy8V1cTNRJcs7gjaW7hdTTxoQCUGUr4SIru6AT2AYKzQ67n76Lv+PuuOp0QD90g+s5Og= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:7343:0:b0:d77:df8a:389a with SMTP id o64-20020a257343000000b00d77df8a389amr23375ybc.3.1693519640007; Thu, 31 Aug 2023 15:07:20 -0700 (PDT) Date: Thu, 31 Aug 2023 15:07:16 -0700 In-Reply-To: Mime-Version: 1.0 References: Message-ID: Subject: Re: Linux 6.5 speed regression, boot VERY slow with anything systemd related From: Sean Christopherson To: Marc Haber Cc: Bagas Sanjaya , linux-kernel@vger.kernel.org, Linux Regressions , Linux KVM , Paolo Bonzini , Tony Lindgren Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, Aug 29, 2023, Marc Haber wrote: > Hi, >=20 > On Tue, Aug 29, 2023 at 10:14:23AM -0700, Sean Christopherson wrote: > > On Tue, Aug 29, 2023, Marc Haber wrote: > > > Both come from virt-manager, so if the XML helps more, I'll happy to > > > post that as well. > >=20 > > Those command lines are quite different, e.g. the Intel one has two > > serial ports versus one for the AMD VM. >=20 > Indeed? I virt-manager, I don't see a second serial port. In either case, > only the one showing up in the VM as ttyS0 is being used. But thanks for > making me look, I discovered that the machine on the Intel host still > used emulated SCSI instead of VirtIO f=C3=BCr the main disk. I changed th= at. >=20 > >Unless Tony jumps in with an > > idea, I would try massaging either the good or bad VM's QEMU > > invocation, e.g. see if you can get the AMD VM to "pass" by pulling in > > stuff from the Intel VM, or get the Intel VM to fail by making its > > command line look more like the AMD VM. >=20 > In Virt-Manager, both machines don't look THAT different tbh. I verified > the XML and the differences are not big at all. >=20 > Do you want me to try different vCPU types? Currently the VM is set to > "Opteron_G3", would you recommend a different vCPU for the host having a > "AMD GX-412TC SOC" host CPU? I would be surprised if using a different vCPU type fixed anything, but it'= s not impossible that it could help. In general, unless someone from the serial = driver side spots an issue, fixing whatever the bug is will likely require a repro= ducer, which in turn likely means narrowing down what exactly is unique about your= AMD setup. In other words, if you have cycles to spare, anything you can do to= help isolate the problem would be appreciated.