Slow X startup and Hammering /proc/pci

Phillip Ezolt phillipezolt at gmail.com
Mon Jun 5 08:13:25 PDT 2006


Daniel,
   Can this fix be checked in?   A close to 2X speedup in the startup time
of the X server is mucho good.

--Phil

On 6/5/06, Thomas Leonard <tal at ecs.soton.ac.uk> wrote:
>
> On Sun, 04 Jun 2006 20:52:53 +0300, Daniel Stone wrote:
>
> > On Sat, Jun 03, 2006 at 02:35:18PM +0100, Thomas Leonard wrote:
> >> On Sat, 03 Jun 2006 15:21:11 +0300, Daniel Stone wrote:
> [...]
> >> > http://people.freedesktop.org/~daniels/xorg-pci-speedup.diff is
> extremely
> >> > nasty (lots of mangling between os-support/bus, and the OS subdirs),
> but
> >> > it does the trick.  Does it still give you the same performance
> boost?
> >>
> >> No, because it still calls pciFindNext() on the last iteration of the
> loop...
> >> adding a break makes it work:
> >>
> >>      if (idx == xf86OSMaxPciDevs)
> >>              break;
> >>      tag = pciFindNext();
> >
> > Gotcha.  Aside from that?
>
> Apart from that it works fine :-) Thanks,
>
>
> --
> Dr Thomas Leonard               http://rox.sourceforge.net
> GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20060605/b217cf69/attachment.html>


More information about the xorg mailing list