home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / arch / 9387 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  5.4 KB

  1. Xref: sparky comp.arch:9387 comp.lang.misc:3050
  2. Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!orstcs!orstcs!usenetusenet
  3. From: crowl@jade.CS.ORST.EDU (Lawrence Crowl)
  4. Newsgroups: comp.arch,comp.lang.misc
  5. Subject: Re: Goals, Cost, and Flexibility (was Re: "Training" of programmers)
  6. Message-ID: <1992Sep13.033602.3708@CS.ORST.EDU>
  7. Date: 13 Sep 92 03:36:02 GMT
  8. Article-I.D.: CS.1992Sep13.033602.3708
  9. References: <Bu5qD3.GAM@mentor.cc.purdue.edu> <1992Sep11.184744.19329@CS.ORST.EDU> <BuFK3y.3H5@mentor.cc.purdue.edu>
  10. Sender: usenet@CS.ORST.EDU
  11. Organization: Oregon State University, Corvallis Oregon
  12. Lines: 91
  13. Nntp-Posting-Host: jade.cs.orst.edu
  14.  
  15. In article <BuFK3y.3H5@mentor.cc.purdue.edu>
  16. hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
  17. >In article <1992Sep11.184744.19329@CS.ORST.EDU>
  18. crowl@jade.CS.ORST.EDU (Lawrence Crowl) writes:
  19. >>Only costly when making simplistic comparisons.  If the lack of square root
  20. >>hardware increases my run time from 10 seconds to 10.0001 seconds (which is
  21. >>probably realistic for many if not most program runs), it is _not_ costly.
  22. >
  23. >If the increase is that small, not even very many divisions are likely to 
  24. >be done.  If one is only interested in the characteristic roots and a 
  25. >few characteristic vectors, the most commonly used method at this time,
  26. >the QR algorithm, would spend most of its time in computing square roots.
  27. >At best, it spends a fair amount in that operation.
  28.  
  29. I've been computing for 17 years, and in all that time I don't think I've
  30. done characteristic roots more than a couple of times.  My sister has been
  31. word processing, spread-sheeting, etc. for six years, and I don't think she's
  32. ever done a characteristic root.  So, 23 years of computing, 2 roots.  You
  33. could increase the cost of those roots by two orders of magnitude and I
  34. wouldn't remember or care about the time.  Under these circumstances, the
  35. designers made the right decision in not making me pay for this hardware.
  36.  
  37. >>>Bit vectors do not necessarily start on a word, or even a byte, boundary,
  38. >
  39. >>Yes, but if only one in a million don't, supporting non-aligned bit vectors
  40. >>probably isn't cost effective.
  41. >
  42. >"Natural" programming on the CYBER 205 would have at least an appreciable
  43. >portion of bit vectors unaligned, if not most.  Now there are ways of 
  44. >reprogramming to avoid some of this, but very definitely not all.  This
  45. >programming requires more than a knowledge of HLLs.
  46.  
  47. Show me an application (or set of applications) in which non-alligned bit
  48. vectors matter.  Then show me that those applications constitute a significant
  49. fraction of the computing market.  Then people will listen.
  50.  
  51. Incidently, citing architectures that are no longer cost effective only
  52. weakens your claim.
  53.  
  54. >>My experience indicates that the cost to deliver a working solution to
  55. >>_almost_any_ problem is cheaper in software than hardware.  Consider the
  56. >>cost of building a working multiplier versus the cost of writing an
  57. >>iterative adding subroutine.  I invite you to provide _evidence_ that your
  58. >>claim is true.
  59. >
  60. >But the building of the multiplier is done once, and the adding subroutine is
  61. >run billions of times.  Ask a designer how much more it would cost to put in
  62. >fixed multiplication with the accuracy of floating at the time it was being
  63. >built.  Every floating point unit essentially contains a fixed point unit
  64. >inaccessible to the user.
  65.  
  66. Before you were talking about the cost of design.  Now you wish to talk about
  67. the cost of use.  They are different.  I grant you that someone that does many
  68. integer multiplies will get better performance, probably even better
  69. cost-performance out of an integer multiplier.  However, you are not all
  70. customers.  If you are the only customer that wants that hardware, it'll cost.
  71.  
  72. Are you abandoning your claim that design is cheaper in hardware than software?
  73.  
  74. >>What you meant to say is "its easier for me if the hardware designers gave me
  75. >>exactly what I wanted".
  76. >
  77. >It is also easier for the number theorists, signal processing people, and
  78. >anyone who does not rely on cheap inefficient packages, which frequently are
  79. >so bad that the roundoff, undetected, gives highly erroneous results.
  80.  
  81. If you are saying that current packages are poorly implemented and that you
  82. can do better.  Show us.  Write one up and release it to the market.
  83.  
  84. If you care to argue that computer architects are inadequately supporting an
  85. important (and profitable) application area, then do so.  Show us how design
  86. feature F costs C and gives benefit B.  Don't run around telling everyone that
  87. designs architectures or programming languages that they're stupid.  We're
  88. not.  We just have a more practical assessment of the value of those feature
  89. _to_the_market_as_a_whole_ than you appear to have.
  90.  
  91. I think that in many ways current computer architecures don't support
  92. arithmetic to the level that is desirable.  One of my students and I are
  93. working on this problem now.  Note however that we are working on the problem
  94. and not moaning on the net.
  95.  
  96. Posts of the form "here's an idea, what do you think?" are great.  Those are
  97. why this net is useful.  Posts of the form "if I had this architectural
  98. feature, I could do these things this much more efficiently" are wonderful.
  99. An architect may agree and do it.  Posts of the form "you guys are stupid" are
  100. not welcome.
  101.  
  102. -- 
  103.   Lawrence Crowl        503-737-2554    Computer Science Department
  104.                crowl@cs.orst.edu    Oregon State University
  105.           ...!hplabs!hp-pcd!orstcs!crowl    Corvallis, Oregon,  97331-3202
  106.