Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2007 01:12:36 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-performance@freebsd.org
Subject:   Re: network perf : em driver ?
Message-ID:  <eo985s$ncb$1@sea.gmane.org>
In-Reply-To: <465799.40884.qm@web30312.mail.mud.yahoo.com>
References:  <eo8a9o$4bm$1@sea.gmane.org> <465799.40884.qm@web30312.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA2F99F5C0D6F59185852A690
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

R. B. Riddick wrote:
> --- Ivan Voras <ivoras@fer.hr> wrote:

>> I've found iperf to be more useful.
>>
> Soso... Was it slower? Or what?

List of options for tcpblast:

> tcpblast
usage: tcpblast [-4] [-6] destination nblkocks
blocksize: 1024 bytes 0

List of options for iperf:

> iperf --help
Usage: iperf [-s|-c host] [options]
       iperf [-h|--help] [-v|--version]

Client/Server:
  -f, --format    [kmKM]   format to report: Kbits, Mbits, KBytes, MBytes=

  -i, --interval  #        seconds between periodic bandwidth reports
  -l, --len       #[KM]    length of buffer to read or write (default 8 K=
B)
  -m, --print_mss          print TCP maximum segment size (MTU - TCP/IP
header)
  -p, --port      #        server port to listen on/connect to
  -u, --udp                use UDP rather than TCP
  -w, --window    #[KM]    TCP window size (socket buffer size)
  -B, --bind      <host>   bind to <host>, an interface or multicast addr=
ess
  -C, --compatibility      for use with older versions does not sent
extra msgs
  -M, --mss       #        set TCP maximum segment size (MTU - 40 bytes)
  -N, --nodelay            set TCP no delay, disabling Nagle's Algorithm
  -V, --IPv6Version        Set the domain to IPv6

Server specific:
  -s, --server             run in server mode
  -U, --single_udp         run in single threaded UDP mode
  -D, --daemon             run the server as a daemon

Client specific:
  -b, --bandwidth #[KM]    for UDP, bandwidth to send at in bits/sec
                           (default 1 Mbit/sec, implies -u)
  -c, --client    <host>   run in client mode, connecting to <host>
  -d, --dualtest           Do a bidirectional test simultaneously
  -n, --num       #[KM]    number of bytes to transmit (instead of -t)
  -r, --tradeoff           Do a bidirectional test individually
  -t, --time      #        time in seconds to transmit for (default 10 se=
cs)
  -F, --fileinput <name>   input the data to be transmitted from a file
  -I, --stdin              input the data to be transmitted from stdin
  -L, --listenport #       port to recieve bidirectional tests back on
  -P, --parallel  #        number of parallel client threads to run
  -T, --ttl       #        time-to-live, for multicast (default 1)

Miscellaneous:
  -h, --help               print this message and quit
  -v, --version            print version information and quit

iperf's more useful to me because it can do more and has more tunables.
Some of the more useful ones are twiddling Nagle's algorithm and setting
TCP window size.


--------------enigA2F99F5C0D6F59185852A690
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFqCP6ldnAQVacBcgRAvluAKDZCK6aOs2XPF8vP1MAcdlnbgHLvwCfe52Y
GSYka/3KWKeBlNgQGYlhlj0=
=ibVl
-----END PGP SIGNATURE-----

--------------enigA2F99F5C0D6F59185852A690--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eo985s$ncb$1>