tools/firmware: use a canned config for seabios
PATCH 1/1 tools/firmware: use a canned config for seabios
The use of seabios defconfig kills boot performance of Windows guests because the default is for the int13 handler to use PIO when accessing the emulated IDE device.
By instead using a canned configuration with the ATA settings overridden to enable DMA access (and also wider PIO) boot performance is markedly improved without the need to use a different (and possibly not supported) device model.
This patch adds the canned configuration into tools/firmware and modifies the Makefile rule to copy it into place.
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
--- tools/firmware/Makefile | 2 +- tools/firmware/seabios-config | 108 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 tools/firmware/seabios-config
tools/firmware/Makefile +1 -1
@@ -21,7 +21,7 @@ ovmf-dir: seabios-dir: GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(SEABIOS_UPSTREAM_URL) $(SEABIOS_UPSTREAM_REVISION) seabios-dir - $(MAKE) -C seabios-dir defconfig + cp seabios-config seabios-dir/.config; .PHONY: all all: $(SUBDIRS-y)
tools/firmware/seabios-config new file +108 -0
108 lines not on this page · raw message
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 4 lines · Paul Durrant
The use of seabios defconfig kills boot performance of Windows guests because the default is for the int13 handler to use PIO when accessing the emulated IDE device.
Quoted 8 lines
By instead using a canned configuration with the ATA settings overridden to enable DMA access (and also wider PIO) boot performance is markedly improved without the need to use a different (and possibly not supported) device model.
This patch adds the canned configuration into
tools/firmwareand modifies theMakefilerule to copy it into place.
I think at some point someone (you?) tried to change the default upstream, what was the outcome?
I'm not against shipping a default config, but that wouldn't benefit all the distros that use their own seabios packages.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 18 lines
-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 March 2017 11:47
To: Paul Durrant <[email protected]>
Cc: [email protected]; Ian Jackson <[email protected]>; Wei Liu <[email protected]>
Subject: Re: [PATCH]tools/firmware: use a canned config for seabiosQuoted 9 lines · Paul Durrant
The use of seabios defconfig kills boot performance of Windows guests because the default is for the int13 handler to use PIO when accessing the emulated IDE device.
By instead using a canned configuration with the ATA settings overridden to enable DMA access (and also wider PIO) boot performance is markedly improved without the need to use a different (and possibly not supported) device model.
Quoted 7 lines
Quoted 3 lines
This patch adds the canned configuration into
tools/firmwareand modifies theMakefilerule to copy it into place.I think at some point someone (you?) tried to change the default upstream, what was the outcome?
Yes I tried that. The maintainers nacked the patch.
Quoted 3 lines
I'm not against shipping a default config, but that wouldn't benefit all the distros that use their own seabios packages.
No, but the status quo sucks. One hopes distros building their own Xen packages already choose a better firmware config. This patch makes the config for those rolling their own firmware better (and I suspect that's quite a few folks).
Paul
Quoted 1 line
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 26 lines · Paul Durrant
Quoted 18 lines
-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 March 2017 11:47
To: Paul Durrant <[email protected]>
Cc: [email protected]; Ian Jackson <[email protected]>; Wei Liu <[email protected]>
Subject: Re: [PATCH]tools/firmware: use a canned config for seabiosQuoted 9 lines · Paul Durrant
The use of seabios defconfig kills boot performance of Windows guests because the default is for the int13 handler to use PIO when accessing the emulated IDE device.
By instead using a canned configuration with the ATA settings overridden to enable DMA access (and also wider PIO) boot performance is markedly improved without the need to use a different (and possibly not supported) device model.
Quoted 7 lines
Quoted 3 lines
This patch adds the canned configuration into
tools/firmwareand modifies theMakefilerule to copy it into place.I think at some point someone (you?) tried to change the default upstream, what was the outcome?
Quoted 8 lines
Yes I tried that. The maintainers nacked the patch.
Quoted 3 lines
I'm not against shipping a default config, but that wouldn't benefit all the distros that use their own seabios packages.
No, but the status quo sucks. One hopes distros building their own Xen packages already choose a better firmware config. This patch makes the config for those rolling their own firmware better (and I suspect that's quite a few folks).
I forgot to ask: what exactly in this config file is different from the default one?
Wei.
Quoted 3 lines
Paul
Quoted 1 line
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 1 line
-----Original Message-----
[snip]
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
This patch adds the canned configuration into
tools/firmwareandmodifies
Quoted 13 lines
Quoted 6 lines
Quoted 2 lines
the
Makefilerule to copy it into place.I think at some point someone (you?) tried to change the default upstream, what was the outcome?
Yes I tried that. The maintainers nacked the patch.
Quoted 3 lines
I'm not against shipping a default config, but that wouldn't benefit all the distros that use their own seabios packages.
Quoted 9 lines
Quoted 1 line
No, but the status quo sucks. One hopes distros building their own Xen
packages already choose a better firmware config. This patch makes the config for those rolling their own firmware better (and I suspect that's quite a few folks).
Quoted 1 line
I forgot to ask: what exactly in this config file is different from the default one?
The commit message tells you... It turns on wide PIO and DMA for interaction with the emulated IDE controller.
Paul
Quoted 5 lines
Wei.
Quoted 3 lines
Paul
Quoted 1 line
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Wei Liu
Acked-byQuoted 23 lines · Paul Durrant
Quoted 1 line
-----Original Message-----
[snip]
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
This patch adds the canned configuration into
tools/firmwareandmodifies
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
the
Makefilerule to copy it into place.I think at some point someone (you?) tried to change the default upstream, what was the outcome?
Quoted 7 lines
Yes I tried that. The maintainers nacked the patch.
Quoted 3 lines
I'm not against shipping a default config, but that wouldn't benefit all the distros that use their own seabios packages.
No, but the status quo sucks. One hopes distros building their own Xen
packages already choose a better firmware config. This patch makes the config for those rolling their own firmware better (and I suspect that's quite a few folks).
Quoted 1 line
Quoted 6 lines
Quoted 3 lines
I forgot to ask: what exactly in this config file is different from the default one?
The commit message tells you... It turns on wide PIO and DMA for interaction with the emulated IDE controller.
Oops, yes. Sorry for the noise.
I will leave this patch float for a while so other people can comment.
Quoted 7 lines
Paul
Quoted 5 lines
Wei.
Quoted 3 lines
Paul
Quoted 1 line
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel