qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] -rtc clock=vm with -icount 1, sleep=off introduces unexpected delays in device interactions
@ 2017-03-03 19:38 Nutaro, James J.
  2017-03-03 19:50 ` Frédéric Konrad
  2017-03-07  7:03 ` Pavel Dovgalyuk
  0 siblings, 2 replies; 9+ messages in thread
From: Nutaro, James J. @ 2017-03-03 19:38 UTC (permalink / raw)
  To: 'mttcg@listserver.greensocs.com'; +Cc: 'qemu-devel@nongnu.org'

My original problem seems to stem from something that changed in the way that device emulation and instruction execution interact (I'm guessing). To reproduce the issue, I started a linux image with

qemu-system-i386 -rtc clock=vm -monitor none -icount 1,sleep=off jack.img

After booting, I run

ping localhost

The first round trip time reports look reasonable, being in the millisecond to sub-millisecond range. These occur while the emulator is running slower than real time. 

After a bit, the emulator speeds up (skipping over idle periods during I/O?) and the round trip times jump to hundreds of milliseconds, which I had not expected.

If you want to try this experiment yourself, you can get the disk image that I used from here:

http://www.ornl.gov/~1qn/qemu-images/jack.img


Jim

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-14 16:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 19:38 [Qemu-devel] -rtc clock=vm with -icount 1, sleep=off introduces unexpected delays in device interactions Nutaro, James J.
2017-03-03 19:50 ` Frédéric Konrad
2017-03-06 13:08   ` Alex Bennée
2017-03-07  7:03 ` Pavel Dovgalyuk
2017-03-13 13:21   ` Alex Bennée
2017-03-14 12:10     ` Pavel Dovgalyuk
2017-03-14 12:15       ` Paolo Bonzini
2017-03-14 12:18         ` Pavel Dovgalyuk
2017-03-14 16:52           ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).