home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / bit / listserv / sasl / 5593 < prev    next >
Encoding:
Text File  |  1993-01-12  |  3.6 KB  |  73 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.ysu.edu!psuvm!auvm!VCUMVS.BITNET!RIKARD
  3. Message-ID: <SAS-L%93011217190531@VTVM2.CC.VT.EDU>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Tue, 12 Jan 1993 17:19:05 -0500
  6. Reply-To:     RIKARD@VCUMVS.BITNET
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         RIKARD@VCUMVS.BITNET
  9. Subject:      REAL vs CPU Time
  10. Lines: 61
  11.  
  12. O boy, o boy, o boy!!!! We are doing benchmarking again.
  13.  
  14. Sorry, I just couldn't pass it up.
  15.  
  16. User response time is a really good measure. It is real important to
  17. the user and fairly understandable. "I started this stuff and got
  18. back an answer real quick like."
  19.  
  20. Quantifying user response time is real difficult. SAS appears
  21. to be reporting as REAL TIME the amount of wall clock time that
  22. elapsed from beginning to end of the SQL or DATA step. If you
  23. are running standalone (you and only you are using the machine)
  24. (the SAS task, the one and only task used by you running alone)
  25. then REAL TIME is it. If you are using a machine that has any
  26. multi-use capability then REAL TIME is only real for this run,
  27. this day, this time. CPU time becomes a much better measure
  28. for comparison purposes. Note that from the messages sent so far,
  29. we don't know whether either system used is multi-tasking, so
  30. I have no way of judging whether the measures are useful or not.
  31.  
  32. Claiming that SQL is better than the data step is also very
  33. system dependent. If I have two datasets that are indexed
  34. AND have memory to hold both indexes AND the index happens to be
  35. the selection criteria then an SQL table match should run much
  36. faster than the equivalent one-by-one match merge process
  37. in a datastep. If one of the ANDs isn't true then my wonderful
  38. superquick SQL may become very slow.
  39.  
  40. My favorite benchmark is the test stream sent with sas/pc 6.02.
  41. Add a data step at the beginning to capture current wall clock
  42. time and one at the end to capture wall clock time again
  43. and subtract the two and Bingo I have user response time. I
  44. can run this on various machines and get response time. I can
  45. run it on a multi-use machine in busy and non-busy times and
  46. get guesstimates for response time. It uses Base and Stat and
  47. nothing else as I recall, so it runs on most SAS installations
  48. that I see. The only problem is it is too short for newer faster
  49. machines. But it was very useful to tune SAS on pc sized
  50. machines (co-processor, disk speed, ram caches, ems memory,...)
  51. trying to find the best general response time. BUT it
  52. was only A measure that was sometimes useful.
  53.  
  54. A test suite for SAS that provided useful measures would be
  55. a large number of SAS things that test CPU, memory, disk,
  56. math co-processor response characteristics and report a large
  57. number of statistics. This would have to be tightly allied
  58. with the machine characteristics (size of disk, memory, bus speed)
  59. to produce a large table. Then you would need a lot of time
  60. to try to interpret the information. (and I don't personally
  61. think it would be useful information).
  62.  
  63. I used to say send flames to Bob Hamer and sensible reponses to
  64. me, but Bob asked me not to do that. So send flames to me (not to
  65. SAS-L) and useful remarks to me or SAS-L.
  66.  
  67. ******************************************************************
  68.  Pete Rikard                        Bitnet RIKARD@VCUMVS
  69.  VCU Computer Center                Phone (804) 786-4828
  70.  110 S. 7th St, 4th Floor           FAX (804) 371-8464
  71.  Richmond, VA 23219                 Internet rikard@vcuucc.ucc.vcu.edu
  72. ******************************************************************
  73.