Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-21 Thread A Z
Hi Laszlo, That did it! Boot times are down to ~25 seconds-to-splash with 8 cores, 2 threads and 24G of assigned RAM. Not as fast as some bare-metal machines, but far more bearable & manageable than *minutes*! I compiled a custom kernel (version 4.19.2) with the PREEMPT_NONE=y (menuconfig:

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-19 Thread A Z
Hi Laszlo, Looks like CONFIG_PREEMPT_VOLUNTARY isn't set. CONFIG_PREEMPT_RCU=y CONFIG_PREEMPT_NOTIFIERS=y # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_COUNT=y CONFIG_DEBUG_PREEMPT=y # CONFIG_PREEMPTIRQ_EVENTS is not set #

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-19 Thread Laszlo Ersek
On 11/16/18 22:36, A Z wrote: > And just a quick discovery: > > With 24G assigned (-m 24576)... > > Reducing the number of CPU cores to 1, 2 or 3 with > ovmf-x64-0-20181105.757.g114a75ad86 results in a really fast boot to > the TianoCore splash. > As soon as the number of CPU cores jumps to 4,

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-16 Thread A Z
And just a quick discovery: With 24G assigned (-m 24576)... Reducing the number of CPU cores to 1, 2 or 3 with ovmf-x64-0-20181105.757.g114a75ad86 results in a really fast boot to the TianoCore splash. As soon as the number of CPU cores jumps to 4, the VM takes a hit in terms of boot time. 1

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-15 Thread A Z
On Thu, Nov 15, 2018 at 2:47 AM Laszlo Ersek wrote: > > If nothing at all had changed in your configuration, then the behavior > wouldn't have changed either. You must certainly have upgraded some > components since then, between host kernel, QEMU, and OVMF (likely all > of them). Please state

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-15 Thread Alex Williamson
On Wed, 14 Nov 2018 21:59:08 -0800 A Z wrote: > This is an issue that involves a combination of different software > packages, so my apologies in advance if this is the wrong list to post on. > > I'm experiencing terrible boot times when I assign a large amount of RAM to > a VM when used in

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-15 Thread Hristo Iliev
On 15 Nov 2018, at 06:59, A Z wrote: > > This is an issue that involves a combination of different software packages, > so my apologies in advance if this is the wrong list to post on. > > I'm experiencing terrible boot times when I assign a large amount of RAM to a > VM when used in

Re: [vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-15 Thread Laszlo Ersek
On 11/15/18 06:59, A Z wrote: > This is an issue that involves a combination of different software > packages, so my apologies in advance if this is the wrong list to post on. > > I'm experiencing terrible boot times when I assign a large amount of RAM to > a VM when used in combination with

[vfio-users] [OVMF+VIFO+QEMU] Large VM RAM allocation = Long Boot Times

2018-11-14 Thread A Z
This is an issue that involves a combination of different software packages, so my apologies in advance if this is the wrong list to post on. I'm experiencing terrible boot times when I assign a large amount of RAM to a VM when used in combination with VIFO/PCI-passthrough. On a VM with a