header pictures for dedicated hosting services header image of world
Guests Visit the FreeBSD Forums  •  Login to the FreeBSD Forums  •  Register for FREE

Comparing FreeBSD vs. (Gentoo) Linux

Author
Thread       
admin
Administrator

Registered: Jan 2002
Location:
Posts: 2423

Comparing FreeBSD vs. (Gentoo) Linux

Eli Scott shares his thoughts relating to the eternal comparison of FreeBSD vs. Linux in this FreeBSD advocacy posting. He implies that in order to somewhat level the playing field, FreeBSD should be compared to and pitted against Gentoo Linux. Why ? Gentoo is the arguably the most configurable, powerful and advanced Linux distro and both have a similar management system for third party applications and both have similar design philosophies.

[Read more]
------------------------------------------------
Subject: Re: FreeBSD vs. Linux vs. Windows
From: Eli Scott <sp0rkmail () brainguts ! no-ip ! com>
Date: 2003-06-26 2:06:11

For people who don't want to read on about my opinion of Gentoo vs.
FreeBSD, I'll make one final appeal for pitting FreeBSD against Gentoo
Linux. Gentoo is arguably the most configurable, powerful, and Advanced
linux distribution (aside from lfs) out there...and FreeBSD still kicks
its ass (in my opinion). Both have a similar management system for 3rd
party apps, both have similar design philosophies, and so on. In short:
I think the only chance linux has when pitted against FreeBSD is in
Gentoo. Really, I think if we were to do a linux-FreeBSD showdown on
TechTV or otherwise, the only way to win over hard-core linux users and
impress the zealots is to run FreeBSD against a hard-core distro. Gentoo
is pretty hardcore. Anyway, just a thought.


Now, onto the meat..

On Tue, 24 Jun 2003, Thomas McIntyre wrote:

>
> What's the point of munging in all this automagic USE stuff? One of
> freebsd's stregths the ease to a clean install w/o having to duel the
> installer. Ports are great for a willingness to allow configuring,
> messing with makefiles, source -- whatever -- without having to be an
> action hero.

I would definately agree here. I "Grew up" - so to speak - (freshman
year of college) on FreeBSD. I learned how to hack port's Makefiles on my own,
and never found it too difficult. I also tried Gentoo for the first time
then. I was impressed by portage, but I feel more at home in ports. I'm
masochistic, so I actually enjoy the 2-day system installs to have a
system that suits my needs completely...the sad thing is, I can install
FreeBSD, cvsup ports and system source, rebuild my kernel, make world,
and have the same ends in much less time.

I also like the fact that one is forced to LEARN SOMETHING if they install
Gentoo. You don't just pop in the CD, click a few boxes and have a
running system. You get to do all of the preliminary installation by
hand. This is why I have any of my friends who want to install linux,
install Gentoo. I've met too many linux users who get into the script
kiddie sindrome, where they think installing Redhat on their other
hardrive makes them immediately 31337 or, even worse, a linux guru. One
of these days, I plan on making my own FreeBSD live CD based off of
FreeBSD From Scratch for my own uses (mainly just to see if I can do it).
Thats how much I *like* the Gentoo-style installation. I personally think
FreeBSD can do it faster and more efficiently.

>
> Try minimizing Solaris or building your own packages for comparison.
> Not friendly.
>
> I also sympathize with question of Gentoo's build times. First get
> the machine running, then tweak it -- an iterative approach is best.
> It's hard to understand why a working kernel isn't provided.

Its definately a power-user's distro. Its for people who know exactly
what they want in their kernel, and don't want to mess with another
person's idea of a well-configured kernel. I tend to sway in this
direction myself. Personal preference, I guess.

<bitch>
I can't stand the linux kernel config. I have to wade through menus that
seem set up in an anti-intuitive way just to configure my soundcard. With
FreeBSD, I copy GENERIC, add a line, thats it. I don't even have to use a
text editor if I don't want to, just append the line to the file.
</bitch>

>
> Hand configuring a kernel to get off the cdrom seems extreme. And in
> light of the effort invested in Portage to chuck the stick shift, a
> little schizophrenic.

Again, power-user oriented. The first thing I do in linux is configure a
new kernel, why not start out with the one i want?

> Last gripe is for sparc64 only. If one wants to do all this command
> line bootstrapping, do it via working ssh daemon. Anyone having to
> install gentoo sparc via a serial cable better know how to configure
> sshd by hand; else, it may be a long build.
>
> Still, one has to appreciate getting Linux based on source. But your
> friends might want to consider dialing back the bragging a tad....
>

