From owner-freebsd-questions Sat Jun 3 16:42:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id A15C637B762 for ; Sat, 3 Jun 2000 16:42:49 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port53.tdnet.com.br [200.236.148.153]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id UAA14440; Sat, 3 Jun 2000 20:41:41 -0200 (GRNLNDDT) Message-ID: <39399865.BB9CF457@tdnet.com.br> Date: Sat, 03 Jun 2000 20:44:37 -0300 From: Gustavo Vieira Goncalves Coelho Rios Reply-To: grios@consultant.com X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: jmutter , questions@freebsd.org Subject: Re: Performance Tuning References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jmutter wrote: > > I'm going to be building a few (several) FreeBSD servers to use in a large > mail environment. Anyone have any hints or suggestions on what measures I > might take to ensure peak performance from these boxes? As far as > hardware is concerned we're probably looking at a PIII/500-700 > (Whatever is current and available at the time) and a minimum 1G RAM, > probably 2 to 4. > > Thanks, > Jim > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 1) Remove everything you dont want from your kernel. 2) statically link your daemons with a personal version of your libc (remove what you won't use in your daemons). 3) softupdates. 4) SCSI/RAID devices (remove from kernel what you don't want) 5) write multithread daemons. 6) rewrite you IP stack, implements a multithread IP stack. 7) Rewrite you MM subsystem! remove the part that do garbage collection. you will need to rewrite all you app, for instance pre-allocating all the necessary memory at startup time, if you do that, be warned about using re/m/alloc functions....... 8) .... 9) .... 10) Rewrite FreeBSD, design a YOUR-DAEMON-EMBEEDED kernel OS, for instance, put your FTP in your kernel.... (ok! this is paranoia). This kernel would, at least, have tools like telnet for you do your maintain job. -- Your mouse has moved. Windows NT must be restarted for the change to take effect! Reboot now? [ OK] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message