Minimizing X.org 6.8.1 (not KDrive) to meet specs

Francois Tigeot ftigeot at wolfpond.org
Thu Sep 23 00:20:04 PDT 2004


On Wed, Sep 22, 2004 at 04:13:37PM -0400, Sergei Mutovkin wrote:
> 
> I'm looking into the ways to minimize X.org 6.8.1 just to be able to
> run bare minimum,
> I think this is an interesting question since in many places on the
> web where similar question was asked this question got unanswered.
> 
> Requirements:
> - Run Kylix 3 developed application (Kylix 3 is based on Qt 2.3.0)
> - Support Touchscreen (Elotouch AccuTouch), mouse, keyboard
> - Have some basic support for S3 Savage chip
> - Run in minimal possible memory
> - Start instantly
> - Occupy least amount of space on HDD
> 
> I have attached my build script that compiles X.org and creates
> Slackware package. Inside I have host.def file definition, in which I
> tried to define not to compile (use) any of the extensions I found in
> "cf' folder.

You compile with -O3 and other aggressive options. You should try to use
just -march and -Os to save space.

> Currently I get ~83Mb /usr/X11R6 folder and empty X (with TWM) is
> close to 40Mb of RAM, according to 'top'. I would really, really want
> to cut those 40Mb as much as possible and also improve current ~5+sec
> start time for X...
> 
> Just for reference my system is LFS 5.1.1 with some small
> modifications running on TimeSys Linux 2.4.18 RTOS kernel.

I have considerably reduced X.org footprint for use in thin clients.

I get a 6.2 MB /usr/X11R6 and the X server uses 20-23 MB of memory with
a 1024x768x24 display. This is with X.org 6.7.0.

The system is based on FreeBSD-5 and I have created a port to build the
X Window environment.

You may want to get the sources on http://www.thinbsd.org/ and look into
ports/Xorg-thinbsd

Be aware that the build system is dependant on Eric Anholt's X.org ports
and as such uses some patches only present in the FreeBSD ports tree.

-- 
Francois Tigeot



More information about the xorg mailing list