|Subject:||Re: [Qemu-devel] How to speed up the CPU logging?|
|Date:||Sat, 9 Jun 2012 11:07:20 -0400|
The performance is slow because logging is text based and thereforeOn Sat, Jun 9, 2012 at 2:37 PM, Yue Chen <address@hidden> wrote:
> Hi, Guy,
> When I use "log cpu" or "log exec" in the system "-monitor stdio" mode, it's
> extremely slow(lose my mouse/keyboard control). I used a buffer instead of
> directly writing log to disk, but even slower. When I give a large memory
> ("-m 4G") to VM, or set the process priority(chrt -f 99) of QEMU, the
> situation is the same. Any approach to speed up logging? (let me be able to
> control the VM when logging.) Thanks.
there is a lot of processing and I/O.
Log users should be converted to trace points which use binary data,
that would be much faster and more efficient.
|[Prev in Thread]||Current Thread||[Next in Thread]|