Bruce A. Mah
8d1388a3b8
Fix a logic bug in JSON output where default MSS was output as 0.
2013-12-19 11:33:38 -08:00
Jef Poskanzer
f11d3fa332
Added -k / --blockcount.
2013-12-19 10:31:22 -08:00
Bruce A. Mah
c2cb7b7520
Remove some (commented out) debugging code accidentally left in.
2013-12-19 09:27:12 -08:00
Jef Poskanzer
3f4d657209
Added note to -h output for -b flag's burst mode.
2013-12-18 20:56:21 -08:00
Brian Tierney
87f4ff6fc4
merging
2013-12-18 15:28:30 -08:00
Brian Tierney
849fc85a72
updated for 3.0.0 release
2013-12-18 15:23:16 -08:00
Bruce A. Mah
ae3ea78645
Branch merge.
2013-12-18 15:15:43 -08:00
Jef Poskanzer
6a00b2dfdd
Branch merge.
2013-12-18 15:12:43 -08:00
Jef Poskanzer
89c05f5e9d
Branch merge.
2013-12-18 15:10:01 -08:00
Bruce A. Mah
5cdc6a4ac8
Keep track of SACKs and snd_cwnd from tcp_info (Linux only for now).
...
Committing this WIP so we can get some experimentation done with it.
2013-12-18 15:09:46 -08:00
Brian Tierney
05dfd3b32f
added instructions on bootstrap.sh
2013-12-18 15:08:35 -08:00
Jef Poskanzer
10e7a31811
Branch merge.
2013-12-18 15:08:20 -08:00
Bruce A. Mah
ee670372a9
Branch merge.
2013-12-18 14:48:11 -08:00
Bruce A. Mah
cfe8c5fb47
Make "iperf3 -s" accept both IPv4 and IPv6 connections on FreeBSD.
...
(Formerly it was just accepting IPv6.)
The problem here was that FreeBSD by default wasn't allowing IPv4
mapped addresses on IPv6 sockets, whereas other platforms
(specifically Linux and OS X) both do permit this. We tried to turn
on mapped addresses via a setsockopt(IPV6_V6ONLY) call, but this call
was broken because the level argument was incorrect. We didn't know
about this because we never checked the return value.
Fix this by providing the correct argument to setsockopt(). Add some
error checking to this and one other setsockopt() call, so we at least
don't fail silently in similar situations.
Issue: 126 (FreeBSD: iperf3 -s only accepts IPv6
connections)
2013-12-18 14:43:12 -08:00
Jef Poskanzer
db446fa66e
Branch merge, I think because I forgot to pull before pushing.
2013-12-17 16:15:07 -08:00
Jef Poskanzer
bdf5335c2b
Added burst mode.
2013-12-17 16:12:24 -08:00
Bruce A. Mah
a45a0d37b4
Mention -D, -C, -L in release notes.
...
These go to a new section that might be merged with the prior 3.0.0
section pending a release engineering discussion.
Also fix a typo: s/vebose/verbose/
2013-12-16 10:15:32 -08:00
Jef Poskanzer
62bfa88ceb
Added -C / --linux-congestion.
...
Also a few other bugfixes I ran across.
2013-12-13 19:57:52 -08:00
Jef Poskanzer
adec7fe48b
Re-order one line to clarify code.
2013-12-12 12:09:42 -08:00
Jef Poskanzer
950f6c8f59
Better error checking in net.c
2013-12-12 12:07:17 -08:00
Jef Poskanzer
fdcbd49578
Check return from tmr_create in timer test.
2013-12-12 12:04:11 -08:00
Bruce A. Mah
0193ee1881
Commit a file addition I forgot in 2ad1efdb977e.
2013-12-12 09:32:15 -08:00
Bruce A. Mah
d04c7bd0a4
Support setting the IPv6 flow label on Linux systems (only).
...
This functionality uses some setsockopt(2) calls that unfortunately
don't seem to have an analog on other platforms.
Slightly tweaked version of a patch that was...
Submitted by: ssahani@redhat.com
Issue: 40 (Option for setting Flow Label field in IPv6
header)
2013-12-12 09:21:36 -08:00
Jef Poskanzer
c8a0a2229d
Added a check for malloc fail.
...
Eventually we need to add a whole bunch more of these.
2013-12-12 08:15:15 -08:00
Jef Poskanzer
b70c54055f
Fixed t_units.c so that 'make check' once again works.
2013-12-09 17:52:59 -08:00
Jef Poskanzer
c06bc78c65
Fixed initialization issue.
...
It was causing the server side to mess up after the first test.
2013-12-05 12:00:46 -08:00
Jef Poskanzer
a4c1383a77
Fixed bug where -R mode selected on a closed file.
...
Also added a debugging routine to dump an fd_set.
2013-12-05 08:49:27 -08:00
Brian Tierney
e42991a717
added explaination of 'typical' mode vs 'extreme performance' mode
2013-12-04 13:59:06 -08:00
Jef Poskanzer
95360b2046
Show UDP stats in interval reports.
...
To the extent possible, anyway - on the sender side,
only the packet counts are available.
Also a few minor bug fixes.
2013-12-04 09:16:37 -08:00
Jef Poskanzer
e41823c46b
Pushing out merge of inadvertent branch.
2013-12-02 09:55:48 -08:00
Bruce A. Mah
adbc1f4860
Document the recently-added -D / --daemon flag from changeset
...
4a9b814c16e6.
2013-12-02 09:38:13 -08:00
Jef Poskanzer
ba123d5c1e
Use setitimer() instead of alarm().
...
This lets us check timers every tenth second instead of every second,
so we can switch out of the more expensive select() mode even with
the default reporting interval of a second.
2013-11-29 08:58:51 -08:00
Bruce A. Mah
fe4a13ab4d
Support daemonizing with -D flag.
...
Possible related work still under consideration:
o Use syslog in daemon mode for output that would normally go to
stdout / stderr.
o Write a PID file.
This is basically the gist of Issue 105.
2013-11-26 15:40:19 -08:00
Jef Poskanzer
ace30a641e
Fix server-side timers.
2013-11-26 15:14:07 -08:00
Jef Poskanzer
056361fc5d
Show user/system CPU usage as well as total.
2013-11-26 14:47:15 -08:00
Bruce A. Mah
fba44572d7
Fix minor typo.
2013-11-26 11:06:00 -08:00
Jef Poskanzer
ba7b91d26e
Changed bug report email to google code link.
...
Also bumped package id from 3.0a4 to 3.0a5.
This changeset consists of a one-line edit to configure.ac, plus
about fifty kilolines of diffs to a bunch of other config files
generated by bootstrap.sh.
2013-11-26 10:07:32 -08:00
Jef Poskanzer
96feeac5a4
Performance improvement - only put socket fd's into the appropriate
...
fdset, not into both sets.
2013-11-25 11:13:28 -08:00
Jef Poskanzer
979405373d
When receiving a disk file with the -F flag, do an fsync() after each write().
2013-11-25 09:57:50 -08:00
Jef Poskanzer
7bcbb1f653
Performance improvements.
2013-11-15 09:54:21 -08:00
Jef Poskanzer
37ba3f73dd
Simplified output formatting.
2013-11-12 08:58:00 -08:00
Jef Poskanzer
b47e9f6a66
Couple of improvements to the report format.
2013-11-11 12:16:38 -08:00
Jef Poskanzer
a98b10bf91
Get rid of compiler warning.
2013-11-11 11:38:52 -08:00
Jef Poskanzer
d1405717cd
Redid the CPU Utilization report so it shows sender/receiver as
...
well as local/remote.
2013-11-11 11:37:07 -08:00
Jef Poskanzer
558c9b8013
Moved a bunch more output strings to locale.[hc].
2013-11-11 11:18:46 -08:00
Brian Tierney
55ace3e28b
updates for 3.0 release
2013-11-10 09:37:10 -08:00
Jef Poskanzer
5348f76aa9
Typo in test code.
2013-11-09 14:26:01 -08:00
Jef Poskanzer
32ebd649b3
Fixed some memory & fd leaks in error cases of various network setup
...
routines.
2013-11-09 14:23:36 -08:00
Jef Poskanzer
0e60ef1f9c
Get rid of some compiler warnings about iprintf.
2013-11-08 21:19:59 -08:00
Jef Poskanzer
d38ab4c8df
Added the -T / --title flag.
2013-11-08 20:31:19 -08:00