home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9016 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!devnull!altair!fmayhar
  2. From: fmayhar@altair.mpd.tandem.com (Frank Mayhar)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Disk statistics on 386bsd, and porting vmstat.
  5. Message-ID: <2930@devnull.mpd.tandem.com>
  6. Date: 17 Nov 92 23:14:35 GMT
  7. Sender: news@devnull.mpd.tandem.com
  8. Reply-To: fmayhar@mpd.tandem.com
  9. Organization: Tandem Computers (MPD) Austin, TX
  10. Lines: 31
  11.  
  12. I've finally gotten 386bsd up and running on my 486 at home, with all patches
  13. installed, and things appear to be working great.
  14.  
  15. So, I noticed that the distribution didn't include a 'vmstat' command, so I
  16. can't see all those fancy statistics that I'm used to seeing on my Sun at work.
  17. Hmm, OK, I'll get the BSD one on ftp.uu.net, and port it.  Early on I notice
  18. that there are little or no disk statistics being kept!  I'm specifically
  19. referring to the statistics in <sys/dkstat.h>, more specifically things like
  20. dk_xfer and dk_busy (which lets kern_clock keep dk_time), et al.
  21.  
  22. Actually, the statistics in the generic kernel (what there are of them) all
  23. appear to be there, but nothing is kept in the i386 device drivers.  I grabbed
  24. the tahoe stuff from ftp.uu.net for a reference, and it's all there, so I'm a
  25. tad confused.
  26.  
  27. So my first question is, why is this?  Secondly, is anyone working on instru-
  28. menting wd.c, as.c, fd.c, etc. (is that all of them?) for this capability? I
  29. can see that it will take changes to the isa_device and isa_driver structures,
  30. as well as changes to isa_configure() and the device drivers themselves.
  31.  
  32. As you can see, I've actually already started looking into it, but I want to
  33. know if anyone else is doing work here before I get too committed.  Perhaps we
  34. can share expertise and split up the work.  I'm also investigating Tom Ivar
  35. Helbekkmo's wd driver, and may use that as a starting point, rather than the
  36. distributed one.
  37.  
  38. Any suggestions, information, advice would be appreciated.  Thanks.
  39. -- 
  40. Frank Mayhar  fmayhar@mpd.tandem.com
  41.               Tandem Computers, Inc.  Micro Products Division
  42.               14231 Tandem Blvd., Austin, TX  78728    Phone:  (512) 244-8969
  43.