home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8607 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.7 KB

  1. Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!ariel!davidsen
  2. From: davidsen@ariel.crd.GE.COM (william E Davidsen)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Jumptable Performance (Was: Re: shared libs - can everyone be happy with this?)
  5. Message-ID: <1992Aug19.125541.865@crd.ge.com>
  6. Date: 19 Aug 92 12:55:41 GMT
  7. References: <1992Aug17.144719.1961@crd.ge.com> <1992Aug17.151311.29507@ods.com> <NOP.92Aug17135014@theory.Mankato.MSUS.EDU> <1992Aug18.080437.3944@fys.ruu.nl> <1992Aug18.140858.3484@crd.ge.com> <1992Aug18.154149.26416@fys.ruu.nl>
  8. Sender: usenet@crd.ge.com (Required for NNTP)
  9. Reply-To: davidsen@crd.ge.com (bill davidsen)
  10. Organization: GE Corporate R&D Center, Schenectady NY
  11. Lines: 19
  12. Nntp-Posting-Host: ariel.crd.ge.com
  13.  
  14. In article <1992Aug18.154149.26416@fys.ruu.nl>, hooft@fys.ruu.nl (Rob Hooft) writes:
  15.  
  16. | Yes, that is what I expect too, but I didn't expect the usertime to go
  17. | down at all, certainly not by over 0.5 seconds. We're talking a
  18. | program here that runs for 25 hard CPU-seconds! I'll be timing again
  19. | this evening, and might even retry the BYTE-bench this time. Twice,
  20. | that is. I guess I'll be using jump-libs for the rest of my linux-life....
  21.  
  22.   Like most things which seem too good to be true, I'm suspicious. Does
  23. anyone have an explanation why adding size and instructions to every
  24. library call would make the program use less user CPU (or appear to)?
  25. Having used jump tables before I have to be suspicious.
  26.  
  27.   If more instructions and bigger size really improved performance we'd
  28. all leave -O off our compiles, right. Therefore it's an interesting
  29. little puzzle.
  30. -- 
  31. bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
  32.     I admit that when I was in school I wrote COBOL. But I didn't compile.
  33.