* [gentoo-dev] pciparm init script for sys-apps/pciutils
@ 2007-04-04 15:50 federico
2007-04-04 18:27 ` [gentoo-dev] " Steve Long
0 siblings, 1 reply; 6+ messages in thread
From: federico @ 2007-04-04 15:50 UTC (permalink / raw
To: gentoo-dev
hello list,
I just subscribed to this list. Let me introduce myself: I'm an italian
Gentoo user (from 3 yrs or so), student in Computer Science Engineering,
occasionally developer.
Sometimes I did some ebuild contributions through bugzilla (with this
email adress).
Today I created a little init script in the flavour of hdparm, that is:
a config file (/etc/conf.d/pciparm) to tweak PCI latency parameters.
I don't know if others PCI registers deserve attention (I just use
latency_timer), so I want to submit this to your attention and hear
comments.
I already filed a bug at: http://bugs.gentoo.org/show_bug.cgi?id=173347
have a nice day
--
Federico F.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: pciparm init script for sys-apps/pciutils
2007-04-04 15:50 [gentoo-dev] pciparm init script for sys-apps/pciutils federico
@ 2007-04-04 18:27 ` Steve Long
2007-04-04 22:10 ` federico
0 siblings, 1 reply; 6+ messages in thread
From: Steve Long @ 2007-04-04 18:27 UTC (permalink / raw
To: gentoo-dev
federico wrote:
> Today I created a little init script in the flavour of hdparm, that is:
> a config file (/etc/conf.d/pciparm) to tweak PCI latency parameters.
> I don't know if others PCI registers deserve attention (I just use
> latency_timer), so I want to submit this to your attention and hear
> comments.
>
What benefits does it show; why would I want it on my machine?
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: pciparm init script for sys-apps/pciutils
2007-04-04 18:27 ` [gentoo-dev] " Steve Long
@ 2007-04-04 22:10 ` federico
2007-04-04 22:43 ` [gentoo-dev] " Steve Long
2007-04-21 12:01 ` [gentoo-dev] " federico
0 siblings, 2 replies; 6+ messages in thread
From: federico @ 2007-04-04 22:10 UTC (permalink / raw
To: gentoo-dev
Steve Long ha scritto:
> What benefits does it show; why would I want it on my machine?
>
cause you don't want to write setpci stuff in /etc/conf.d/local.start ;D
seriously: because you can disable it by a kernel command line
'nopciparm' (like the hdparm script does); because it provides a place
to store those settings;
although I don't like wrapping each register into a variable... too much
work on the script side. would be better to simplify it to:
ALL="latency_timer=0b ..."
<CARD_ID>="latency_timer=ff rom_address=48000001"
<CARD_ID2>="poo=foo ..."
with pci IDs being read from `lspci` directly
--
Federico F.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] Re: Re: pciparm init script for sys-apps/pciutils
2007-04-04 22:10 ` federico
@ 2007-04-04 22:43 ` Steve Long
2007-04-05 18:18 ` Patrice Bouvard
2007-04-21 12:01 ` [gentoo-dev] " federico
1 sibling, 1 reply; 6+ messages in thread
From: Steve Long @ 2007-04-04 22:43 UTC (permalink / raw
To: gentoo-dev
federico wrote:
> Steve Long ha scritto:
>> What benefits does it show; why would I want it on my machine?
>>
> because it provides a place to store those settings;
>
latency timer settings? the coder in me can like that idea, the usr wants to
know "so what?"
> although I don't like wrapping each register into a variable... too much
> work on the script side. would be better to simplify it to:
>
> ALL="latency_timer=0b ..."
> <CARD_ID>="latency_timer=ff rom_address=48000001"
> <CARD_ID2>="poo=foo ..."
>
> with pci IDs being read from `lspci` directly
>
Don't get me wrong i find this interesting; just want an idea of
application. (Don't know what other registers there are which might be of
use..)
Would CARD_IDN thus be replaced directly by lspci id? And TBH I think a flat
file/ BASH snippet is fine. Config is separate to impl imo.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: Re: pciparm init script for sys-apps/pciutils
2007-04-04 22:43 ` [gentoo-dev] " Steve Long
@ 2007-04-05 18:18 ` Patrice Bouvard
0 siblings, 0 replies; 6+ messages in thread
From: Patrice Bouvard @ 2007-04-05 18:18 UTC (permalink / raw
To: gentoo-dev
Le Wed, 04 Apr 2007 23:43:07 +0100,
Steve Long <slong@rathaus.eclipse.co.uk> a écrit :
> federico wrote:
>
> > Steve Long ha scritto:
> >> What benefits does it show; why would I want it on my machine?
> >>
>
> > because it provides a place to store those settings;
> >
> latency timer settings? the coder in me can like that idea, the usr wants to
> know "so what?"
http://www.gentoo.org/doc/en/articles/hardware-stability-p2.xml
I have to say the pci latency tweaks were successful for me with my old hardware.
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: pciparm init script for sys-apps/pciutils
2007-04-04 22:10 ` federico
2007-04-04 22:43 ` [gentoo-dev] " Steve Long
@ 2007-04-21 12:01 ` federico
1 sibling, 0 replies; 6+ messages in thread
From: federico @ 2007-04-21 12:01 UTC (permalink / raw
To: gentoo-dev
federico ha scritto:
> Steve Long ha scritto:
>
>> What benefits does it show; why would I want it on my machine?
>>
>>
http://www.gentoo.org/doc/en/articles/hardware-stability-p2.xml
>
> cause you don't want to write setpci stuff in /etc/conf.d/local.start ;D
>
> seriously: because you can disable it by a kernel command line
> 'nopciparm' (like the hdparm script does); because it provides a place
> to store those settings;
>
> although I don't like wrapping each register into a variable... too much
> work on the script side. would be better to simplify it to:
>
> ALL="latency_timer=0b ..."
> <CARD_ID>="latency_timer=ff rom_address=48000001"
> <CARD_ID2>="poo=foo ..."
>
and finally, I've made those changes.
(bug is REOPENED) I guess this is the last contribution, if anything
works fine
bye
--
Federico
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-21 12:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 15:50 [gentoo-dev] pciparm init script for sys-apps/pciutils federico
2007-04-04 18:27 ` [gentoo-dev] " Steve Long
2007-04-04 22:10 ` federico
2007-04-04 22:43 ` [gentoo-dev] " Steve Long
2007-04-05 18:18 ` Patrice Bouvard
2007-04-21 12:01 ` [gentoo-dev] " federico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox