performance of pci_device_get_{vendor, device}_name() in X server startup

James Cloos cloos at
Wed Jun 9 04:16:48 PDT 2010

>>>>> "MG" == Mikhail Gusarov <dottedmag at> writes:

MG> Oh, that's _the_ right question. Looks like only for writing names to
MG> log (unless I missed some access to the data structure while
MG> grepping). Well, not really useful to trade for 400ms of startup :)

That info should remain available for desktop/workstation type usages.

It is only for embedded systems that it should be avoided.

Rather than a --verbose flag to enable, there should be a flag to skip
the lookup.

The reference server should continue to cater to workstations/desktops
by default, with separate options -- possible configure time -- to
optimize the experience for embedded applications.

No matter how common handhelds, tablets and the like become -- and I
certainly want to see them using X, including support for displaying
remote apps and using remote servers as displays for their local apps --
we will still spend most of our working time sitting at a keyboard+
display for the forseable future.

James Cloos <cloos at>         OpenPGP: 1024D/ED7DAEA6

More information about the xorg-devel mailing list