Commit Graph

588 Commits

Author SHA1 Message Date
Bruce A. Mah
487ee8102f
Update automake infrastructure for 1.14, to match what we build
against.
2014-06-11 13:56:54 -07:00
Bruce A. Mah
d73969bddf Update release notes and known issues on mainline. 2014-06-11 13:41:42 -07:00
Bruce A. Mah
b3903f4ca2 Revert "Explicitly run ldconfig after "make install"."
This reverts commit 72d410561e.
2014-06-11 13:25:19 -07:00
Bruce A. Mah
23c1008132 Be more tolerant of certain autoconf-defined variables not being
available.

This can happen if needing to regenerate the autoconf goop on an
older system (such as CentOS 6), where PACKAGE_URL doesn't get
defined.
2014-06-11 12:01:35 -07:00
Bruce A. Mah
ad98a8feba Update config/missing to a newer version that works with newer autoconf. 2014-06-11 11:37:25 -07:00
Bruce A. Mah
265c54a01f
Fix programming misteak.
Part of issue #160, pointed out by @i2aaron.
2014-06-11 09:55:31 -07:00
Bruce A. Mah
7ec1cbe0c8 Update URLs and other references to downloads to point to downloads.es.net. 2014-06-10 16:05:33 -07:00
Bruce A. Mah
c5e1205e49
Fix build on Fedora 21.
An open(2) call had two arguments instead of the required three.
While here, replace a hard-coded mode in a different open(2) call
with symbolic constants for readability.

Fixes #183.

Submitted by @ssahani.
2014-06-09 13:41:30 -07:00
Bruce A. Mah
2aed949ece
Regen. 2014-06-09 10:20:47 -07:00
Bruce A. Mah
552e943a65
Consolidate multiple (not current) copies of the author list into
the GitHub Pages documentation and attempt to make current.
2014-06-09 10:18:50 -07:00
Bruce A. Mah
ba8d6e6246
Implement a --get-server-output flag that allows the client to
retrieve (most of) the output emitted by the server.

If the server was invoked with the --json flag, the output will be in
JSON, otherwise it will be in the human-readable format.

If the client was invoked with the --json flag, the output will be
contained within the JSON output structure, otherwise it will be
appended (in whatever format) to the bottom of the human-readable
output.

Because of the sequencing of the output generation and display, the
server-side output includes only the starting output, interval
statistics and summaries, but not the overall summaries.  (The overall
summaries were already displayed in the client's output.)

Towards issue #160.
2014-06-05 09:48:55 -07:00
Bruce A. Mah
c110a92d08 Programs using definitions from iperf_config.h (in particular
HAVE_STDINT_H) need to include that header.

Aftermath of #174.
2014-05-19 15:33:38 -07:00
Bruce A. Mah
b506d6790c Regen. 2014-05-19 15:23:20 -07:00
Bruce A. Mah
94c0bfffcb Another try at portability. Don't do -Werror. While probably
the best thing to do from a code hygeine standpoint, it's too
painful to try to get right for now.

Fixes #174 (second try).
2014-05-19 15:22:08 -07:00
Bruce A. Mah
99b5861c22
Regen. 2014-05-19 15:04:25 -07:00
Bruce A. Mah
8de51b589f
Portability fixes for Solaris Sun Studio and MacOS.
Only do -Wall by default if on GCC (or something that looks like
GCC, such as clang/llvm).

Turn on -Werror so we can get some better error-checking, but
we also need -Wno-deprecated-declarations at least for MacOS,
because daemon(3) is deprecated starting with MacOS 10.5.

Fixes #174 (I think).

Submitted by:	@marksolaris
2014-05-19 15:02:02 -07:00
Bruce A. Mah
426221a327
Check HAVE_STDINT_H before trying to include <stdint.h>.
Partial fix for compilation on some Solaris versions.  Fixes #175.

Submitted by:	@marksolaris
2014-05-19 10:15:36 -07:00
Bruce A. Mah
df1a7a2194
Regen. 2014-05-12 15:50:20 -07:00
Bruce A. Mah
72d410561e Explicitly run ldconfig after "make install".
This might address Issue #153.
2014-05-12 15:48:49 -07:00
Bruce A. Mah
aac3bd9e45 Merge branch 'master' of github.com:/esnet/iperf 2014-05-12 14:28:36 -07:00
Bruce A. Mah
ef3eae69bf
Add reverse member to start.test_start JSON, which is 1 in --reverse mode.
This lets us tell easily from the JSON output whether a test was run in
--reverse mode or not.  Resolves #167 (one comment made in that issue
anyway).
2014-05-12 14:27:01 -07:00
Bruce A. Mah
c8a98bd371
Increase maximum test running time to 1 day.
Fixes #166.
2014-05-09 14:08:05 -07:00
Bruce A. Mah
daff72b682
Add PACKAGE_URL to help message. 2014-05-05 15:32:57 -07:00
Bruce A. Mah
4318163373
Point to GitHub Pages. 2014-05-05 15:28:05 -07:00
Bruce A. Mah
dfdb6a1930 Merge pull request #162 from carlsborg/master
fix has_sendfile ifdef, use the correct defined constant
2014-05-05 11:15:22 -07:00
carlsborg
78525e4629 fix sendfile ifdef check 2014-05-05 04:00:46 +01:00
Bruce A. Mah
81dbb9e2e1 More consistent documentation for the statistics gathering and
printing functions.
2014-05-02 12:41:07 -07:00
Bruce A. Mah
f9820fd6c0 Fix a comment. 2014-05-02 12:10:43 -07:00
Bruce A. Mah
66d0095175 Update release engineering checklist for autotools / libtool policy
change in #161.
2014-05-02 11:35:59 -07:00
Bruce A. Mah
6edfd8d65c
Use AM_MAINTAINER_MODE and regenerate autotools / libtool goop
using recent versions.

Resolves #161.
2014-05-02 11:32:12 -07:00
Bruce A. Mah
b957be432e Update known issues for #55, #125, and #129. 2014-05-01 13:32:45 -07:00
Bruce A. Mah
e4e22a58a7 Revise documentation of UDP performance issues based on recent
experiments.

Fixes Issue #55 (at least to the extent that it's not really an
iperf3 issue).
2014-05-01 13:18:53 -07:00
Bruce A. Mah
6b16244baa Make sockets for non-UDP tests non-blocking (rather than all sender
side sockets).  This is reported to fix some oddities after a recent
change in this area.

Somewhat related to Issue #125.

Submitted by:	@i2aaron
2014-04-25 13:23:13 -07:00
Bruce A. Mah
f8401dfb3a Take out some debugging goop. 2014-04-25 13:11:15 -07:00
Bruce A. Mah
bf219a4d51 Fix a problem where CPU time was computed wrong.
This definitely affected FreeBSD, which breaks POSIX.1 by not
setting CLOCKS_PER_SEC to 1000000 (see clock(3)).  At this point
I can't tell if any other platforms were affected by this.
2014-04-25 12:50:15 -07:00
Bruce A. Mah
5069cc1329 src/version.h is generated now so make git ignore it. 2014-04-25 12:32:16 -07:00
Bruce A. Mah
fa2752296a Regen. 2014-04-24 10:25:36 -07:00
Bruce A. Mah
d141c52dab Get the iperf version number from autoconf, don't track the tagging date.
These simplify the release process because they eliminate a manual
file-editing step.
2014-04-24 10:23:31 -07:00
Bruce A. Mah
c5c3d86ca8 Make iperf built from master have a distinct version number string. 2014-04-24 10:19:13 -07:00
Bruce A. Mah
cbacc1d670
Only set sockets to non-blocking mode on the sending side of the
transfer.

Note that the sender can either be the client or the server depending
on whether --reverse is used.

This fixes some problems with UDP transfers getting severely confused
and (wrongly) complaining about packets arriving out of order.

Related to issue #125.
2014-04-23 15:01:27 -07:00
Bruce A. Mah
e7841b0f92
s/esnet.github.io/software.es.net/ 2014-04-22 10:46:31 -07:00
Bruce A. Mah
ab00852fe1 Merge pull request #158 from esnet/features/issue-125
Fix rookie C mistake committed in revision d076653b as part of
2014-04-22 10:23:28 -07:00
Bruce A. Mah
721ffc1bc5 Fix rookie C mistake committed in revision d076653b as part of
Issue #99.

This caused random output to be displayed on the client's stdout in
--json mode.

Pointed out by:	@bltierney
Pointy hat to:	@bmah888
2014-04-22 10:09:00 -07:00
Bruce A. Mah
54f2264730 Merge branch 'features/issue-125' 2014-04-17 12:14:58 -07:00
Bruce A. Mah
bead6a8b52 Revision 081ba8e seems to have addressed Issue 125, so remove this from
the set of known issues.
2014-04-17 11:11:19 -07:00
Bruce A. Mah
32f50a2c1c
Add a note about (maybe) needing to do ldconfig after make install
on Ubuntu.  This is a workaround for Issue #153.
2014-04-17 08:48:28 -07:00
Bruce A. Mah
081ba8e4e9
Commit a version of the patch for #125 for testing.
Originally submitted by:	@i2aaron
2014-04-16 16:23:13 -07:00
Bruce A. Mah
9ac254da7d Fix build on systems without sendfile(2).
Tested on:	OpenBSD 5.4
2014-04-15 02:51:54 -07:00
Bruce A. Mah
de542356af Regen. 2014-04-14 14:49:39 -07:00
Bruce A. Mah
7f6360334d
Fix potential compile error observed on MacOS 10.8. 2014-04-14 14:45:09 -07:00