Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Spent some time in FreeBSD this weekend

  1. #1
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Spent some time in FreeBSD this weekend

    It's a long weekend at MIT so I finally had some free time to screw around. And this time, it was FreeBSD testing day! I've been excited about the FreeBSD 7 release but not had a chance to give it a spin yet.

    I set up a quick and dirty VirtualBox VM with 10GB disk space and 48MB RAM to give FreeBSD an extreme test on the server side. That's not a typo... I'm going for the extreme low-resource setup, and plus I had very little RAM to spare thanks to our good friend fglrx and its gracious RAM usage...

    The install was pretty uneventful, unchanged from earlier releases -- I'm fairly familiar with sysinstall and found it generally usable, though of course it's not all that user friendly and benefits greatly from familiarity or a manual read beforehands.

    Post-install, I tried the freebsd-update tool for managing system updates -- it worked just fine. Since the release there has only been an update to like 3 system files, which fetched and applied without any issue.
    I noticed portsnap (for managing the ports tree securely without the need for configuring a supfile either) was in the default system, which is quite nice.

    I then bit the bullet and updated the base system to RELENG_7, which is the FreeBSD 7.x development branch. This upgrade also went smoothly without any hitches, and while I was at it I recompiled the kernel with SCHED_ULE, the new scheduler.


    I then set up a quick proof-of-concept test of a real-world task: setting up a mailserver. My goal was simply a IMAPS server via dovecot that mirrors my primary (2GB) maildir. I tested Hardy Heron and FreeBSD7 both inside identical-specs virtual machines.

    Setup time was strongly in favor of Ubuntu -- I got the server up and running in 1/4th of the time that it took me to get dovecot out of ports and configured to run on bootup, with SSL, etc. However, 1 hour or 4 hours really isn't that big of a deal for me.

    Performance was subjectively in favor of FreeBSD. I tested using mutt on both VMs connecting via localhost to IMAP. On 48MiB RAM, both systems suffered greatly in terms of swapping on large tasks such as opening up huge servers. As a measure of interactivity, during the middle of opening a folder with 48,000 messages, I used a 2nd SSH shell that was open to execute "find
    ~/Mail -name new". FreeBSD won by a definitive margin, while Ubuntu took a long time to respond interactively to the new command, even the sshd lagged while I was typing. It's clear that FreeBSD handled a mixed CPU+IO+swapping load better. In general, as a subjective note (I have no numbers to back this up), I found FreeBSD's performance to be extremely predictable. While it wasn't on top for everything, it did fare very consistently with no obvious weak spots. I don't think I can say the same about Linux 2.6.x though. While it is unbeatable
    in some aspects of performance, at times you can really find a workload that brings Linux to its knees unexpectedly.

    So overall in terms of FreeBSD 7:

    I liked...

    (1) freebsd-update and portsnap in the default setup. Makes it simpler to apply security updates and manage ports.

    (2) Astounding performance and interactivity on severely limited hardware. In this aspect I found it really surpassed Linux.

    (3) BSD "coreutils" felt faster. Everything from ls to top felt like they responded faster for some reason.

    I disliked...
    (1) Very barebones base install. I'm not a csh fan and I would've liked bash either by default or available. I also found it disappointing portupgrade wasn't a part of the base system. Managing ports via the makefiles in /usr/ports is pretty cumbersome.

    (2) Requires a good deal of configuration out-of-the-box to get it up and running intuitively... I feel ubuntu is closer to what I need out of the box.
    (3) Ports and /usr/src in general seemed like it required more maintenance than Ubuntu/Debian APT. There's no clear separation in the Ports tree between stable/security updates and new releases of stuff, and even during my brief time in the OS I did experience a config file migration necessary after a Port upgrade.
    (4) Hardware support is lackluster at best. Out of the box both of my laptops' "real" hardware handled FreeBSD very poorly, neither networked (even wired!) out of the box, and one I was able to get networking after a RELENG_7 update bootstrapped by USB drive. This is definitely a work-in-progress area for this OS. With that said, if there's a driver, it generally is rock solid, unlike Linux where there's many in-tree drivers that IMO are alpha quality at best.


    Overall, I think FreeBSD is a great, solid OS that has its merits, but I don't think I'll be seriously using it for personal tastes. I'm really familiar with Ubuntu/Debian and feel competent administering it, but I feel like a complete idiot when it comes to the BSDs. Of course, I would use a FreeBSD box administered by someone else without hesitation! I have the utmost respect for this hardcore UNIX.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  2. #2
    Join Date
    Oct 2005
    Beans
    9

  3. #3
    Join Date
    Apr 2008
    Beans
    Hidden!

    Re: Spent some time in FreeBSD this weekend

    now THAT'S what i call some insight! i've never tried freebsd being a noob and probably won't for awhile, but that was an excellent read, thanks!

  4. #4
    Join Date
    Aug 2007
    Beans
    2,132

    Re: Spent some time in FreeBSD this weekend

    FreeBSD converted me. It is great and NetBSD might even be more fun...

  5. #5
    Join Date
    Oct 2006
    Location
    Australia
    Beans
    64

    Re: Spent some time in FreeBSD this weekend

    I agree with most of what you say.
    I always have 2 distros on a machine at any time. Currently I have Arch and FreeBSD 7 on my laptop.
    ACPI works beautifully on my ACER laptop with FreeBSD and causes hanging on every Linux I have tried.

    Wireless networking and the lack of a viable virtualisation product are the only things holding me back.

    I find FreeBSD to be very smooth and efficient.

    The biggest advantage Ubuntu has over ANY open source offering is the quality of these forums. The BSD forums are littered with spam and porn with a lack of useful information.
    However Hardy is pretty big. My experience with the beta makes me suspect that HAL , DBUS and all the other "modern" daemons will be introduce more bugs and make it slower than Gutsy.

    I certainly wouldn't use Hardy on a server. I would use FreeBSD.

  6. #6
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Spent some time in FreeBSD this weekend

    I believe I stated that correctly, right? RELENG_7 is the 7-STABLE branch which represents the development effort going into the 7.x point releases. That is, a mix of conservative new features and bugfix updates.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  7. #7
    Join Date
    Jun 2007
    Beans
    61

    Re: Spent some time in FreeBSD this weekend

    FreeBSD is much more stripped down than linux, not intended for the home users, but someone who is going to do major customization to the system. It's not going to include a bunch of helpful stuff by default, its meant to be very minimal. I like this in a way, for my servers atleast.

  8. #8
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Spent some time in FreeBSD this weekend

    Quote Originally Posted by samb0057 View Post
    FreeBSD is much more stripped down than linux, not intended for the home users, but someone who is going to do major customization to the system. It's not going to include a bunch of helpful stuff by default, its meant to be very minimal. I like this in a way, for my servers atleast.
    No, don't get me wrong, I totally see the merit in the minimalist install and as a geek it doesn't bother me greatly to put those things on myself. I'm just remarking in general it seems to take more effort to set up a FreeBSD server than an equivalent Linux one. though IMO that's a very rewarding experience/investment.

    I have nothing but the utmost respect for the BSDs -- they are very solid, very meritable OSes.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  9. #9
    Join Date
    Aug 2007
    Beans
    2,132

    Re: Spent some time in FreeBSD this weekend

    Quote Originally Posted by thisllub View Post
    The biggest advantage Ubuntu has over ANY open source offering is the quality of these forums. The BSD forums are littered with spam and porn with a lack of useful information.
    However Hardy is pretty big. My experience with the beta makes me suspect that HAL , DBUS and all the other "modern" daemons will be introduce more bugs and make it slower than Gutsy.
    The BSD forums are a mixed bag. They have a massive amount of trash and spam, but a few of the users are exceedingly helpful. The Ubuntu forums are the best, of course.

  10. #10
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Spent some time in FreeBSD this weekend

    Quote Originally Posted by cardinals_fan View Post
    The BSD forums are a mixed bag. They have a massive amount of trash and spam, but a few of the users are exceedingly helpful. The Ubuntu forums are the best, of course.
    I am no BSD community expert but it seems like majority of the good-quality help is concentrated on mailing lists. Also, things haven't really changed much in BSD-land for a longer period of time and googling tends to yield very relevant info. The FreeBSD handbook, which I forgot to mention in my review, is definitely ON TOP of my likes list!
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •