summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2014-04-27 23:35:48 +0200
committerMichael Brown2014-04-28 00:14:48 +0200
commitb2c7b6a85e8078d5b6692156cb9850590a8ff6aa (patch)
treefa3fe7b8b21e8f80294c8001d046c84b32aadd4a /src/arch
parent[intel] Profile common virtual machine operations (diff)
downloadipxe-b2c7b6a85e8078d5b6692156cb9850590a8ff6aa.tar.gz
ipxe-b2c7b6a85e8078d5b6692156cb9850590a8ff6aa.tar.xz
ipxe-b2c7b6a85e8078d5b6692156cb9850590a8ff6aa.zip
[intel] Push new RX descriptors in batches
Inside a virtual machine, writing the RX ring tail pointer may incur a substantial overhead of processing inside the hypervisor. Minimise this overhead by writing the tail pointer once per batch of descriptors, rather than once per descriptor. Profiling under qemu-kvm (version 1.6.2) shows that this reduces the amount of time taken to refill the RX descriptor ring by around 90%. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions