From: Philippe Gerum <rpm@xenomai.org>
To: bernhard@domain.hid
Cc: adeos-main <adeos-main@gna.org>, RTnet-users@domain.hid
Subject: Re: [Adeos-main] [RTnet-users] e1000 & MSI
Date: Mon, 25 Aug 2008 16:15:43 +0200 [thread overview]
Message-ID: <48B2BE8F.5070206@domain.hid> (raw)
In-Reply-To: <20080825141624.3hk4ndxf9xwcgkcg@domain.hid>
bernhard@domain.hid wrote:
> Zitat von Philippe Gerum <rpm@xenomai.org>:
>
>> The risk in ironing those PCI locks is to run with hw interrupts
>> disabled for a
>> long time, inducing pathological latencies, so running RTAI's latency test in
>> the background should help detecting those peaks.
>>
>> However, we may find nothing bad if the kernel uses the MMConfig
>> access method
>> to the PCI space since this is basically fast mmio there. But since
>> you seem to
>> be running on x86_32, we may want to check whether BIOS or direct
>> access to the
>> PCI config does not raise the typical latency too much, as well (I'm
>> unsure that
>> PCI_GOBIOS will give us decent results though).
>>
>> To sum up: with different settings for the PCI config access method in "Bus
>> options" (by order of criticality, MMConfig then Direct, then maybe
>> BIOS), does
>> the latency tool report pathological peaks?
>>
>
> Hi Philippe
>
> I played with the different PCI configurations and the results are
> devastating. Latencies (and jitter) skyrocket after some minutes of
> testing and peak at several milliseconds. I didn't do the regression
> with 'normal' INTs though, but that's something up next. Additionally
> MMCONFIG produced some strange msg at boot.
>
> I suspect I'm going to use INTs for my current project :(
>
> Bernhard
>
>
> PCI_GOMMCONFIG
> --------------
>
> I get the following dmesg:
>
> ACPI: bus type pci registered
> PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 31
> PCI: Not using MMCONFIG.
> PCI: Fatal: No config space access function found
Your hw does not seem to have PCI Express support, hence MMConfig access method
is not available. The kernel is expected to downgrade to direct access method.
> [....]
>
>
> PCI_GODIRECT
> ------------
>
> Here desg looks better:
>
> ACPI: bus type pci registered
> PCI: Using configuration type 1 for base access
Direct access type 1 is done through in/out{b, w, l} commands, which is not
cheap. Well, if it proves that we don't face any unknown issue with direct
access, only getting virtualized masking/unmasking of MSI driven interrupts
would save the day.
--
Philippe.
next prev parent reply other threads:[~2008-08-25 14:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080812075358.4cg1ix9945msccsc@domain.hid>
[not found] ` <48A12EA8.4070601@domain.hid>
[not found] ` <48A34D75.9090509@domain.hid>
2008-08-13 22:01 ` [Adeos-main] [RTnet-users] e1000 & MSI Jan Kiszka
2008-08-14 6:34 ` Jan Kiszka
2008-08-14 6:49 ` Jan Kiszka
2008-08-14 7:41 ` Philippe Gerum
2008-08-14 10:53 ` bernhard
2008-08-14 13:38 ` Philippe Gerum
2008-08-14 15:25 ` Gilles Chanteperdrix
2008-08-14 15:34 ` Bernhard Pfund
2008-08-14 15:52 ` Gilles Chanteperdrix
2008-08-14 16:57 ` Philippe Gerum
2008-08-16 11:24 ` Bernhard Pfund
2008-08-19 10:17 ` Philippe Gerum
2008-08-19 10:31 ` bernhard
2008-08-19 14:18 ` Philippe Gerum
2008-08-19 20:53 ` Bernhard Pfund
2008-08-20 9:38 ` Philippe Gerum
2008-08-25 12:16 ` bernhard
2008-08-25 12:58 ` Jan Kiszka
2008-08-25 13:48 ` bernhard
2008-08-25 14:15 ` Philippe Gerum [this message]
2008-08-14 17:35 ` Jan Kiszka
2008-08-14 17:55 ` Philippe Gerum
2008-08-14 18:21 ` Philippe Gerum
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=48B2BE8F.5070206@domain.hid \
--to=rpm@xenomai.org \
--cc=RTnet-users@domain.hid \
--cc=adeos-main@gna.org \
--cc=bernhard@domain.hid \
/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.