Bug 87683 - New port: benchmarks/thrulay: network capacity tester
Summary: New port: benchmarks/thrulay: network capacity tester
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 20:50 UTC by shalunov
Modified: 2005-10-20 20:33 UTC (History)
0 users

See Also:


Attachments
file.shar (3.37 KB, text/plain)
2005-10-19 20:50 UTC, shalunov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description shalunov 2005-10-19 20:50:14 UTC
The program thrulay is used to measure the capacity, delay, and
other performance metrics of a network by sending a bulk TCP or UDP
stream over it.

Special features of thrulay include:
* For TCP, ability to measure round-trip delay along with throughput
* For UDP, ability to measure
  - one-way delay, with quantiles
  - packet loss
  - packet duplication
  - reordering
* For UDP, the ability to send precisely positioned true Poisson streams
  (microsecond errors in sending times)
* Human- and machine-readable output (ready to be fed to gnuplot)

WWW: http://www.internet2.edu/~shalunov/thrulay/
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-10-20 18:24:02 UTC
Could you make couple little fixes to satisfy portlint -A?

-- 
Sem.
Comment 2 shalunov 2005-10-20 18:41:51 UTC
Sergey Matveychuk <sem@FreeBSD.org> writes:

> Could you make couple little fixes to satisfy portlint -A?

Didn't know about -A for portlint (the porter's guide doesn't mention
it; should it?).  Removed the full pathname for the daemon from the
pkg-message file and ``portlint -A'' is now happy (patch after
signature).

-- 
Stanislav Shalunov		http://www.internet2.edu/~shalunov/

This message is designed to be viewed at an angle of 45 degrees.




diff -ur thrulay.orig/pkg-message thrulay/pkg-message
--- thrulay.orig/pkg-message    Thu Oct 20 13:33:30 2005
+++ thrulay/pkg-message Thu Oct 20 13:38:01 2005
@@ -1,3 +1,4 @@
+The package consists of a client (thrulay) and a daemon (thrulayd).
 The thrulay client is usable immediately.  The thrulayd deamon needs to be
 started, which will happen automatically in the next boot cycle.  You may
-also start it manually by entering /usr/local/sbin/thrulayd as root.
+also start thrulayd now manually as root.
Comment 3 Sergey Matveychuk freebsd_committer freebsd_triage 2005-10-20 19:26:56 UTC
There is a problem with build on 4.11:
===>  Building for thrulay-0.8
gmake[1]: Entering directory 
`/work/a/ports/benchmarks/thrulay/work/thrulay-0.8/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory 
`/work/a/ports/benchmarks/thrulay/work/thrulay-0.8/doc'
gmake[1]: Entering directory 
`/work/a/ports/benchmarks/thrulay/work/thrulay-0.8/src'
cc -DHAVE_CONFIG_H -O -pipe  -I.. -std=gnu99 -Wno-long-long -Wall 
-pedantic -W -Wpointer-arith -Wnested-externs   -c -o assertd.o assertd.c
cc1: unknown C standard `gnu99'
gmake[1]: *** [assertd.o] Error 1
gmake[1]: Leaving directory 
`/work/a/ports/benchmarks/thrulay/work/thrulay-0.8/src'
gmake: *** [all] Error 2
*** Error code 2

No problem with 5.4 and 6.0.
It can be fixed with USE_GCC.

-- 
Sem.
Comment 4 shalunov 2005-10-20 19:43:37 UTC
Sergey Matveychuk <sem@FreeBSD.org> writes:

> There is a problem with build on 4.11:
> cc1: unknown C standard `gnu99'
> No problem with 5.4 and 6.0.
> It can be fixed with USE_GCC.

I have no 4.x machine to try this on, but I expect that, as you
suggest, the following patch should solve this.  Sorry about my
inability to test on 4.x.

diff -u Makefile.orig Makefile
--- Makefile.orig       Wed Oct 19 15:33:10 2005
+++ Makefile    Thu Oct 20 14:39:16 2005
@@ -17,6 +17,7 @@
 MAN1=          thrulay.1
 MAN8=          thrulayd.8
 MANCOMPRESSED= no
+USE_GCC=       3.2+
 HAS_CONFIGURE= yes
 USE_GMAKE=     yes
Comment 5 Sergey Matveychuk freebsd_committer freebsd_triage 2005-10-20 20:33:04 UTC
State Changed
From-To: open->closed

New port added, thanks!