Hi Sergio, Here are the forgotten event loop optimizations I mentioned: https://github.com/stefanha/qemu/commits/event-loop-optimizations
The goal was to eliminate or reorder syscalls so that useful work (like executing BHs) occurs as soon as possible after an event is detected. I remember that these optimizations only shave off a handful of microseconds, so they aren't a huge win. They do become attractive on fast SSDs with <10us read/write latency. These optimizations are aggressive and there is a possibility of introducing regressions. If you have time to pick up this work, try benchmarking each commit individually so performance changes are attributed individually. There's no need to send them together in a single patch series, the changes are quite independent. Stefan
signature.asc
Description: PGP signature