From owner-freebsd-questions Thu Mar 14 23:01:36 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA09113 for questions-outgoing; Thu, 14 Mar 1996 23:01:36 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA09108 for ; Thu, 14 Mar 1996 23:01:34 -0800 (PST) Received: from sable.nus.sg (sable.nus.sg [137.132.1.21]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id XAA15246 for ; Thu, 14 Mar 1996 23:01:26 -0800 Received: from leonis.nus.sg (leonis.nus.sg [137.132.1.18]) by sable.nus.sg (8.6.10/8.6.9) with ESMTP id OAA00711 for ; Fri, 15 Mar 1996 14:59:58 +0800 Received: (from eng30219@localhost) by leonis.nus.sg (8.6.10/8.6.9/CNS-3.5) id OAA00053; Fri, 15 Mar 1996 14:59:57 +0800 Date: Fri, 15 Mar 1996 14:59:56 +0800 (SST) From: Gong Wei To: freebsd-questions@freebsd.org Subject: Re: Strip Down X server In-Reply-To: <9603150302.AA16949@tera.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This message is in reply to someone(sorry, delete your mail accidently) who asked me about stripping down X server. So for those of you who are not interested or already known(most likely:-), please ignore it. Actually recompiling an XFree86 server is quite simple, just get the xf86-312 source code, either from ftp or cdrom, then unpack it, read the file /usr/X11R6/src/xc/programs/Xserver/hw/xfree86/doc/INSTALL and "READ.FreeBSD" carefully before you start. In the file "xf86site.def", remove those unnecessary devices. So the server won't probe for these non-exist device. Also check freebsd.cf to ensure -m486 is used for optimization. I've done a "time X 2>rep" for both X server. here enclosed is the output: =====================Old Server(XF86_SVGA)============================= 14.11 real 0.64 user 0.23 sys =====================Stripped Server======================== [.......] Configured drivers: SVGA: server for 8-bit colour SVGA (Patchlevel 0): clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, clgd5434, clgd5436, clgd6205, clgd6215, clgd6225, clgd6235 [.......] 3.88 real 0.47 user 0.15 sys Regards ----------------------- Gong Wei eng30219@nus.sg