<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div>I come across this page <a href="http://libguestfs.org/guestfs-performance.1.html">libguestfs.org/guestfs-performance.1.html</a> This raises my interest. I am currently learning how to benchmark performance qemu. So here is my questions:<br></div><div><br></div><div>1. Can I use guestfish or any tools provided by libguestfs to benchmark qemu? How? (The command I use below is correct or what's the correct command to execute it?) <br></div><div><br></div><div>The preliminarily run I use is "time guestfish --ro -a disk.img -i exit run -v -x" and its output on console wrt the time are<br></div><div><br></div><div>real    0m3.713s<br></div><div>user   0m1.968s<br></div><div>sys    0m0.741s<br></div><div><br></div><div>There many output with -v -x params enabled<br></div><div><br></div><div>...<br></div><div>guestfsd: => internal_autosync (0x11a) took 0.05 secs<br></div><div>libguestfs: trace: internal_autosync = 0<br></div><div>libguestfs: sending SIGTERM to process 11629<br></div><div>libguestfs: qemu maxrss 235720K<br></div><div>libguestfs: trace: shutdown = 0<br></div><div>libguestfs: trace: close<br></div><div>libguestfs: closing guestfs handle 0x562ae3df6c10 (state 0)<br></div><div>libguestfs: command: run: rm<br></div><div>libguestfs: command: run: \ -rf /tmp/libguestfsIDYj9s<br></div><div>libguestfs: command: run: rm<br></div><div>libguestfs: command: run: \ -rf /run/user/1000/libguestfs2SKM4c<br></div><div><br></div><div><div>2. If the tool such as guestfish (or any other tools provided by libguestfs) can be used to benchmark qemu's performance, is it possible to identify the execution time spent on different processes e.g. init? How?<br></div><div><div><br></div></div><div>3. How do I interpret the output with -v -x for the command guestfish (like the command being executed below)?<br></div><div><br></div><div>Thanks for help. <br></div></div><div> </div>  </body>
</html>