public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] EDK2 UpdateVariable very slow for the first defined VM on aarch64 with preempt-rt kernel
@ 2024-12-17 10:37 wanglimin
  0 siblings, 0 replies; only message in thread
From: wanglimin @ 2024-12-17 10:37 UTC (permalink / raw)
  To: ardb@kernel.org; +Cc: devel@edk2.groups.io

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

Hi Ard,

I notice that you had ever worked on VirtNorFlashDxe, and maybe can help me on the following trouble.

I am trying to boot kvm VM on aarch64(arm-v8) with preempt-rt kernel host,
the UpdateVariable is very very slow, and the uefi boot take about ~80s to get to phase,
while it takes only about ~15s on a normal linux kernel or on x86 hardware.

This only happen when the VM is first defined, or redefine the VM:
virsh destroy VM;
virsh undefine VM --nvram
virsh define VM.xml ;
virsh start VM
It seems the most time spending when VirtNorFlash write operation at MmioWrite32();
On X64 platform,it seems use EmuVariableFvbRuntimeDxe driver,not really write the NorFlash device,
Is it possible for arm to use the similar way as X64 ?

Could you give any suggestion?

Best Regards.
Limin Wang




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120927): https://edk2.groups.io/g/devel/message/120927
Mute This Topic: https://groups.io/mt/110222787/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: 5661 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-20 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 10:37 [edk2-devel] EDK2 UpdateVariable very slow for the first defined VM on aarch64 with preempt-rt kernel wanglimin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox