diff options
| author | Michael Brown | 2014-04-27 23:35:48 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-04-28 00:14:48 +0200 |
| commit | b2c7b6a85e8078d5b6692156cb9850590a8ff6aa (patch) | |
| tree | fa3fe7b8b21e8f80294c8001d046c84b32aadd4a /src/core | |
| parent | [intel] Profile common virtual machine operations (diff) | |
| download | ipxe-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/core')
0 files changed, 0 insertions, 0 deletions
