From owner-freebsd-questions Sun Apr 1 21:14:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gandalf.vi.bravenet.com (gandalf.bravenet.com [139.142.105.50]) by hub.freebsd.org (Postfix) with SMTP id 1F74237B718 for ; Sun, 1 Apr 2001 21:14:19 -0700 (PDT) (envelope-from dphoenix@bravenet.com) Received: (qmail 25159 invoked by uid 1000); 2 Apr 2001 04:14:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Apr 2001 04:14:17 -0000 Date: Sun, 1 Apr 2001 21:14:17 -0700 (PDT) From: Dan Phoenix To: Charles Burns Cc: questions@freebsd.org Subject: Re: how can you say ufs is faster? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am not disagreeing with you for your case study or OS for that matter as I do prefer freebsd much over linux anyday. IN a test I did where qmail was overloaded with mail on both a linux fs then a freebsd fs, linux fs outperformed freebsd no problems. Ufs , maybe i am wrong but is way slower when writing to files. Maybe reading sure.....but i am convinced writing there is no way. What i ended up doing was just striping 3 scsi drives together with vinum on freebsd because i try not to use linux unless SMP is a major factor. IF you look over current SMP code in kernel i can say linux and solaris do it way better......and there is no way fbsd can do it without a complete re-write of kernel which they are promising in 5.0....but we will see. I really question your benchmark program.... what do you use and your stats were based on more than 1 benchmark test right? On Sun, 1 Apr 2001, Charles Burns wrote: > Date: Sun, 01 Apr 2001 21:03:49 -0700 > From: Charles Burns > To: questions@freebsd.org, dphoenix@bravenet.com > Subject: Re: how can you say ufs is faster? > > I am just citing my own tests. Transfering large streaming files was about > 2% faster and transfering small files (4k) was about 6-8% faster. > There are other factors in filesystem performance besides whether files are > mounted synchronously or asynchronously, such as cluster size, metadata > overhead, fragmentation, whether the FS is tuned for large or small files, > whether the FS is designed to defragment itself in real time (like UFS) and > how much effort it puts towards doing this (configurable with tunefs), the > controller chip, the IDE driver, and even the physical location of the files > on the hard drive. > > My tests could be wrong, as I never intended them to be true scientific > comparisons. Note, however, that I tuned the filesystem on the Linux system > using "hdparm" and did no tuning whatsoever with the FreeBSD system. > > The hard drive tested was a Maxtor DiamondMax Plus 40GB drive with 2 megs of > 100MHz SDRAM cache. The drive is ATA100 capable, but is on an AMD751 > controller so is at ATA66. The CPU is an Athlon classic at 750MHz, 1/3 speed > cache memory (not the default of 1/2 speed). The files were not cached in > RAM and both tests were on freshly installed systems. The Linux distribution > was Slackware 7.1 and the FreeBSD installation was 4.2-RELEASE. > > Besides, you can mount UFS partitions asynch if you really want to. > > If your benchmarks show that Linux's EXT2 is faster, more power to you. I > have other reasons for using FreeBSD even if that is indeed the case. > > "Use the right tool for the right job" :) > > Charles Burns > > >From: Dan Phoenix > >To: burnscharlesn@hotmail.com > >Subject: how can you say ufs is faster? > >Date: Sun, 1 Apr 2001 16:30:01 -0700 (PDT) > > > > > >ext2fs uses asyncrounous mounts. > >more potential for data loss but a linux filesystem is quite faster > >on say a single ide drive. > > > > > > > > > > > >-- > >Dan > > > >+------------------------------------------------------+ > >| BRAVENET WEB SERVICES | > >| dan@bravenet.com | > >| make installworld | > >| ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail | > >| ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases | > >+______________________________________________________+ > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message