File: README.bindbench

package info (click to toggle)
gatling 0.12cvs20120114-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,184 kB
  • sloc: ansic: 23,538; makefile: 139; sh: 71; perl: 30
file content (12 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
bindbench will create many sockets and then bind them to port 0 (i.e.
tell the operating system to assign a free port to them).

Ideally, this should be a constant time operation, but some
implementations may implement selecting the smallest free port by
traversing a list or array.

On i386, bindbench will read the task cycle counter instead of
gettimeofday and give the results in CPU cycles, not usec.  You can
divide the numbers by the CPU frequency to get comparable numbers.  As
there is no portable way to get the CPU frequency, bindbench does not
even pretend to do this.