home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / coherent / 6944 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.os.coherent
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!news.yale.edu!lasagne.med.yale.edu!silver
  3. From: silver@lasagne.med.yale.edu  (Scot Silverstein MD)
  4. Subject: Disk I/O speed "problem" ... NOT?
  5. Message-ID: <930125092946@lasagne.med.yale.edu>
  6. Nntp-Software: PC/TCP NNTP
  7. Keywords: hard disk
  8. Lines: 30        
  9. Sender: news@news.yale.edu (USENET News System)
  10. Nntp-Posting-Host: lasagne.med.yale.edu
  11. Reply-To: silver@lasagne.med.yale.edu
  12. Organization: Yale University
  13. Date: Mon, 25 Jan 1993 09:29:46
  14.  
  15. I've done some experimentation.  It seems the "slow" disk I/O
  16. on my 386sx/16 toy home machine with Seagate ST1102 89 meg IDE drive 
  17. is not so "slow" after all under Coherent 4.0.1.
  18.  
  19. After setting the m and n values to 234, 9 and running iozone
  20. at a 2-meg test size, I get I/O speeds of about 79k/sec for both
  21. reading and writing, in multiuser mode.  Yet, under MSDOS with
  22. CORETEST.EXE, it says about 1000k/sec.  The discrepancy was puzzling.
  23.  
  24. Until I realized CORETEST uses a 64K "transfer block size" as a default
  25. and iozone uses 0.5k (512 byte block size) which is 'native' to the OS.
  26.  
  27. When I run CORETEST using a 1K "transfer block size" (the minimum), lo 
  28. and behold, it says the throughput is about 40k/sec or something like that!
  29. In fact, I get the "best" results from CORETEST when the "block size" 
  30. is 37k or so on my machine.
  31.  
  32. QAplus diagnostics on the hard drive say about 40K/sec also, using 
  33. a 1k bloxk size also, I believe.  The machine is at home and I didn't
  34. write that figure down so it may be incorrect, but it's in the ballpark.
  35.  
  36. MSDOS accesses the disk in bigger chunks, apparently.  That's why 
  37. a 300,000 byte .exe file loads in a second or so.  So, COHERENT
  38. is making efficient use of the hardware considering the nature of its
  39. interaction with Mr. Hard Drive.
  40.  
  41. Hopefully there is no big error in facts or logic in the above.
  42.  
  43. Comments? 
  44.  
  45.  
  46.