From owner-freebsd-questions Mon Feb 3 00:31:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA15338 for questions-outgoing; Mon, 3 Feb 1997 00:31:33 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA15332 for ; Mon, 3 Feb 1997 00:31:28 -0800 (PST) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id KAA19731; Mon, 3 Feb 1997 10:30:05 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma019726; Mon Feb 3 10:29:47 1997 Message-ID: <32F5A214.2792@barcode.co.il> Date: Mon, 03 Feb 1997 10:30:12 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Andrew CC: freebsd-questions@freebsd.org Subject: Re: Two IDE controllers better than one? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Andrew wrote: > > Hi, > > > > I have an IDE controller built in to my IO card. It is one of these > starnge arrangments where the mother board is in two bits - one has the > processor, RAM etc and the other has all the IO stuff built in (video, > sio, lpt, FDD, HDD etc). The board origianlly came with a 386-SX-16 so you > get the idea about the sort of age (its an IPEX if thats any help). I now > have a 486DX-25 board to add to the IO part. > > I also have a ISA multi-IO card (new last year but cheap) with a HD > controller. Part of my HD is unusable due to bad blocks and so to get > enough space for FBSD I need two drives. > > > > The question is - is it better (ie faster, take less RAM, whatever) to > connect each drive to a seperate controller or (perhaps because of the age > of the builtin contorller, is it better to stick them both on the multi IO > card which appears to allow two drives to be connected (the motherboard > controller only allows one)? > > Should I just try both and run a benchmark and see what I come up with? > > Thanks, > > Andrew <(E)IDE Background> IDE controllers *always* (AFAIK) control two drives per channel. Each channel has a single 40 pin connector and you can daisy-chain two drives on such a connector, simply by using a flat cable with three connectors on it. Most modern chip sets support two such chennels, for a total maximum of four drives. The two channels are usually called "primary" and "secondary" channel, while the devices on a single channel are called "master" and "slave". The master and slave on a single channel cannot be accessed concurrently. However, the primary and secondary channel are completly separate, and assuming you don't have a buggy chip set (called the CMD640) *can and will* be accessed concurrently. Newer controllers and drives have EIDE features. There are basicaly two of those: 32 bit transfers (you can't get that from an ISA card though), and PIO modes 3 and 4. If your BIOS and drives supports those you can get better performance. Your old controller probably does not have those. I doubt that your drives, or even the new controller (if it`s ISA) supports it either. So: If you have two separate channels you'll probably gain performance by distributing the load between them. If you have an IDE controller with one 40 pin header it can probably control two drives on that. If you want real performance get SCSI. Hope this helps, Nadav