*BSD News Article 59731


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!solaris.cc.vt.edu!news.seanet.com!news.seanet.com!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2 swap devices: does it make sense?
Date: 16 Jan 1996 08:07:02 GMT
Organization: HeadCandy Associates... Sweets for the lobes.
Lines: 24
Message-ID: <MICHAELV.96Jan16000702@MindBender.HeadCandy.com>
References: <87u41zetl7.fsf@compi.hobby.nl> <4denac$re@vulture.dmem.strath.ac.uk>
NNTP-Posting-Host: mindbender.seanet.com
In-reply-to: nbc@vulture.dmem.strath.ac.uk's message of 15 Jan 1996 23:17:32 -0000

In article <4denac$re@vulture.dmem.strath.ac.uk> nbc@vulture.dmem.strath.ac.uk (Neil Brendan Clark) writes:

   Peter Mutsaers <plm@compi.hobby.nl> wrote:
   >If I define 2 swap devices, each on a different disk, and I'm doing
   >heavy disk I/O: will both swap devices be used by FreeBSD 2.1 to
   >divide the disk I/O over the two disks?

   Swap devices are interleaved, so the answer is yes. How effective this
   strategy is would (I imagine) depend on your hard disks; for example, I
   am unsure how useful two IDE disks would be since CPU time is used by
   data transfers, but SCSI drives would give a definite improvement. At least,
   that is, if the world is a fair place ;-)

Three SCSI drives, each with a 32MB swap partition, work just great on
my system (with a BusLogic bt747 EISA controller), yes...

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac 68k, Amiga, HP300, Sun3, Sun4,
                           DEC PMAX (MIPS), DEC Alpha, PC532
     NetBSD ports in progress: VAX, Atari 68k, others...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -