DN Print Magazine BSD News BSD Mall BSD Support Source Wars Join Us
Total Page:16
File Type:pdf, Size:1020Kb
Mirrors Primary (US) Issues August 2001 August 2001 Get BSD Contact Us Search BSD FAQ New to BSD? DN Print Magazine BSD News BSD Mall BSD Support Source Wars Join Us T H I S M O N T H ' S F E A T U R E S From the Editor The Effects of Tuning a FreeBSD Box for High Open Packages Reaches Performance Milestone 2 by Gilbert Gong by Chris Coleman Each BSD project has its A stock FreeBSD installation delivers a system which is own 3rd party software designed to meet the needs of most users, and strives to packaging system. They are provide the best balance of safety, reliablity, and all based on the same code, performance in a multi-user environment. It is therefore not yet, each of them have optimized for use as a high performance dedicated network features that make one server. This article investigates the effect of tuning a better than the other. Open FreeBSD for use as a dedicated network server. Read More Packages is a volunteer project to unify that code base and incorporate the best features of each. The NetBSD rc.d system by Will Andrews Get BSD Stuff There's been a lot of hubbub the last few months about NetBSD's new rc.d system being the successor of 4.4BSD's. At the USENIX Annual Technical Conference 2001 in Boston, MA, I had the pleasure of sitting down to listen to Luke Mewburn of Wasabi Systems discuss the new rc system NetBSD introduced in their operating system in the 1.5 release earlier this year. Read More Search Implementing Security in FreeBSD UNIX System, Part I by Matt Dillon Search This is part I of a two-part security series on DaemonNews. Advanced Part I describes security in general terms while Part II drills down into specific strategies for securing common services. or Search all Daemon Read More News Daily Daemon News FreeBSD Security Guide, Chapter 1 by Aeon Flux Using an OpenBSD Firewall to Share a Cable This chapter talks about the lockdown procedures of a Modem freebsd machine. This article assumes the end user has a OpenPackages Milestone 2 general level of familarity with FreeBSD, and unix, in Released particular, file permissions, kernel configuration, file Adobe's 800-Pound Gorilla editing, and basic ssh usage. Read More on the Apple OS X Sidelines Apple's OS X is a work in progress Linux and BSD, Open Source Giants New iMacs with OS X.1 in September! by Dan Shearer Anyone influencing information technology decisions BSD Support Forum should know something about the most widely-used operating systems. Two of these are Linux and BSD, Buffer overruns relatively unknown to the world of corporate computing. unnecessary ? Read More Screen Goes blank after XF86Setup Problems with cvsup -- R E G U L A R C O L U M N S Permission problem within KDE 2? i think Is XFree86 4.1.0-client port Answerman broken? by Gary Kline, Dirk Myers, and David Leonard Welcome back! This month we scare, titilate and automate Source Wars you. Several questions to help you get comfy with the BSD Week 22 family this issue. These range from forwarding root's mail on host1, host2,...hostN to one convenient account to the worthiness of rdate, to the leading ways of making your system crack-proof. (--Okay, if not crack-proof, then crack-resistant.) Read More Daemon's Advocate by Greg Lehey by Greg Lehey Daemon News Mall - There’s been a lot of news about BSD lately. It’s mainly Summer Specials related to FreeBSD, but just as Linux news has proved good for BSD in the past, news about FreeBSD will prove NetBSD 1.5.1 Pre-Order good for the other BSD projects. Read More $23.95 FreeBSD 4.3 NOW SHIPPING $35 3Ware Escalade RAID Controller $144 BorderWare Secure Server R1000 $2295 Daemon Certified Systems From the Daemon News $1097 Need Reseller Pricing? Go to Cylogistics! Miscellaneous Credits The hard-working crew Tarball Download a tar.gz version of this issue Copyright © 1998-2001 DæmonNews. All Rights Reserved. August 2001 Search Submit Article Contact Us Join Us Merchandise Open Packages Milestone 2 Chris Coleman, <[email protected]> A lot has happened since we started the Open Packages project. Initially I took quite a bit of flak over the notion until I managed to get the project organized a bit and gained support from our sponsors. I can't say I have proved all the naysayers wrong yet, but I have stuck to it. I know that most of those who had doubts about the project will be really pleased when we succeed. Fortunately for me, there were others already planning this same project. When we reached Milestone 1, it seemed like developers finally started to take notice of the project and there was sufficient code that things could start happening. Since that time, the number of OP committers has tripled and the code base has grown by more than that. The complexity has outgrown my meager coding abilities and the project has taken on a life of its own. I am no longer the sole driving force that I felt I was when I first embarked on this project. Therefore I can't take credit for Milestone 2, which was released today. It is the work of a group of developers who want to see a unified packaging system for BSD and as many other platforms as possible. The goal of Milestone 2 was to get the existing codebase to compile on the systems we want to support. Harlan Stenn and Will Andrews have taken this to mean any system they have access to. At the time of this release, OP is known to compile on: FreeBSD: 2.x 3.x 4.x 5.x HPUX: 10.20 Irix Linux (specifically tested on: Debian 2.2 and unstable, Red Hat Linux 6.2 and 7.1, Mandrake 8.0, Suse 7.1, TurboLinux 6.0, Kondara 2000) NetBSD: 1.5 i386 Sparc OpenBSD: 2.9 Solaris: 2.8 Systems that didn't make it into this release, but on which work is in progress include AIX, Alpha/OSF1 [Editor's note: this was made to work less than an hour after the official M2 announcement], Alpha/Ultrix4.4, and HP-UX 11.00. We have made a fair amount of progress, but we are far from finished. The first two milestones were aimed at getting what we have working. Then next milestones are going to add new functionality. Milestone 3 is going to see us incorporate all the remaining features from the existing BSD ports and package collections, as well as expand the number of systems supported. After milestone 3, the focus will turn to a rewrite of the package tools. Some developers have already started on design documents. I’d like to see the new package tools in full development long before we reach milestone 3, but that requires more developers than we currently have now. So if you are interested in new package tools, now is a good time to get started. If you are currently a committer or maintain a port in any BSD ports collection, contact me about joining OP. If you have questions, e-mail <[email protected]>. WWW: http://www.openpackages.org/ CVSWeb: http://cvsweb.openpackages.org/ AnonCVS: http://openpackages.org/html/anoncvs.php Mailing Lists: http://openpackages.org/mailman/listinfo/ IRC: irc.openprojects.net #openpackages Author maintains all copyrights on this article. Images and layout Copyright © 1998-2001 Dæmon News. All Rights Reserved. August 2001 Search Submit Article Contact Us Join Us Merchandise The Effects of Tuning a FreeBSD Box for High Performance Gilbert Gong, <[email protected]> Introduction A stock FreeBSD installation delivers a system which is designed to meet the needs of most users, and strives to provide the best balance of safety, reliability, and performance in a multi-user environment. It is therefore not optimized for use as a high performance dedicated network server. In this article, I will investigate the effect of tuning a FreeBSD for use as a dedicated network server. System and Methodology The test server was a Pentium III 600 MHz with 512MB of RAM, installed in a Super Micro P6SBU motherboard. The on-board Adaptec Ultra2 SCSI adapter was connected to an IBM DNES-309170W SA30 (8GB SCSI HDD), and the network card was a 3Com 3c905B-TX. All filesystems were standard UFS A Celeron 400 with 128MB of RAM was used as a network client when needed. The test server was installed with FreeBSD 4.3-RELEASE. The client was installed with several versions of FreeBSD 1. The two machines were connected with a Cisco Catalyst 2924-XL running at 100Mbit/Full Duplex. I ran three different benchmarks against the test server, in both tuned and untuned state. The benchmark results are not meant as a real world performance measurement of the system, but only a means of comparing the relative performance of the tuned and untuned state. The benchmarks were http_load to measure http performance, postmark to measure file system performance, and postal to measure SMTP performance. Tuning Most of the following techniques are derived from the tuning(7) man page. Recompile the kernel Perhaps the first step in tuning a FreeBSD box is to recompile the Kernel. Remove the options not needed by your system, and increase maxusers and the NMBCLUSTERS option. A copy of the kernel config file I used is here Turn on soft updates One of the most critical steps in tuning a FreeBSD box is turning on soft updates (and here).