Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 13:34:13 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Jalle <defacto@home.se>
Cc:        questions@freebsd.org
Subject:   Re: Why is FreeBSD so SLOW?
Message-ID:  <20030423113413.GG57979@pcwin002.win.tue.nl>
In-Reply-To: <5.2.0.9.0.20030423122449.0244a058@pop3.hbg.bonet.se>
References:  <5.2.0.9.0.20030423122449.0244a058@pop3.hbg.bonet.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--sXc4Kmr5FA7axrvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Wed, Apr 23, 2003 at 01:04:08PM +0200, Jalle wrote:
> Now, everyone says that FreeBSD is supposed to be so fast and reliable.=
=20
> Reliable, I fully agree! But fast? No, it's actually much slower on my=20
> machine than any Windows distro ever was! Sure, only running in text mode=
=20
> is fast as hell, but no good for everyday use. I've tried several WMs and=
=20
> Desktop Suites, like Enlightenment (e16 and e17), Blackbox, Gnome2, KDE3=
=20
> etc. They're great n' all, but as soon as I switch to graphical UI=20
> everything slows down to a snail's pace! Even a simple terminal is slow.

Define 'slow'. I know this isn't easy, but it may simply be a case
of expecting too much. On the other hand:

> I've played around with Linux a couple of times, and with several flavors=
=20
> (Mandrake, Debian, RedHat, Gentoo), and they where all MUCH faster using =
a=20
> graphical interface than FreeBSD!

So you can see a difference? Can you specify what exactly is faster? Is
this measurable (for example with time(1) or other calculations)?

> I have a Pentium III 450 MHz with 320 MB RAM, a SoundBlaster AWE 64 Gold=
=20
> and a Matrox G400 MAX video card. I know, this is not top-of-the-line=20
> hardware, but that doesn't mean that it should run three or four (or more=
)=20
> times faster under Linux, right?

No, it shouldn't. FWIW I have nearly the same setup at home (except for a G=
450
and a crappier soundcard) but I'm pretty happy considering how old the
hardware is (3 years or so).

> So, to the point! I like FreeBSD (I prefer using FBSD before Windows or=
=20
> Linux), and I would like to keep using it. But if I can't watch a movie o=
r=20
> use a decent file manager I will have to switch to Linux. Oh yeah, BTW, i=
s=20
> there really NO WAY of getting simultaneous sounds in FreeBSD?!? I think=
=20
> that's kinda crappy. I mean MS did it, why can't we?

Some programs can play sounds at the same time, most of the time they use a
special mixer daemon for that purpose, like esound. However the application
must have support for that.

Anyway, I can play movies just fine, I can listen to mp3's while rebuilding=
 my
FreeBSD world or ports, about the only thing that is a bit 'slow' in my eyes
is the startup time of my browser (phoenix) but that's to be expected on a
p3-450.

> Finally the QUESTION: Why is my FreeBSD box so slow? I figure, if FreeBSD=
=20
> in general was so slow, then noone would really use it. Are there any=20
> "standard tricks" in the book that speeds up a slow X server or WM, or ju=
st=20
> FreeBSD in general?

It's not very easy to give advice without knowing more about your FreeBSD
installation and your hardware.

- what FreeBSD version do you have installed?
- wat are the contents of /var/run/dmesg.boot?
- are there any log messages on the console?
- as for the movie playing, what is the output of 'xdpyinfo | grep -i xvide=
o'?

There are also a few general tips that will enable speedups:

- make sure your kernel only has the 'cpu I686_CPU' option and not
  the 'cpu I386_CPU' or lower options. This will make it use
  instructions that are only available on higher processors, but those
  are definitely faster.
- build and install your own world with CPUTYPE=3Dp3 in /etc/make.conf
  But be prepared to reinstall without using CPUTYPE if your system
  behaves strangely after this -- it is 'unsupported' to do this
  (although I'm running such a world for a pretty long time now).
- similarly, recompile your installed ports with this setting -- it
  will make a difference.

Those are just some of the general pointers, but you do need to be
a bit more specific.

HTH,

--Stijn

--=20
The sexual urge of the camel is stranger than anyone thinks.
He's lived for years on the desert, and tried to seduce the Sphinx.
But the Sphinxs center of pleasure lies buried deep in the Nile,
which accounts for the hump on the camel and the Sphinxs inscrutable smile.
		-- Frantic Fran, http://www.franticfran.com/jokes.htm

--sXc4Kmr5FA7axrvy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+pno1Y3r/tLQmfWcRAj8uAJ9t7sHXs5NMOcDzc+EYzINA69dPtgCgnMyM
g7mksxcUppQk983TnPyAFRc=
=afQS
-----END PGP SIGNATURE-----

--sXc4Kmr5FA7axrvy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030423113413.GG57979>