Re: [PATCH] multiboot: Use DMA instead port-based transfer

2021-10-21 Thread Marcus Hähnel
On Tuesday, October 19, 2021 6:45:44 PM CEST Paolo Bonzini wrote: > On my system (a relatively recent laptop) I get 15-20 MiB per second, > which is slow but not as slow as what you got. Out of curiosity, can > you test what you get with the following kernel patch? > > diff --git a/arch/x86/kvm

Re: [PATCH] multiboot: Use DMA instead port-based transfer

2021-10-19 Thread Paolo Bonzini
On 10/10/21 21:10, Adam Lackorzynski wrote: Use DMA transfers in the multiboot loader to copy data. This significantly lowers QEMU's startup latency by a factor of about 40, for example, going from 30sec to 0.8sec when loading modules of 120MB in size. This change has been used successfully for

Re: [PATCH] multiboot: Use DMA instead port-based transfer

2021-10-19 Thread Stefano Garzarella
CCing Paolo since kvm-unit-tests use multiboot. On Sun, Oct 10, 2021 at 09:10:05PM +0200, Adam Lackorzynski wrote: Use DMA transfers in the multiboot loader to copy data. This significantly lowers QEMU's startup latency by a factor of about 40, for example, going from 30sec to 0.8sec when loadi

[PATCH] multiboot: Use DMA instead port-based transfer

2021-10-10 Thread Adam Lackorzynski
Use DMA transfers in the multiboot loader to copy data. This significantly lowers QEMU's startup latency by a factor of about 40, for example, going from 30sec to 0.8sec when loading modules of 120MB in size. This change has been used successfully for some time. Signed-off-by: Marcus Hähnel Sign