Slow X startup and Hammering /proc/pci
Daniel Stone
daniel at freedesktop.org
Thu Jun 1 14:37:51 PDT 2006
On Thu, Jun 01, 2006 at 05:04:44PM -0400, Phillip Ezolt wrote:
> On 6/1/06, Daniel Stone <daniel at freedesktop.org> wrote:
> >> I shaved 1.7 seconds off of the startup time here by editing
> >> hw/xfree86/os-support/bus/Pci.c to stop after finding as many devices as
> >> there are lines in /proc/bus/pci/devices:
> >>
> >> if (idx < number_of_pci_devices)
> >> tag = pciFindNext();
> >> else
> >> tag = PCI_NOT_FOUND;
> >>
> >> No idea if this is a good general solution, but it worked for me.
>
>
> That's awesome.
>
>
> >There's a better solution, which I think is still languishing in
> >Bugzilla.
>
> Is this (https://bugs.freedesktop.org/show_bug.cgi?id=6583) what you are
> referring to?
Yeah.
> If so, how can we stop the languishing?
I'm currently distchecking something else at the moment, but will check
this in after that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060602/2f9e0e9a/attachment.pgp>
More information about the xorg
mailing list