From: Philippe Gerum In-Reply-To: <471621C8.9070006@domain.hid> References: <4705ED3B.4070600@domain.hid> <2ff1a98a0710050130j7e0db84dq838aab0417c8bd3f@domain.hid> <4705FE04.7000909@domain.hid> <1191576011.20623.114.camel@domain.hid> <470611FA.30103@domain.hid> <1191592977.20623.142.camel@domain.hid> <470A26BC.506@domain.hid> <1192015852.22917.197.camel@domain.hid> <470F7F2E.3020206@domain.hid> <470F82FF.9020701@domain.hid> <1192203284.6499.135.camel@domain.hid> <470F978B.1000005@domain.hid> <1192207431.6499.161.camel@domain.hid> <4715C70F.4040501@domain.hid> <1192610471.5973.4.camel@domain.hid> <4715CE15.10202@domain.hid> <1192612658.5973.11.camel@domain.hid> <47160AD3.4090109@domain.hid> <1192628763.5973.16.camel@domain.hid> <471621C8.9070006@domain.hid> Content-Type: text/plain; charset="iso-8859-1" Date: Wed, 17 Oct 2007 17:24:33 +0200 Message-Id: <1192634673.5973.33.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: Philippe Gerum Subject: Re: [Xenomai-help] awful latencies (~110us) Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: CHABAL David Cc: xenomai@xenomai.org On Wed, 2007-10-17 at 16:52 +0200, CHABAL David wrote: > >=20 > > Grmmff... I think the PIC on this box has some deep troubles; please try > > this patch, in replacement of the previous ipipe_trace_special > > instrumentation: > >=20 >=20 >=20 > RTD| 8.348| 10.387| 43.647| 0| 6.098|=20 > 80.440 > ---|------------|------------|------------|--------|---------------------= ---- > RTS| 6.098| 10.020| 80.440| 0| 00:17:20/00:17:20 > [root@domain.hid bin]# >=20 >=20 > IRQ handling takes 17=B5s in the worst case. >=20 > It takes a long time to write 3 poor bytes... >=20 Indeed. Each outb to the ISA bus should be somewhere in the 1-2.5 us range depending on the hw, maybe a bit higher in case of contention, but not that much. > May be is it a SMI problem ??? (Globally disable SMI is on) >=20 It's less likely with an ICH-2 chipset. I see that CONFIG_IDEDMA_PCI_AUTO is disabled. Any reason not to use PCI DMA when available for IDE drives with your hw? --=20 Philippe.