home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6991 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!ods!david
  3. From: david@ods.com (David Engel)
  4. Subject: Re: find 3.7 and fileutils 3.3 uploaded
  5. Message-ID: <1992Jul29.210622.5397@ods.com>
  6. Organization: Optical Data Systems, Inc.
  7. X-Newsreader: Tin 1.1 PL4
  8. References: <1992Jul29.193543.1119@crd.ge.com>
  9. Date: Wed, 29 Jul 1992 21:06:22 GMT
  10. Lines: 27
  11.  
  12. davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
  13. :   BTW: how much os a hit does the library take on using the jump table?
  14. : Between the extra level of indirect, dumping the cache and pipeline
  15. : twice as often, and paging on small systems, this looks like a potential
  16. : 5% increase in clock time. Do you have numbers? I see people taking the
  17.  
  18. The very rough measurements I did a couple of months ago showed a hit of
  19. about 2-4%.  The programs I tested were mostly I/O bound and the method
  20. I used to time them was rather crude though, so I don't know how realistic
  21. those numbers are.  If someone has any compute bound programs that exercise
  22. libc, I like to know about it so I can try them.
  23.  
  24. :   Note, I'm looking for clarification rather than saying "this is bad."
  25. : My guess of what it adds to small systems calls could be way off, etc.
  26. : I'm well aware of the benefits of jump tables, just concerned about
  27. : possible performance costs. Maybe the only hit is the extra pieline
  28. : dump, I suspect the table would be memory, if not in cache, all the
  29. : time.
  30.  
  31. Yes, if all or most all progarms use the jump-table libs (like they do on
  32. my system :), the jump-table would almost always be in memory.
  33.  
  34. David
  35. -- 
  36. David Engel                        Optical Data Systems, Inc.
  37. david@ods.com                      1101 E. Arapaho Road
  38. (214) 234-6400                     Richardson, TX  75081
  39.