home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / minix / 4988 < prev    next >
Encoding:
Text File  |  1992-12-24  |  3.8 KB  |  80 lines

  1. Newsgroups: comp.os.minix
  2. Path: sparky!uunet!psinntp!dg-rtp!geiger!peace
  3. From: peace@geiger.rtp.dg.com (John Peace)
  4. Subject: Re: Multi-threaded fs for MINIX 1.5.10
  5. Summary: RSN for Atari 1.5.10.4
  6. Message-ID: <1992Dec24.185139.24261@dg-rtp.dg.com>
  7. Sender: usenet@dg-rtp.dg.com (Usenet Administration)
  8. Date: Thu, 24 Dec 92 18:51:39 GMT
  9. References: <1992Dec18.141909.26655@udel.edu>
  10. Organization: Data General Corporation, RTP, NC.
  11. Keywords: ATARI MTFS
  12. Lines: 66
  13.  
  14. In article <1992Dec18.141909.26655@udel.edu> <HENRIKS@odin.uniras.dk> writes:
  15. >
  16. >We've had the discussion about the Minix fs being single threaded
  17. >some time ago. Someone actually went on and coded a multi threaded fs
  18. >for Minix 1.6.16. So far so good.
  19. >
  20. >Has anyone ever done the same at the 1.5.10 level?
  21.  
  22. I've been running the MTFS on my Atari Minix 1.5.10 (patchlevel 4) for
  23. about 6 months now.  It has been stable for the last 5 of those months.
  24. (I had a couple of nights of fun reconstructing a disk with "fsdb"
  25. during that first month! :-)  I plan to post my port to the Net shortly
  26. after the turn of the year.
  27.  
  28. I highly recommend the MTFS.  Interactive response in Minix is much
  29. better with it, especially when you want TTY output concurrent with
  30. disk I/O.  This was especially important to me 6 months ago, before I
  31. got a hard disk.  And when you combine the MTFS with one of the
  32. scheduler enhancements that have been posted (such as that of Kai-Uwe
  33. Bloem, which I use), you can do a Make in one virtual console while
  34. editing, etc. in another with very little noticeable performance drop.
  35.  
  36. There's still one annoying glitch with my port - occasionally programs
  37. reading from pipes will start hanging in XPIPE state.  This seems to
  38. happen most often following simultaneous use of a couple of pipes
  39. (e.g., "cdiff | more", where "cdiff" uses a pipe internally).  Once
  40. the problem occurs, it does not go away until the system is rebooted.
  41. I'm going to try to fix this problem once and for all over the
  42. holidays.  Then I'll pull together the patches and post them ASAP.
  43.  
  44. >I'm running an 'almost out of the box' Minix 1.5.10 on a PC/AT 286 ...
  45.  
  46. Fortunately, the MTFS patches target FS code, so they should be
  47. portable to other platforms.  However, there were a few changes that I
  48. had to make in the kernel area on the Atari.  The kernel patches give
  49. each device driver task a private scattered I/O structure.  On the
  50. base Atari 1.5.10 Minix, a single structure is shared by all tasks
  51. that accept scattered I/O.  This was safe only because no more than
  52. one scatter-gather I/O request could be active at any one time, due to
  53. the single-threaded FS.  As I found out, the multiple I/O requests
  54. generated by a MTFS could trash things pretty badly with the shared
  55. data structure!  Note that no kernel changes were provided as part of
  56. the MTFS patch for 1.6.16, so I assume the 1.5.10 kernel is different
  57. in this area.
  58.  
  59. Since the MTFS patches target FS and not the kernel, I think my Atari
  60. port should work for PC users, as well.  I am not sure if the kernel
  61. patches will be needed on a PC; but if so, I think they are straight-
  62. forward enough that applying them to PC's would not be too difficult.
  63. (Although it will probably have to be done by hand instead of by the
  64. "patch" utility, since some of the files are specific to the ST).
  65.  
  66. >-------------------------------------------------------------------------------
  67. >Henrik Schultz, UNIRAS A/S, Copenhagen, Denmark
  68. >INTERNET mail: henriks@odin.uniras.dk
  69. >-------------------------------------------------------------------------------
  70.  
  71. Happy Holidays! -- JRP
  72. ----
  73. John R. Peace            CSnet:       peace@dg-rtp.dg.com
  74. Data General Corporation    UUCP:        ...!mcnc!rti!xyzzy!peace
  75. Research Triangle Park, NC    Disclaimer:  Speaking for me, not DG.
  76. ----
  77. John R. Peace            CSnet:       peace@dg-rtp.dg.com
  78. Data General Corporation    UUCP:        ...!mcnc!rti!xyzzy!peace
  79. Research Triangle Park, NC    Disclaimer:  Speaking for me, not DG.
  80.