From owner-freebsd-isp Sun Feb 6 17:39:38 2000 Delivered-To: freebsd-isp@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by builder.freebsd.org (Postfix) with ESMTP id 5B5D03EFA for ; Sun, 6 Feb 2000 17:38:55 -0800 (PST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA24686; Mon, 7 Feb 2000 12:08:02 +1030 (CST) Date: Mon, 7 Feb 2000 12:08:02 +1030 From: Greg Lehey To: Rowan Crowe Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Performance of FreeBSD and MS Windows. What about select() and memory management etc ? Message-ID: <20000207120802.K22697@freebie.lemis.com> References: <20000207114238.G22697@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 7 February 2000 at 12:29:54 +1100, Rowan Crowe wrote: > On Mon, 7 Feb 2000, Greg Lehey wrote: > >> On Monday, 7 February 2000 at 11:40:43 +1100, Stanley Hopcroft wrote: > > [...] > >> Getting back to your own experience: by default, FreeBSD doesn't do >> DMA on IDE drives. It's possible that the perceived performance would >> be much better with DMA. In addition, kde is a known memory hog. > > Do you know of any pointers to increasing the performance (in general) of > FreeBSD's IDE drivers by tweaking the kernel settings? There's not too much else you can do, apart from setting DMA and maximum transfer length. Note that the current driver is going away. Even the upcoming 4.0 release will have the new driver, at, which should be a lot better. In particular, there's a known problem with the wd (old) driver with partitions over 27 GB in size. These *must* be run in LBA mode. See wd(4) for more details. > A related story: > > I have a 1Gb drive which came to me marked "faulty", but I ended up > putting it into a FreeBSD machine and it has worked flawlessly for the > last 18 months. I recently put it into a Win95 machine and it's been > gradually corrupted to the point where the file system is almost unusable. > If I only used Windows I'd probably also be considering it faulty. > > I'm guessing it's because FreeBSD is more conservative (by default) with > IDE settings/features so it's being more gentle on the drive. Windows is > trying to automagically milk every last bit of performance out of it so > that's why it is failing. That's one possibility. It's also very possible that, if you ran DMA on it, you might end up with the same kind of problem. While testing the new at driver, we discovered that it would refuse to run DMA on a number of drives which the wd driver accepted quite happily. We're still not completely sure that this isn't a problem with the new driver, but what we've seen points towards problems with the drives themselves. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message