From: Keir Fraser Subject: Re: VT is comically slow Date: Tue, 4 Jul 2006 08:03:50 +0100 Message-ID: References: <907625E08839C4409CE5768403633E0BA7FD59@sefsexmb1.amd.com> <44A96D09.6020801@redhat.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44A96D09.6020801@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rik van Riel Cc: "Petersson, Mats" , xen-devel@lists.xensource.com, veillard@redhat.com List-Id: xen-devel@lists.xenproject.org On 3 Jul 2006, at 20:16, Rik van Riel wrote: >> Are indications of IDE being used in PIO mode. Why this is, don't ask >> me... > > A friend is trying out OpenBSD inside Xen, which shows more clearly > that HVM guests are indeed using PIO :( > > pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, > channel 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: > wd0: 16-sector PIO, LBA, 20480MB, 41943040 sectors > wd0(pciide0:0:0): using PIO mode 2 > pciide0: channel 1 disabled (no drives) You might need to investigate ioemu/hw/ide.c to find out why Linux/*BSD are deciding to use PIO for data transfers. Intel put in considerable effort a while back to ensure that DMA was used. Maybe that's got broken. -- Keir