public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	 "mikuback@linux.microsoft.com" <mikuback@linux.microsoft.com>,
	"osteffen@redhat.com" <osteffen@redhat.com>,
	 "Feng, Bob C" <bob.c.feng@intel.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	 "Yao, Jiewen" <jiewen.yao@intel.com>,
	"Justen, Jordan L" <jordan.l.justen@intel.com>,
	 "Gao, Liming" <gaoliming@byosoft.com.cn>,
	Rebecca Cran <rebecca@bsdio.com>,
	 Sean Brogan <sean.brogan@microsoft.com>,
	"Chen, Christine" <yuwei.chen@intel.com>,
	 Laszlo Ersek <lersek@redhat.com>
Subject: Re: [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP in tests
Date: Thu, 3 Aug 2023 23:25:41 +0200	[thread overview]
Message-ID: <CAMj1kXE=ib9kEfLhgZg2NjaV4yZR9x0Cgv5JrSYaMYfsPnORmA@mail.gmail.com> (raw)
In-Reply-To: <CO1PR11MB4929FE42068662595A71A63ED208A@CO1PR11MB4929.namprd11.prod.outlook.com>

On Thu, 3 Aug 2023 at 21:21, Kinney, Michael D
<michael.d.kinney@intel.com> wrote:
>
> Hi Ard,
>
> This is the email with the analysis and the flag
> setting required for SMP to work with SMM enabled for
> IA32/X64 QEMU.
>
> https://edk2.groups.io/g/devel/message/102364
>
>
> I tried latest version of QEMU earlier in the Summer
> and did not see any improvements.
>

Ah thanks, I had forgotten all about that rabbit hole you went down :-)

So let's respin this with -smp 4 --accel=tcg,thread=single. It is
still an improvement to exercise the MP code even if it doesn't
strictly execute concurrently. (It will be very hard to
catch/reproduce true concurrency issues in TCG anyway)

Oliver, mind spinning a v2?

Thanks,



> > -----Original Message-----
> > From: Ard Biesheuvel <ardb@kernel.org>
> > Sent: Thursday, August 3, 2023 9:54 AM
> > To: devel@edk2.groups.io; mikuback@linux.microsoft.com
> > Cc: osteffen@redhat.com; Feng, Bob C <bob.c.feng@intel.com>; Gerd
> > Hoffmann <kraxel@redhat.com>; Yao, Jiewen <jiewen.yao@intel.com>;
> > Justen, Jordan L <jordan.l.justen@intel.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>; Kinney, Michael D
> > <michael.d.kinney@intel.com>; Rebecca Cran <rebecca@bsdio.com>; Sean
> > Brogan <sean.brogan@microsoft.com>; Chen, Christine
> > <yuwei.chen@intel.com>; Laszlo Ersek <lersek@redhat.com>
> > Subject: Re: [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP
> > in tests
> >
> > On Thu, 3 Aug 2023 at 16:37, Michael Kubacki
> > <mikuback@linux.microsoft.com> wrote:
> > >
> > > For the series.
> > >
> > > Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
> > >
> >
> > Thanks
> >
> > I've pushed this to the CI but Platform_CI OVMF_IA32X64_FULL_DEBUG
> > keeps timing out for me
> >
> > https://github.com/tianocore/edk2/pull/4718
> >
> > Might it help if we restrict SMP to a subset of the builds? And would
> > it help if we added "--accel=tcg,thread=multi" ?
> >
> >
> >
> > > On 8/3/2023 7:44 AM, Oliver Steffen wrote:
> > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4324
> > > > PR:  https://github.com/tianocore/edk2/pull/4711
> > > >
> > > > This series switches the OVMF CI jobs on Windows to a recent Qemu
> > > > version and re-enables SMP in the Qemu "Run to shell" CI jobs.
> > > > The Qemu tests run a little bit slower in SMP mode and sometimes
> > > > hit the time limit of 2 minutes, thus this limit is increased to 4
> > > > minutes.
> > > >
> > > > Together with 81cb0371f9db ("CI: Use latest image for Linux jobs
> > (Qemu
> > > > 8, gcc 12)" this series is sufficient to close Bug 4324.
> > > >
> > > >
> > > > Gerd Hoffmann (1):
> > > >    OvmfPkg/PlatformCI: Boot OVMF in SMP mode.
> > > >
> > > > Oliver Steffen (3):
> > > >    OvmfPkg/PlatformCI: Use recent Qemu on Windows
> > > >    OvmfPkg/PlatformCI VS2019: Disable workaround for cpuhp bugfix
> > > >    CI: Increase time limit of "Run to shell" task to 4 minutes
> > > >
> > > >   .../templates/platform-build-run-steps.yml          |  2 +-
> > > >   .../PlatformCI/.azurepipelines/Windows-VS2019.yml   |  4 ++--
> > > >   OvmfPkg/PlatformCI/PlatformBuildLib.py              | 13 +--------
> > ----
> > > >   3 files changed, 4 insertions(+), 15 deletions(-)
> > > >
> > >
> > >
> > > 
> > >
> > >


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107557): https://edk2.groups.io/g/devel/message/107557
Mute This Topic: https://groups.io/mt/100524063/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2023-08-03 21:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03 11:44 [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP in tests Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 1/4] OvmfPkg/PlatformCI: Use recent Qemu on Windows Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 2/4] OvmfPkg/PlatformCI VS2019: Disable workaround for cpuhp bugfix Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 3/4] OvmfPkg/PlatformCI: Boot OVMF in SMP mode Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 4/4] CI: Increase time limit of "Run to shell" task to 4 minutes Oliver Steffen
2023-08-03 13:03 ` [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP in tests Ard Biesheuvel
2023-08-03 13:51   ` Laszlo Ersek
2023-08-03 14:27     ` Oliver Steffen
2023-08-03 14:37 ` Michael Kubacki
2023-08-03 16:53   ` Ard Biesheuvel
2023-08-03 19:21     ` Michael D Kinney
2023-08-03 21:25       ` Ard Biesheuvel [this message]
2023-08-04 13:17         ` Ard Biesheuvel
2023-08-04 13:21           ` Oliver Steffen
2023-08-07  9:53         ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMj1kXE=ib9kEfLhgZg2NjaV4yZR9x0Cgv5JrSYaMYfsPnORmA@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox