You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the tracing underlying storage to a circular buffer for traces/events to avoid context switches. This ensures the guest doesn't do host calls to further degrade performance. Trace/logs loss is an acceptable compromise
Provide a mechanism on the guest to enable/disable the tracing support, configure the memory used and log level at runtime
Consider changing to a heap allocated circular buffer, which is runtime configurable
Use flatbuffers to serialize the data exchanged between the guest and host
Having the configuration option on the guest side, the guest can say how much space it is acceptable to use for traces/logs buffering.
Making VMExits to report traces has a performance penalty.
Having the configuration option on the guest side, the guest can say how much space it is acceptable to use for traces/logs buffering. Making VMExits to report traces has a performance penalty.
Understood, I am saying that we should not make the decision on if to trade off data loss for perf for a host, they should make that decision themselves.
Activity
simongdavies commentedon Oct 22, 2025
I think this is only true if the host can make the decision that they are willing to suffer log/trace loss.
dblnz commentedon Oct 22, 2025
Having the configuration option on the guest side, the guest can say how much space it is acceptable to use for traces/logs buffering.
Making VMExits to report traces has a performance penalty.
simongdavies commentedon Oct 23, 2025
Understood, I am saying that we should not make the decision on if to trade off data loss for perf for a host, they should make that decision themselves.
haltfunction is called #1032