Gentoo it really about the only linux I'll allow on any of my systems.
I've got it on my main machine just to track linux development and compare
it to FreeBSD (it still doesn't match the speed and responsiveness of
FreeBSD, and frankly, none of the File Systems feel as nice on the user
end
as UFS2, and I say that after trying ext2, ext3, XFS, and reiser...no jfs
experience yet). I relate Gentoo to people as the best you'll get with
linux, after swimming through several hours of hell on the install.

I try to be pretty rounded as far as OS's go. In the last three years
I've been actively interested in all things not windows, I've used
Solaris, FreeBSD, OpenBSD, NetBSD, OS X, Linux(Gentoo, Slackware, RedHat,
Mandrake, and Debian), and pretty much every version of Windows. FreeBSD
won me over the first time I used it, and it's remained my favorite OS
out of all of the ones I mentioned. I think OS X might come in second
place. Anyway, I think my rambling should come to an end now...I'm sure
half of this stuff is of no intrest to the majority of you.

 

Report this post to a moderator | IP: Logged

10-01-2003 08:18 AM
 
Walrus28IF
Port Monkey

Join Date: Feb 2003
Posts: 349

He seems a bit biased...lol

Good article though. He has a lot of experience with a lot of OS's. He seems to know what he wants, but he definatly fails to mention pros and cons of each.

Quote:
Its definately a power-user's distro. Its for people who know exactly
what they want in their kernel, and don't want to mess with another
person's idea of a well-configured kernel. I tend to sway in this
direction myself. Personal preference, I guess.

<bitch>
I can't stand the linux kernel config. I have to wade through menus that
seem set up in an anti-intuitive way just to configure my soundcard. With
FreeBSD, I copy GENERIC, add a line, thats it. I don't even have to use a
text editor if I don't want to, just append the line to the file.
</bitch>


Anyone else see the direct contradiction there?

Report this post to a moderator | IP: Logged

07-03-2003, 10:59 AM
 
mezz
Custom Kernel

Join Date: Feb 2002
Posts: 3,005

>> Anyone else see the direct contradiction there?

Yes, I hate Linux's menu configure too.. I prefer a very simple text file to configure the kernel.
__________________
FreeBSD GNOME Team - gnome@FreeBSD.org
Find my unoffical ports: http://people.freebsd.org/~mezz/shar/

 

Report this post to a moderator | IP: Logged

07-03-2003, 11:43 AM
 
-phoenix
Moderator

Join Date: Apr 2002
Location: Kamloops, BC, Canada
Posts: 10,011

There's a bit of hypocricy there, but not really. Sure, he doesn't like to use pre-compiled binary kernels with who knows what options enabled. But, he also like to use the GENERIC kernel.

The main point I think he was getting at, though, is that it is a royal pain to compile a custom Linux kernel, especially if all you want to do is add one or two simple options. For that, it's much simpler to just edit a simplet ext file.

There is one nice thing about the Linux kernel compilation method: you can get help messages and notes on what the various drivers do, what the dependencies are, and whether or not it can be compiled as a module.

There is one nice thing about the FreeBSD kernel compilation method as well: anything that is not explicitly included in the kernel is built as a module. This means you don't have to recompile your kernel if you want to test out a new sound card, or new NIC, or add a new harddrive controller. Just load the module and continue on your way. (I really hate how you have to recompile the Linux kernel just to build a new NIC module.)

Report this post to a moderator | IP: Logged

07-03-2003, 12:08 PM
 
Walrus28IF
Port Monkey

Join Date: Feb 2003
Posts: 349

 

07-03-2003, 01:24 PM

You can always edit /usr/src/linux/.config in a text editor to add/remove options.

Also, I don't think it's completley nessesary to recompile the whole kernel just for one module. I normally do, but I think you can just build the module (or get a binary if its propietary) and modprobe it.
Reply With Quote

 

Report this post to a moderator | IP: Logged

-phoenix
Moderator

Join Date: Apr 2002
Location: Kamloops, BC, Canada
Posts: 10,011

Depends on the module. Some modules require that other modules be built, or that the infrastructure for it is already built into the kernel. Sounds modules, for instance. You can't just modprobe a sound module and have everything just work, unless you either build the sound infrastructure as a module or into the kernel. Same with some NICs. It's a royal pain, sometimes.

If you are going to support modules, then why not build everything as a module automatically??

Report this post to a moderator | IP: Logged

07-03-2003, 12:08 PM
 
DrkMage
Package Ape

Join Date: Oct 2002
Location: Philadelphia
Posts: 235

Gentoo vs. FreeBSD

