X startup times: Jaunty vs. Moblin
Bryce Harrington
bryce at canonical.com
Sun Mar 15 21:57:11 GMT 2009
On Sun, Mar 15, 2009 at 10:38:37AM +0100, Loïc Minier wrote:
> On Sat, Mar 14, 2009, Bryce Harrington wrote:
> > On Sat, Mar 14, 2009 at 06:24:34PM +0100, Lo?c Minier wrote:
> > > Could the default compiler flags in Moblin explain the difference?
> > > (they build everything with -march=core2 -mtune=generic -mfpmath=sse
> > > -Os)
> > >
> > > -Os notably could result in smaller binaries which are loaded faster.
> > Sounds plausible to me. Can you provide the configure string being used
> > for xorg-server and for xserver-xorg-video-intel on Moblin?
>
> Sure, here's how to do it yourself: I downloaded
> http://repo.moblin.org/moblin/development/core/source/xorg-x11-server-1.6.0-1.2.moblin2.src.rpm
> and extracted it (I have a trivial SRPM extraction script attached);
> the %configure line from the .spec file:
> %configure --enable-maintainer-mode -disable-xvfb --disable-xnest
--disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake
--disable-xfbdev --disable-kdrive-vesa --enable-xorg --with-pic
--with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins"
--with-module-dir=%{_libdir}/xorg/modules --with-builderstring="Build
ID: %{name} %{version}-%{release}"
--with-xkb-output=%{_localstatedir}/lib/xkb
--with-rgb-path=%{_datadir}/X11/rgb --disable-record
--enable-install-libxf86config --disable-xselinux --disable-xinerama
--enable-dri2 --enable-dri --with-dri-driver-path=%{_libdir}/dri
${CONFIGURE}
Hmm, nothing leaping out as obvious... --with-pic maybe?
Here's ours for reference:
confflags += --disable-static \
--enable-xorg \
--with-default-font-path="/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unsca\
led,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/l\
ib/defoma/x-ttcidfont-conf.d/dirs/TrueType" \
--disable-builtin-fonts \
--enable-xtrap \
--enable-record \
--enable-glx-tls \
--enable-dmx \
--enable-vfb \
--enable-kdrive \
--enable-xephyr \
--enable-xcsecurity \
--enable-appgroup \
--disable-xsdl \
--disable-xfake \
$(build_xfbdev) \
--disable-kdrive-vesa \
--disable-lbx \
--disable-xprint \
--disable-xorgconfig \
--disable-xorgcfg \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--enable-xfree86-utils \
--with-os-vendor="$(VENDOR)" \
--with-builderstring="$(SOURCE_NAME) $(SOURCE_VERSION)
($(BUILDER))" \
--with-int10=x86emu \
--enable-config-dbus \
--enable-dri2
Bryce
More information about the ubuntu-devel
mailing list