home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!tik.vtt.fi!tik.vtt.fi!makisara
- From: makisara@vtinsx.ins.vtt.fi (Kai Makisara)
- Newsgroups: comp.os.linux
- Subject: Re: Q: 20 MB RAM + Adaptec: Ramdisk to swap ?
- Date: 16 Dec 92 18:43:48
- Organization: Technical Research Centre, Instrument Lab., Espoo, Finland
- Lines: 39
- Message-ID: <MAKISARA.92Dec16184348@vtinsx.vtt.fi>
- References: <1992Dec16.004630.6793@sun0.urz.uni-heidelberg.de>
- NNTP-Posting-Host: vtinsx.ins.vtt.fi
- In-reply-to: mrex@indigo0's message of Wed, 16 Dec 92 00:46:30 GMT
-
- In article <1992Dec16.004630.6793@sun0.urz.uni-heidelberg.de> mrex@indigo0 (Martin Rex) writes:
-
- I have 20 MB Ram in my 486/33 and an Adaptec 1542 with an SCSI drive.
- Therefore I have the #define in the kernel not to use more than
- 16 MB of RAM, because of the DMA.
-
- ...
-
- Naturally I would prefer if I could use all memory for Linux,
- but as I understand the current scsi-drivers don't have provisions
- to handle i/o from memory above the ISA-Bus adress space by
- copying it through buffers. This kind of double-buffering would
- surely be slower than direct DMA, but I assume it would still be
- somewhat faster than paging programs in and out when more memory
- is needed.
-
- -Martin
- --
- Martin Rex
- Rechenzentrum
- Fachhochschule fuer Technik Mannheim
- E-Mail: mrex@aix01.rz.fht-mannheim.de
-
- The current Adaptec AHA1542 driver (at least the driver in 0.98.6
- and newer) can use the memory above 16 MB. It double buffers the reads
- and writes which access the memory above 16 MB. It does not slow
- things noticeably (a peculiar myth; just compare the speed of a memory
- to memory copy with speed of ISA DMA). I have used all of my 20 MB of
- memory for months now without any problems (both with the old and the new
- SCSI drivers). So I recommend that you forget the ramdisk and use all
- of the memory for Linux.
-
- Kai
-
- --
- DISCLAIMER: The views expressed here are mine and may not always
- coincide with the views of my employer.
-
- * Kai Makisara * email Kai.Makisara@vtt.fi *
-