[Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Yue Chen
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

Re: [Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Blue Swirl
On Sat, Jun 9, 2012 at 2:37 PM, Yue Chen ycyc...@gmail.com 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

Re: [Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Yue Chen
Thanks for replying. Do you know any easy way to do that? On Sat, Jun 9, 2012 at 11:02 AM, Blue Swirl blauwir...@gmail.com wrote: On Sat, Jun 9, 2012 at 2:37 PM, Yue Chen ycyc...@gmail.com wrote: Hi, Guy, When I use log cpu or log exec in the system -monitor stdio mode, it's extremely

Re: [Qemu-devel] How to speed up the CPU logging?

2012-06-09 Thread Blue Swirl
On Sat, Jun 9, 2012 at 3:07 PM, Yue Chen ycyc...@gmail.com wrote: Thanks for replying. Do you know any easy way to do that? See for example commit 870be6ad57d38dd630c5d5ac7e01fc5d8b784485. Please don't top post. On Sat, Jun 9, 2012 at 11:02 AM, Blue Swirl blauwir...@gmail.com wrote: On