qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] 8250: more realistic TX-done IRQ rate


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH] 8250: more realistic TX-done IRQ rate
Date: Sun, 13 Apr 2008 10:05:30 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

Jan Kiszka wrote:
> Paul Brook wrote:
>> On Saturday 12 April 2008, Jan Kiszka wrote:
>> I'd also expect you to have the same problem with the RX queue. If you
>> don't it's a bug elsewhere in qemu.
>>
>>> +            qemu_mod_timer(s->tx_timer, 1000 / (11520 / s->divider));
>>
>> This looks bogus. I think you're a few orders of magnitude out in your
>> timing calculations.  As mentioned above, in practice you unlikely to
>> get anywhere
>> near the necessary realtime performance out of qemu.
> 
> That depends. Current Linux distros typically have
> CONFIG_HIGH_RES_TIMERS enabled. But, of course, not many OSes QEMU works
> on have such support at all, and even Linux may decided to work without
> it for various reasons.

OK, that line was totally bogus. Somehow I once assumed that
qemu_mod_timer takes relative timeout (though I've used it with absolute
dates before). A new version will follow soon, which in fact triggered a
second patch for another issue of the current emulation - the hard-coded
baudbase.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]