On 06/04/15 08:16, Tian Feng wrote:
> Update the value of those async polling interval macros from 50ms to 1ms.

Out of pure curiosity, how does this manifest in CPU consumption?

USB 1 and 2 are CPU hungry when virtualized.

USB 3 / XHCI is more amicable and (as far as I know) the answer for the
"my virtual USB devices consume too much CPU even when idle" problem. I
wonder if increasing the XHCI polling rate 50-fold will impact VMs
visibly. (Admittedly, a VM spends a fraction of its lifetime executing
OVMF, hence "pure curiosity" on my part.)

Gerd, what's your take?

Thanks
Laszlo

> Tian Feng (4):
>   MdeModulePkg/XhciDxe: Update async polling interval to 1ms.
>   MdeModulePkg/EhciDxe: Update async polling interval to 1ms.
>   MdeModulePkg/UhciDxe: Update async polling interval to 1ms.
>   MdeModulePkg/EhciPei: Remove unused macro
> 
>  MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h    | 6 +++---
>  MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.h | 7 ++-----
>  MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h    | 4 ++--
>  MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h    | 4 ++--
>  4 files changed, 9 insertions(+), 12 deletions(-)
> 


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to