From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLhoq-0003bc-CY for qemu-devel@nongnu.org; Mon, 07 Jun 2010 15:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLhon-0007PG-MD for qemu-devel@nongnu.org; Mon, 07 Jun 2010 15:17:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61910) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLhoj-0007OM-9C for qemu-devel@nongnu.org; Mon, 07 Jun 2010 15:17:05 -0400 Message-ID: <4C0D45A7.8070000@redhat.com> Date: Mon, 07 Jun 2010 22:16:55 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4C0D0FB7.80709@redhat.com> <4C0D1EFA.70104@cisco.com> <4C0D3EA3.1010205@redhat.com> <4C0D4058.3060009@cisco.com> In-Reply-To: <4C0D4058.3060009@cisco.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC] Moving the kvm ioapic, pic, and pit back to userspace List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Ahern" Cc: qemu-devel , KVM list On 06/07/2010 09:54 PM, David S. Ahern wrote: > >> So it's important to know how often your RHEL3/4 guest queries the PIT >> (not just receives interrupts, actually reads the counter) under a >> realistic load. If you have such a number (in reads/sec) that would be >> a good input to this discussion. >> >> > Aps that invoke gettimeofday a lot. Ask a stupid question, get an "it depends on the workload" answer. > As I recall RHEL3 uses the TSC > between timer interrupts, but RHEL4 samples counters on each > gettimeofday call: > > http://www.mail-archive.com/kvm@vger.kernel.org/msg07231.html > > Because of that performance of applications that timestamp log entries > (like a certain product I work on) takes a hit on KVM unless the TSC is > the clock source. > So it looks like dropping the PIT out of the kernel, let alone the PIC/IOAPIC, is out of the question. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.