README.hpux
Upload User: kvgkvg
Upload Date: 2015-05-07
Package Size: 1129k
Code Size: 2k
Development Platform:

C/C++

  1. A note about CPU utilization...
  2. For HP-UX 11.0 <= system < 11.23 the configure script will select the
  3. "pstat" CPU utilization mechanism.  This mechanism is the familiar
  4. HP-UX idle counter mechanism (for all incense and porpoises) and
  5. requires calibration.  See src/netcpu_pstat.c for all the details.
  6. For HP-UX 11.23 >= system, the configure script will select the
  7. "pstatnew" CPU utilization mechanism.  11.23 adds cycle counts for
  8. user, kernel and interrupt modes to the idle cycle counter.  As such,
  9. it _should_ be possible to simply take the sum of the four and the
  10. fractions and know how much time was spent in each mode.
  11. HOWEVER... there is a bug in the accounting for interrupt cycles,
  12. where interrupt cycles go missing.  SOOO, since there is an accurate
  13. way to know what the total number of cycles should have been over the
  14. interval, and we know (ass-u-me) that the idle cycle counter is good
  15. (since the pstat mechanism has tested that one OK), we will take the
  16. ratio of idle to total cycles to compute CPU util.  
  17. We will still calculate fractions for user, kernel and interrupt, and
  18. report them in debug (-d) output, but with a warning for interrupt
  19. time.  See src/netcpu_pstatnew.c for all the details.
  20. Up through HP-UX 11.23 (aka 11iV2) if you enable burst mode, and
  21. happen to send sub-MSS requests and/or responses you _cannot_ assume
  22. that the packet per second rate on the wire will match the transaction
  23. per second rate reported by netperf, even if you set TCP_NODELAY with
  24. the test-specific -D option.  The HP-UX 11.X TCP stack likely will be
  25. generating some immediate 'standalone' ACKnowledgements which may not
  26. be generated by other stacks.  This has been reported to the HP-UX TCP
  27. folks, and an announcement will be made when that issue is resolved.