From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Matthew Ogilvie <mmogilvi_qemu@miniinfo.net>,
Avi Kivity <avi@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic
Date: Thu, 13 Sep 2012 15:49:36 +0200 [thread overview]
Message-ID: <5051E470.8080006@siemens.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1209131431470.8926@eddie.linux-mips.org>
On 2012-09-13 15:41, Maciej W. Rozycki wrote:
> On Wed, 12 Sep 2012, Matthew Ogilvie wrote:
>
>> Also, how big of a concern is a very rare gained or lost IRQ0
>> actually? Under normal conditions, I would expect this to at most
>> cause a one time clock drift in the guest OS of a fraction of
>> a second. If that only happens when rebooting or migrating the
>> guest...
>
> It depends on how you define "very rare". Once per month or probably
> even per day is probably acceptable although you'll see a disruption in
> the system clock. This is still likely unwanted if the system is used as
> a clock reference and not just wants to keep its clock right for own
> purposes. Anything more frequent and NTP does care very much; an accurate
> system clock is important in many uses, starting from basic ones such as
> where timestamps of files exported over NFS are concerned.
>
> Speaking of real hw -- I don't know whether that really matters for
> emulated systems. Thanks for looking into the 8254 PIT in details.
First correct, then fast. That rule applies at least to the conceptual
phase. Also, for rarely used PIT modes, I would refrain from optimizing
them away from the specified behaviour.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
WARNING: multiple messages have this Message-ID (diff)
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Matthew Ogilvie <mmogilvi_qemu@miniinfo.net>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic
Date: Thu, 13 Sep 2012 15:49:36 +0200 [thread overview]
Message-ID: <5051E470.8080006@siemens.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1209131431470.8926@eddie.linux-mips.org>
On 2012-09-13 15:41, Maciej W. Rozycki wrote:
> On Wed, 12 Sep 2012, Matthew Ogilvie wrote:
>
>> Also, how big of a concern is a very rare gained or lost IRQ0
>> actually? Under normal conditions, I would expect this to at most
>> cause a one time clock drift in the guest OS of a fraction of
>> a second. If that only happens when rebooting or migrating the
>> guest...
>
> It depends on how you define "very rare". Once per month or probably
> even per day is probably acceptable although you'll see a disruption in
> the system clock. This is still likely unwanted if the system is used as
> a clock reference and not just wants to keep its clock right for own
> purposes. Anything more frequent and NTP does care very much; an accurate
> system clock is important in many uses, starting from basic ones such as
> where timestamps of files exported over NFS are concerned.
>
> Speaking of real hw -- I don't know whether that really matters for
> emulated systems. Thanks for looking into the 8254 PIT in details.
First correct, then fast. That rule applies at least to the conceptual
phase. Also, for rarely used PIT modes, I would refrain from optimizing
them away from the specified behaviour.
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2012-09-13 13:49 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 1:29 [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic Matthew Ogilvie
2012-09-10 1:29 ` [Qemu-devel] " Matthew Ogilvie
2012-09-10 1:29 ` [PATCH 2/2] KVM: i8259: refactor pic_set_irq level logic Matthew Ogilvie
2012-09-10 1:29 ` [Qemu-devel] " Matthew Ogilvie
2012-09-11 0:49 ` [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic Maciej W. Rozycki
2012-09-11 0:49 ` [Qemu-devel] " Maciej W. Rozycki
2012-09-11 4:54 ` Matthew Ogilvie
2012-09-11 4:54 ` [Qemu-devel] " Matthew Ogilvie
2012-09-11 11:53 ` Maciej W. Rozycki
2012-09-11 11:53 ` [Qemu-devel] " Maciej W. Rozycki
2012-09-11 9:04 ` Jan Kiszka
2012-09-11 9:04 ` [Qemu-devel] " Jan Kiszka
2012-09-12 8:01 ` Avi Kivity
2012-09-12 8:01 ` Avi Kivity
2012-09-12 8:48 ` Jan Kiszka
2012-09-12 8:48 ` [Qemu-devel] " Jan Kiszka
2012-09-12 8:51 ` Avi Kivity
2012-09-12 8:51 ` [Qemu-devel] " Avi Kivity
2012-09-12 8:57 ` Jan Kiszka
2012-09-12 8:57 ` Jan Kiszka
2012-09-12 9:02 ` Avi Kivity
2012-09-12 9:02 ` Avi Kivity
2012-09-13 5:49 ` Matthew Ogilvie
2012-09-13 5:49 ` [Qemu-devel] " Matthew Ogilvie
2012-09-13 13:41 ` Maciej W. Rozycki
2012-09-13 13:41 ` Maciej W. Rozycki
2012-09-13 13:49 ` Jan Kiszka [this message]
2012-09-13 13:49 ` Jan Kiszka
2012-09-13 13:55 ` Jan Kiszka
2012-09-13 13:55 ` Jan Kiszka
2012-09-13 15:48 ` Maciej W. Rozycki
2012-09-13 15:48 ` Maciej W. Rozycki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5051E470.8080006@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=macro@linux-mips.org \
--cc=mmogilvi_qemu@miniinfo.net \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.