home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aux / 2899 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  5.4 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!rutgers!cmcl2!panix!alexis
  2. From: alexis@panix.com (Alexis Rosen)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: LONG ravings about disk geometry. (was: Re: /etc/disktab entry for Quantum LP240S)
  5. Message-ID: <1992Jul21.083408.21782@panix.com>
  6. Date: 21 Jul 92 08:34:08 GMT
  7. References: <1992Jul14.190542.2045@wl.com> <818@jagubox.gsfc.nasa.gov> <WARNER.92Jul15114156@redding.etdesg.trw.com> <839@jagubox.gsfc.nasa.gov> <Conrad_Nobili-190792001549@c50mac2.harvard.edu> <1992Jul20.065639.13594@panix.com> <Conrad_Nobili-200792212445@c50mac2.ha
  8. Organization: PANIX Public Access Unix, NYC
  9. Lines: 114
  10.  
  11. Conrad_Nobili@Harvard.EDU (Conrad C. Nobili) writes:
  12. >alexis@panix.com (Alexis Rosen) wrote:
  13. >> Conrad_Nobili@Harvard.EDU (Conrad C. Nobili) writes:
  14. >> >(Why do these utilities
  15. >> >refer to what is apparently tracks as heads?
  16.  
  17. >> No idea. Are you sure of that?
  18.  
  19. >Here I was just referring again to the "nt = heads" wisdom....
  20. >We explain this later of course....  By nt we mean the number
  21. >of tracks per cylinder rather than the number of tracks per
  22. >surface....
  23.  
  24. Right. All in all, a most unclever way of expressing things.
  25.  
  26. >> msb= Most Significant Byte. lsb = ...
  27.  
  28. >Well, of course!  Drool, slobber....  But what is "Cylinders (lsb)"?
  29.  
  30. Same idea. Whatever that particular utility means by "Cylinders", it's the
  31. least sig. byte. Since large drives such as your HP or our Elite have about
  32. 2100 cylinders, you need 16-bit cylinder counts.
  33.  
  34. >> Hm, the "8 Cylinders" must mean 8 platters. With only 13 heads, and assuming
  35. >> one servo head, I don't know what the other disk would be for. Parity? I
  36. >> don't think that's it...
  37.  
  38. >Ah, see?  This is exactly the kind of thing that bugs me!
  39. >How *do* we explain that extra platter?
  40.  
  41. Not my problem. It exists. But what I wrote was right. Maybe the real
  42. explanation is an off-by-one error in your utility?
  43.  
  44. >> ns is actually number of sectors per track. The Cylinders is the number of
  45. >> tracks on all platters divided by the number of platters.
  46.  
  47. >Don't you mean "divided by the number of surfaces" there?
  48.  
  49. Yes. Sorry...
  50.  
  51. >Cylinders is then the number of tracks per surface.  Fine,
  52. >but the numbers seem rather high, no?  My 3.5" disk has a
  53. >radius of 1.75" -- let's shave a tad off for the hub, say
  54. >0.125", giving a not-very-generous quarter-inch-diameter
  55. >hub -- then 1.625" / 2051 = 0.000792296", and we get track
  56. >separation of about eight ten-thousandths of an inch.  I'm
  57. >very impressed!  Including some inter-track gap, the tracks
  58. >are *very* narrow.  This sort of thing is what led me to
  59. >believe that Cylinders was something more complex than just
  60. >the number of tracks per surface....
  61.  
  62. Nope. Modern technology, with 3.5" 1GB drives, is very slick. And getting
  63. slicker. BTW, there's not much gap.
  64.  
  65. >> So the total number of tracks is Heads (13) times Cylinders (2051), or
  66. >> 26663. And the number of sectors per track is therefore Sectors (2054864)
  67. >> divided by Tracks (26663), or 77.068, which (since it must be a whole number)
  68. >> rounds down to 77.
  69.  
  70. >Yeah, good!  That (77) is the number I had come up with too,
  71. >but I just wanted to believe it more.  I don't get much of a
  72. >warm fuzzy from the numbers behind the decimal point though.
  73. >Shouldn't *all* of the values we deal with here be natural
  74. >numbers?  Or, going the other way, if there are indeed 77
  75.  
  76. No, they shouldn't, because of ZBR technology, where there are more sectors
  77. on some tracks than on others. In non-ZBR disks, it will be a whole number.
  78.  
  79. ...except, depending on the disk, the way sectors are spared out may still
  80. fuzz that number a bit.
  81.  
  82. >blocks (sectors) per track, 2051 tracks per surface, and 13
  83. >surfaces per disk, shouldn't there be 77 * 2051 * 13 = 2053051
  84. >sectors per disk?  I detect some bogosity to the tune of
  85. >2054864 - 2053051 = 1813 sectors.  Why isn't *that* the number
  86. >returned by these SCSI utilities as the number of sectors...?!
  87.  
  88. Two reasons. The ZBR stuff, which isn't really covered by the model that
  89. we (i.e., Unix's disktab entries) use, makes the calculation wrong but "close
  90. enough", and as good as you can make it. Sparing can also mess it up a little,
  91. especially since some utilities take that into account and some don't.
  92.  
  93. >> BTW, using an rg of 0 for my Elite-1 didn't seem to help at all. This still
  94. >> puzzles me- you'd think that the track cache would obsolesce that value and
  95. >> make anything >0 a big lose. But that seems not to be the case.
  96.  
  97. >Yeah, puzzling indeed....  Have you noticed *any* differences
  98. >(positive or negative) with any different values of rg?  Or do
  99. >all values of rg give the same performance?  Which ones have
  100. >you tried and what were the results if there were differences?
  101.  
  102. There seemed to be a small negative effect when I tuned it by hand with tunefs.
  103. Didn't really try to get numbers on rg. It didn't seem worth the time,
  104. especially since I had 200 users screaming for access...
  105.  
  106. >I am usually pretty good at figuring out net acronyms the first
  107. >time I see them, but I am not sure I can get WAG.  Wondering
  108. >And Guessing, perhaps?  There, that last sentence is a WAG!
  109.  
  110. "Wild-Ass Guess" :-)
  111.  
  112. >And, no, Alexis, don't worry, I do in fact see your efforts only as
  113. >constructive.  I don't take anything badly I read on the net anyway.
  114.  
  115. >Thanks for your response.  It clears up much of what I was not
  116. >feeling comfortable with....  Anyone for the last few scraps...?
  117.  
  118. Hope that pretty much covers it.
  119.  
  120. --
  121. Alexis Rosen   Owner/Sysadmin,
  122. PANIX Public Access Unix & Internet, NYC.
  123. alexis@panix.com
  124. {uupsi,cmcl2}!panix!alexis
  125.