From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 04:36:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0685137B401 for ; Wed, 23 Apr 2003 04:36:20 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-7-40.abo.wanadoo.fr [217.128.208.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 468BE43FE0 for ; Wed, 23 Apr 2003 04:36:18 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h3NBYtut002878; Wed, 23 Apr 2003 13:34:55 +0200 (CEST) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Jalle , questions@freebsd.org Date: Wed, 23 Apr 2003 13:34:55 +0200 User-Agent: KMail/1.5.1 References: <5.2.0.9.0.20030423122449.0244a058@pop3.hbg.bonet.se> In-Reply-To: <5.2.0.9.0.20030423122449.0244a058@pop3.hbg.bonet.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304231334.55272.ajacoutot@lphp.org> Subject: Re: Why is FreeBSD so SLOW? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 11:36:20 -0000 > So, to the point! I like FreeBSD (I prefer using FBSD before Windows or > Linux), and I would like to keep using it. But if I can't watch a movie or > use a decent file manager I will have to switch to Linux. Oh yeah, BTW, is > there really NO WAY of getting simultaneous sounds in FreeBSD?!? I think > that's kinda crappy. I mean MS did it, why can't we? Yes we can :-) Either use a wrapper (like arts under KDE, esound...), or use virtual channels. For exemple, here is what I put in my /etc/sysctl.conf: hw.snd.pcm0.vchans=4 hw.snd.maxautovchans=4 Now, I have 4 channels for sound: /dev/dsp (= /dev/dsp0.0) /dev/dsp0.1 /dev/dsp0.2 /dev/dsp0.3 Now, you can configure your applications to use either one of those. I use /dev/dsp0.0 for arts (so every application that can use arts; there's a lot) can have simultaneous sound. I use /dev/dsp0.1 for realplayer, /dev/dsp0.2 for...... > Finally the QUESTION: Why is my FreeBSD box so slow? I figure, if FreeBSD > in general was so slow, then noone would really use it. Are there any > "standard tricks" in the book that speeds up a slow X server or WM, or just > FreeBSD in general? Well, everything under X is much slower under FreeBSD than under Linux or Windows (any flavor)... at least, this is my experience. I think (please feel free to basically, for today jobs (workstation, small workgroup servers...) Linux is faster, but in high load server tasks , FreeBSD is the fastest OS I've ever seen (OK, I haven't seen a lot, but still). Nevertheless, I use FreeBSD on my workstation. Best regards. Antoine