I think the idea of an OS is that it should be for both New Users and power users alike. If you have to go through the GENTOO build from scratch methods to get it up and running then I think alot of ppl will go with a Red Hat or something else. Freebsd is easy for a new user to install and start learning on with out much effort. I always go back to the great documetation for FreeBSD.

One thing that both have in common is that when you install each you just install the OS and not a bunch of Apps that you may never use. Ports and portage both do a great job of installing what you need when you need it. They manage dependies for you. Great tool for new users and ol` hands alike. I believe that is a sign of a winning os.

The idea of a GENERIC kernel is something I like as well. I get a system that works. I doesn't have to work well out of the box and I may have to tweek it to get it working the way I want. It may take a while to load but it atleast "WORKS". My first kernel complies didn't go very well. I took the experience as a right of passage and now I do have costume kernels from the ground up. they're based on the GENERIC FreeBSD kernel and the LINT files.

This is just my 2 cents.
Report this post to a moderator | IP: Logged
07-03-2003, 03:45 PM
 
-oohp
BSD n00b

Join Date: Mar 2003
Location: Romania
Posts: 23

Solar Designer's Openwall GNU/Linux and CRUX are also buildable entirely from source, yet not easy to install. There is also Rock Linux and Sourcerer GNU/Linux which I haven't tried.

http://www.openwall.com/Owl/
http://www.crux.nu/

Report this post to a moderator | IP: Logged

07-03-2003, 11:32 PM
 
h1tman
Package Ape

Join Date: Sep 2002
Posts: 135

i would use freebsd but no support for my winmodem, i'll probably install it tho once i get back to school on the network.
Report this post to a moderator | IP: Logged
07-04-2003, 12:04 AM
 
DrkMage
Package Ape

Join Date: Oct 2002
Location: Philadelphia
Posts: 235

Quote:
Originally posted by h1tman
i would use freebsd but no support for my winmodem, i'll probably install it tho once i get back to school on the network.


if you're using Linux the winmodem drivers work on freebsd with the Linux compatablity layer going.

Report this post to a moderator | IP: Logged

07-05-2003, 06:05 AM
 
paulio
Port Monkey

Join Date: Jun 2002
Location: UK
Posts: 274

I just got back from a friends. After installing some Raid drivers, we tried to mount it, only to find that NTFS wasn't in the kernel. Ahh i thought, thinking about how easy this would be to sort in freebsd, i'll "just" recompile the kernel.. won't take long.. LOL is all i can say. It's just a big pain in the arse.
Report this post to a moderator | IP: Logged
07-05-2003, 09:18 AM
 
Maxlor
Mentor

Join Date: Jul 2002
Location: Switzerland
Posts: 1,978

Even easier... kldload ntfs :)

Report this post to a moderator | IP: Logged

07-05-2003, 01:09 PM
 
phoenix
Moderator

Join Date: Apr 2002
Location: Kamloops, BC, Canada
Posts: 10,011

Why recompile to add a single, simple driver that may or may not be used all the time?? :) Use the module. Virtually everything that is not directly compiled into the kernel is available as a module. (Compare that to Linux where you have to explicitly choose to compile the module.)

man kldload
man kldstat
man kldunload

And look through /modules (4.x) and /boot/kernel (5.x) to see all the wonderful modules you can play with. :)
Report this post to a moderator | IP: Logged
07-05-2003, 02:38 PM
 
Titan
BSD n00b

Join Date: Mar 2004
Location: Iceland
Posts: 22

I've got 3 computers, 1 "workstation" ( nx7010 laptop) running gentoo linux(which I love), and 2 boxes(one is 200 mhz w 64 mb ram, running irssi in screen on freeBSD 5.2.1, runs like a charm ) other is a p4 2.4 ghz gentoo/(now) freeBSD 5.3 since they finally added support for my soundcard, only prop. is that JFS is not supported in freeBSD.

But to the point, I love gentoo, it's by far the best distro I have tried ( I have not yet tried slackware, tried gentoo to early.)

But freeBSD.. FreeBSD rocks, it's stable and the documentation., It's my OS of choice.
__________________
HP NX7010:
FreeBSD donald.thoron.org 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Tue May 10 01:19:58 GMT 2005 root@donald.thoron.org:/usr/obj/usr/src/sys/DONALD i386

Report this post to a moderator | IP: Logged

11-23-2004, 04:44 PM
 

 

 

 

Looking for our FreeBSD Forums? We have moved them off our main page,just follow the link to our FreeBSD Forums page.


Copyright © 2009, WEBSERVER CONSUMER GUIDE

Privacy Policy

Please note:
(1) FreeBSD is a registered trademark of The FreeBSD Foundation.
(2) WEBSERVER CONSUMER GUIDE is in no way affiliated with The FreeBSD Foundation