home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20672 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.0 KB

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