public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "mitchell.augustin via groups.io" <mitchell.augustin=canonical.com@groups.io>
To: mitchell.augustin@canonical.com, devel@edk2.groups.io
Subject: Re: [edk2-devel] [BUG] Extremely slow boot times with CPU and GPU passthrough and host phys-bits > 40
Date: Wed, 04 Dec 2024 06:56:21 -0800	[thread overview]
Message-ID: <20236.1733324181278436066@groups.io> (raw)
In-Reply-To: <2202.1732660048387996911@groups.io>

[-- Attachment #1: Type: text/plain, Size: 1854 bytes --]

> What does 'sudo lspci -v' print for the NPU on the host and in the guest?

Guest VM lspci -v output ( https://pastebin.ubuntu.com/p/8SV9qPBJbS/ )
Host lspci -v output ( https://pastebin.ubuntu.com/p/YV4RTZwGMv/ )

Here's one of the host GPUs:
1b:00.0 3D controller: NVIDIA Corporation GH100 [H100 SXM5 80GB] (rev a1)
DeviceName: GPU0
Subsystem: NVIDIA Corporation GH100 [H100 SXM5 80GB]
Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0, IOMMU group 67
Memory at 21e042000000 (64-bit, prefetchable) [size=16M]
Memory at 21a000000000 (64-bit, prefetchable) [size=128G]
Memory at 21e040000000 (64-bit, prefetchable) [size=32M]
Capabilities: <access denied>
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb

And the same GPU as it appears on the guest:
06:00.0 3D controller: NVIDIA Corporation Device 2330 (rev a1)
Subsystem: NVIDIA Corporation Device 16c1
Physical Slot: 0-6
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at 382002000000 (64-bit, prefetchable) [size=16M]
Memory at 380000000000 (64-bit, prefetchable) [size=128G]
Memory at 382000000000 (64-bit, prefetchable) [size=32M]
Capabilities: <access denied>
Kernel modules: nvidiafb

Also, regarding the root cause of the slowdown, we're making some good progress in this thread ( https://lore.kernel.org/all/CAHTA-uYp07FgM6T1OZQKqAdSA5JrZo0ReNEyZgQZub4mDRrV5w@.../ ). (it is increasingly seeming like more of a kernel issue than an OVMF issue).

- Mitchell Augustin


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



[-- Attachment #2: Type: text/html, Size: 2894 bytes --]

  reply	other threads:[~2024-12-04 14:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 16:46 [edk2-devel] [BUG] Extremely slow boot times with CPU and GPU passthrough and host phys-bits > 40 mitchell.augustin via groups.io
2024-11-18 21:14 ` xpahos via groups.io
2024-11-19 22:25   ` mitchell.augustin via groups.io
2024-11-20  9:35     ` xpahos via groups.io
2024-11-20 11:26     ` Gerd Hoffmann via groups.io
2024-11-20 15:20       ` mitchell.augustin via groups.io
2024-11-20 20:00         ` mitchell.augustin via groups.io
2024-11-21 12:32         ` Gerd Hoffmann via groups.io
2024-11-22  0:23           ` mitchell.augustin via groups.io
2024-11-22 10:35             ` Gerd Hoffmann via groups.io
2024-11-22 17:38               ` Brian J. Johnson via groups.io
2024-11-22 22:32               ` mitchell.augustin via groups.io
2024-11-24  2:05                 ` mitchell.augustin via groups.io
2024-11-25 11:47                   ` Gerd Hoffmann via groups.io
2024-11-25 19:58                     ` mitchell.augustin via groups.io
2024-11-26  8:09                       ` Gerd Hoffmann via groups.io
2024-11-26 22:27                         ` mitchell.augustin via groups.io
2024-12-04 14:56                           ` mitchell.augustin via groups.io [this message]
2024-11-25 11:18                 ` Gerd Hoffmann via groups.io
2024-11-18 21:32 ` Ard Biesheuvel via groups.io

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=20236.1733324181278436066@groups.io \
    --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