Commit graph

681 commits

Author SHA1 Message Date
adam
aa5dd38696 Changes 2.6.0:
*) Initial pass at support for --enable-intervals (WANT_INTERVALS) for
   Windows, courtesy of Jonathan Cook.

*) When in demo mode (./configure --enable-demo and a global -D
   <interval> option netperf will make sure it emits "one last
   interval result" when the test is terminated.  This should assist
   when post-processing results through the likes of rrdtool when
   there is a slow-down in the performance just at the end that would
   have stretched the interval to beyond the test termination.

*) A fix to have the AF_UNIX tests realize that the value for "take
   the system default" socket buffer size became -1 years ago.  Bug
   found by Eric Dumazet.

*) Include a patch from Dave Taht to enable symbolic manipulation of
   IP_TOS values.

*) Include a patch from Sachar Raindel to enable the omni tests to get
   ENOBUFS under Linux when the socket buffer is larger than the tx
   queue of the egress interface.  This will help preclude netperf's
   reporting a larger than link-rate send-side figure.

*) Fix a problem with late checking of the return from select() in
   src/netserver.c. Reported by Waqar Sheikh.

*) A new global -Z option has been added to netperf and netserver.
   This takes as an argument a passphrase.  In the case of netserver
   it will expect a control message with the passphrase as the first
   thing it receives on the control connection.  If netserver does not
   receive a control message with the passphrase it will close the
   control connection and move-on.  If the netserver receives a
   control message with a passprhase when it is not lookign for one,
   it will be ignored. There is at present a 20 second timeout on the
   attempted receipt of the request message. In the case of netperf,
   the passphrase will be the first thing sent on the control
   connection.  There is no response to a passphrase control message.

*) Demo mode output format will now track the omni output format. So,
   if the omni ouput format is CSV then the interim results will be
   emitted in csv. Likewise for keyval.  If the mode is human (default
   and test-specific -O) then the output remains unchanged.  Keyval
   output includes the count of interval, with a mind towards being
   able to source it in shells and whatnot.  Subject to change without
   notice.

*) A patch to correctly handle IPv6 addresses in the control messages,
   courtesy of Bjoern Zeeb.

*) The global -F option can now be used specify a local and/or remote
   fill file.

*) It is now possible to set/get the TCP congestion control algorithm
   being used by either end of the test connection when using the omni
   code.  The output selectors are LOCAL_CONG_CONTROL and
   REMOTE_CONG_CONTROL and setting is via the test-specific -K option.

*) Stop leaking file descriptors when looking-up probable egress
   interface names and I/O slot numbers.

*) The global -Y option can be used to set IP_TOS on those platforms
   which support it.  Since this is specific to IP (v4 or v6) it may
   move to a test-specific otion in the future.  It is presently
   global for foolish consistency with the -y option to set
   SO_PRIORITY.

*) The global -y option can be used to set SO_PRIORITY on those
   platforms which support it.  Based on patches from Amir Vidai.

*) The control message size has been increased from 256 bytes to 512
   bytes. THIS WILL BREAK COMPATABILITY WITH PREVIOUS VERSIONS OF
   NETPERF. However, we need more room on the pinhead on which the
   angels dance.

*) Make the "sum" field of the histogram structure a 64 bit int to
   avoid having it wrap-around on tests where the sum of all the
   measured latencies was larger than 31 bits. This was causing
   statistics like stddev to go negative in some cases.

*) If the time delta between two events is negative, do not bother
   doing any math with it in the histogram/statistics code, just
   increment the ridiculous count and move-on.

*) Fixed a bug which caused local transport retransmissions to be
   reported as -1 even though the getsockopt() call was
   successful. (Linux).  Later included remote transport
   retransmissions.

*) The src/nettest_omni.c and re-written src/netserver.c code are now
   known to have compiled under Windows 7 x64 with the Microsoft
   WDK. There remains a timing issue with confidence intervals which
   is yet to be addressed, and may have been there for ages. Netserver
   has been run as a non-spawning (-f) server, netperf has been run,
   both have run "classic" and "omni" tests.
2014-04-01 11:13:27 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
jperkin
110f0e433e Needs openssl. 2014-01-09 11:37:31 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
tron
65637ba22e Small fixes:
1.) Comment out "MASTER_SITES". The URL no longer works and all copies
    that Google can find are "pkgsrc" distfile mirrors.
2.) Fix various "pkglint" errors.
2013-12-17 15:05:23 +00:00
tron
33876ce231 Add and enable "dnsperf". 2013-11-30 20:31:30 +00:00
tron
f0aa431611 Add new "dnsperf" package:
DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that
make it simple to gather accurate latency and throughput metrics for
Domain Name Service (DNS) and Dynamic Host Configuration Protocol
(DHCP). These tools are easy-to-use and simulate typical Internet so
network operators can benchmark their naming and addressing
infrastructure and plan for upgrades. The latest version of the DNS
test tools (DNSPerf and ResPerf) can be used with new test files that
include IPv6 queries.

DNSPerf "self-paces" the DNS query load to simulate network
conditions. New features in DNSPerf improve the precision of latency
measurements and allow for per packet per-query latency reporting is
possible. DNSPerf is now multithreaded, multiple DNSPerf clients can
be supported in multicore systems (each client requires two
cores). The output of DNSPerf has also been improved so it is more
concise and useful. Latency data can be used to make detailed graphs
so it is simple for network operators to take advantage of the data.
2013-11-30 20:31:18 +00:00
msaitoh
ea8978b02a s/system system/system/ 2013-11-19 06:33:47 +00:00
joerg
d927070cca Don't use -fforce-addr. 2013-10-27 20:30:01 +00:00
joerg
c02eeaff65 Fix operator precendence. Bump revision. 2013-09-10 14:12:38 +00:00
obache
4a646b438b recursive bump from graphics/gd shlib major bump. 2013-09-04 12:31:24 +00:00
joerg
bf7153ee10 Fix automake invocation. 2013-08-27 15:40:42 +00:00
gdt
fce6e986d5 Drop "-ffloat-store" from CFLAGS.
The point of paranoia is to assess a compiler/machine environment.
Therefore, this package should be built with the default CFLAGS, and
not add options to try to get the tests to pass.  This will cause
errors to be reported on i386.

Take MAINTAINERSHIP.
2013-07-17 12:45:19 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
c83ffb8583 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:04:30 +00:00
wiz
98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00
joerg
f447c7e283 Resolve hash ambiguity for C++11 STL. Add missing includes. Add missing
RCS id.
2013-05-23 14:59:13 +00:00
rodent
6b46c62d2e Edited DESCR in the case of:
File too long (should be no more than 24 lines).
 Line too long (should be no more than 80 characters).
 Trailing empty lines.
 Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
2013-04-07 20:49:31 +00:00
rodent
28c976145a "Use of DOWNLOADED_DISTFILE is deprecated. Use the shell variable
$$extract_file instead."
2013-04-06 12:03:59 +00:00
sbd
7204cfc855 Use pre-processing to make the changes introduced by patch-aa & patch-ac
as the original code is needed for linux.
2013-04-01 07:35:03 +00:00
sbd
c367e79d95 Define _POSIX_SOURCE on Linux. 2013-04-01 06:30:45 +00:00
sbd
248ba358a9 Use ${PKGMANDIR} for manpages. 2013-04-01 06:13:12 +00:00
ast
0f22e87c66 Two installed files changed, so bumping PKGREVISION.
Noted by wiz, thanks.
2013-03-18 17:01:26 +00:00
ast
248aec283c Avoid getting "/usr/pkg/bin/perl^M: bad interpreter ..." error on
the auxiliary perl scripts iozone_report and iozone_visualizer.
2013-03-18 09:29:17 +00:00
obache
778bed8bfb Bump PKGREVISION from default PHP version change to 5.4. 2013-03-16 07:21:18 +00:00
wiz
a8730d5aa1 Bump PKGREVISION for mysql default change to 55. 2013-03-02 20:33:21 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
wiz
01917f938f Fix for automake-1.13. 2013-01-26 21:59:40 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
joerg
7b0bb89f80 Use more void. 2013-01-11 23:25:11 +00:00
msaitoh
10a8f0ead9 + ramspeed 2012-12-04 10:33:56 +00:00
msaitoh
d304c4e7b7 Import ramspeed-2.6.0 as benchmarks/ramspeed.
RAMspeed, a cache and memory benchmarking tool
(for uniprocessor machines running UNIX-like operating systems).

This command line utility measures effective bandwidth of both cache and memory
subsystems. It has been written entirely in C for portability purposes, though
benchmark routines are also available in several assembly languages for
performance reasons.
2012-12-04 10:32:53 +00:00
asau
ad895b4eeb "echo -e" is not portable, use printf to generate horizontal tabulation.
Reported by Mikhail Danilov on IRC.
2012-10-18 16:58:18 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
asau
3997aff2d7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 23:47:56 +00:00
adam
6e51d3e064 Changes 0.9:
Not known.
2012-09-30 22:06:24 +00:00
asau
c3874e0fe0 "user-destdir" is default these days 2012-09-11 22:37:10 +00:00
marino
599d5d3106 benchmarks/phoronix-test-suite: Change "cp -r"
The "-r" option is highly discouraged in BSD although it's reluctantly
supported.  The problem is that it doesn't behave the same on all
platforms.  For example, "cp -r pts-core/ destdir/" won't always give
the same results:

On NetBSD,   pts-core files are put: /destdir/pts-core/<files>
On DragonFly pts-core files are put: /destdir/<files>

That messes the PLIST up.
This changes "cp -r <dir>/" to "cp -R <dir>" which has the same
behavior on different platforms.  Tested on NetBSD and DragonFly
2012-08-15 22:08:16 +00:00
dholland
fa8a3c5dad Remove incorrect 'static' keyword to fix build. 2012-07-04 18:47:34 +00:00
joerg
b1d33f91a6 Fix type conversion. 2012-07-03 18:19:17 +00:00
asau
1ba6ba6c0d + filebench 2012-07-02 17:45:49 +00:00
asau
a864864f60 Import Filebench 1.4.9.1 as benchmarks/filebench.
Filebench is a file system and storage benchmark that allows
to generate a high variety of workloads. It employs extensive
Workload Model Language (WML) for detailed workload specification.

Features

 * Extensive Workload Model Language (WML) for workload specification
 * Includes popular pre-defined workloads: webserver, fileserver,
   varmail, etc.
 * Reports throughput and latency histograms
2012-07-02 17:43:16 +00:00
sbd
a1ef2e7bc8 Improve the sed command used in GET_OS_CMD to work with '*-*-linux-gnu' 2012-07-01 10:18:58 +00:00
sbd
0ea6cf1977 If the obsolete CLK_TCK isn't defined use CLOCKS_PER_SEC. 2012-07-01 10:13:04 +00:00
sbd
94f59e49d7 Revert last. 2012-07-01 09:56:13 +00:00
sbd
b8142aa2a9 <time.h> needs to be included for CLK_TCK 2012-07-01 09:51:13 +00:00
dholland
51c7f92935 Fix broken Solaris build by not using sys_errlist[]. One minor other
fix to pass -Wall.
2012-06-23 18:33:37 +00:00
dholland
66e9b22d41 Fix LP64 problems (implicit declaration of malloc). PKGREVISION++.
(Somehow this is the first PKGREVISION this package has ever had since
it was imported in 1998...)
2012-06-18 01:46:07 +00:00
taca
a69dc08fa1 * Don't strictly depends on php53.
* Use updated phpversion.mk.
2012-06-16 02:50:47 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
fhajny
646bb1e54c Fix build on SunOS and GCC>=4.6 2012-06-11 12:52:52 +00:00
asau
d66b89f0dd Update to IOzone 3.408
Changes since version 3.397:

Revision 3.408
Bug fix for clobbering of buffer. "tfile" needed to be bigger, as its
address was loaded into filearray[] and then that was overwritten
by the mfflag causing parsed names to get loaded.

Revision 3.407
Work around for cache_line_size suddenly becoming zero and breaking fetchit()

Revision 3.406
Increase buffer size for configuration lines. They might be 700 chars long.

Revision 3.405
Reduce CPU consumption in the op_rate control mechanism.

Revision 3.404
Fix type-oh in usage message.

Revision 3.403
Add -+W to permit chid_skew. This permits adding files, and continuing
the proper sharing/dedup within each quadrant, within same seed group
and with previously existing files that were created with a different
number of threads.

Revision 3.402
Mods for DragonFly support.

Revision 3.401
bug fix for re-write rec.

Revision 3.398
Adding thread_read_test and thread_write_test.
2012-06-07 15:57:20 +00:00
dholland
f52c4917dc Work around RMS's ego when examining config.guess output. Should fix
Linux build.
2012-05-23 04:34:05 +00:00
dholland
2a169c87b4 Declare void function void; fixes clang build. 2012-04-22 21:08:20 +00:00
wiz
6dc4abe4b7 Reset maintainer, developer has left the building 2012-04-15 22:00:58 +00:00
hans
e08802780c No static linking on SunOS. Don't use non-standard u_intXX_t types.
Not MAKE_JOBS_SAFE.
2012-02-28 15:49:56 +00:00
hans
f2f0f0f21e Fix PLIST for !NetBSD platforms. 2012-02-16 11:05:20 +00:00
hans
ad42a1bada Fix build on SunOS. 2012-02-16 11:02:55 +00:00
hans
4002def5ec On SunOS, static linking is unsupported since 5.10, and it always was on
64bit platforms.
2012-02-16 10:56:10 +00:00
sbd
51e178933c Add csh scripts to REPLACE_CSH and add USE_TOOLS+=csh:run
Bump PKGREVISION
2012-02-06 06:24:53 +00:00
marino
86cf0343b8 benchmarks/iozone: Unbreak DragonFly (again)
The update from version 3.308 to 3.397 broke DragonFly 11 days after I
fixed it due to missing a macro change.  An integer redeclaration was
also removed.
2012-01-24 23:45:00 +00:00
wiz
57d9df370b Remove chunk that was added for 1.6.2 compatibility, but affects the
run-time. Noted by yamt@ in PR 45866.
Bump PKGREVISION.
2012-01-23 09:39:52 +00:00
hans
707dfe1455 Fix build on SunOS. 2012-01-12 15:11:37 +00:00
hans
07ffb2d88b Fix build with gfortran on SunOS and possibly others.
Also tested on NetBSD/i386 5.1 with f2c.
2012-01-12 12:36:13 +00:00
wiz
530220b2ee Fix compiler version grep to match better. Fixes build on NetBSD with
gcc-4.5.
2011-12-19 13:21:39 +00:00
shattered
00816140c5 This is BSD-specific software (uses sys/disklabel.h), set ONLY_FOR_PLATFORM 2011-12-14 09:22:44 +00:00
jym
4cfefc377d Fix bad copy/pasto. 2011-12-07 00:34:26 +00:00
jym
2079d8ca8d Welcome to phoronix-test-suite-3.4.0.
Dunno why only part of the my patch got committed. Hmm.
2011-12-07 00:30:16 +00:00
jym
265d4cb9df Welcome to phoronix-test-suite-3.4.0.
DESCR:
The Phoronix Test Suite is the most comprehensive testing and benchmarking
platform available for the *nix operating system. This software is designed
to effectively carry out both qualitative and quantitative benchmarks in a
clean, reproducible, and easy-to-use manner.
2011-12-07 00:23:09 +00:00
hauke
faa4718f02 Update by a few dozen patch releases (3.308 -> 3.397).
Install two report Perl scripts, example files, and more docs.
2011-12-02 15:31:44 +00:00
marino
8d431c82b1 benchmarks/iozone: Really add DragonFly support
It appears that the authors of Iozone tried to add DragonFly support without
actually building it.  The configuration was broken, and the iozone.c
was uncompilable.  With the two modified patches, it will compile now, and a
quick check using "iozone -a" seemed to work as expected.
No PKGREVISION bump necessary.
2011-11-24 20:40:12 +00:00
marino
7f7c812e33 benchmarks/postal: Upgrade from version 0.62 to 0.70
Despite several additional patches, postal 0.62 wouldn't compile on
DragonFly (broke on stl vectors), so upgrading the package was the
most effective approach to restore this package.
License updated in Makefile.

Summary of changes since version 0.62
=====================================
0.65   Significant improvement, many new features and many bugs fixed!
0.66   Made GNUTLS work in BHM and added Messageld to Postal
0.67   Changed license to GPLv3
0.68   Fixed compiler warnings on GCC 4.3, make it work for OpenSolaris
0.69   Fixed compiler warnings and more GCC 4.3 compatibility work
0.70   Updated man pages and allowed build without SSL support
2011-11-24 01:15:41 +00:00
marino
ac31bf40e7 PR#45500 benchmarks/libmicro: Add DragonFly support
This commit fixes the run-libmicro command which was broken for all
platforms.  It was pointing at the destdir version instead of the
installed version.

It also provides a DragonFly-specific makefile which enables it to
build and run on DragonFly.
2011-11-06 00:03:27 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
dholland
dce4625cb1 void main 2011-09-14 07:11:33 +00:00
dholland
17708b8894 Fix some pkglint. There's quite a bit left, including a highly bogus
"results" target that copies results into /tmp.
2011-09-14 07:05:27 +00:00
dholland
23a559049b fix void main, use stdlib.h instead of casting malloc, etc. 2011-09-14 06:58:35 +00:00
taca
e832a8f18d Workaround for build problem on NetBSD 5.99.55. 2011-09-12 11:37:46 +00:00
dholland
cf2f2669c6 Add a distfile patch from yours truly, which may become, or may become
part of, a new upstream version, but I need to talk to some people first.
(I'm keeping this separate from the previous update in case it breaks stuff.)

Changes:
	roll in parts of patch-aa and patch-aq;
	roll in all of patch-ar and patch-src_memsize_c;
	make the ARM-only adjustment from patch-ar universal;
	add enough volatile to make 'mhz' work more or less properly again;
	fix the loop calibration to bail out instead of spinning forever
	  if things go too fast (e.g. because the compiler's optimized out
	  the benchmark loop);
	various hacking and modernization to get sort of a clean compile;
	fix some non-stdc stringifying macros;
	hopefully advance the clang build a bit further.
2011-09-12 11:15:33 +00:00
dholland
5dd55a221b Update to 1.1, which was released with little fanfare in 2003.
Changes: support for SPARC performance counters, plus a couple fixes.
2011-09-12 10:47:11 +00:00
dholland
e340ae2f88 void main 2011-09-12 07:24:52 +00:00
dholland
5f2b2eee8d void main
while here, fix some wrong printf formats that clang caught.
2011-09-12 07:21:29 +00:00
dholland
0edacbe2cc Update the patch here to use %llu instead of %qu for 64-bit values,
since clang objects to %qu. Also patch another format string that
was previously missed
2011-09-12 07:17:14 +00:00
dholland
de1beb1b6d Fix mismatched return statements, which clang dislikes 2011-09-12 07:10:32 +00:00
mrg
ff7f01c2a8 fix build with GCC 4.5. 2011-08-14 08:35:35 +00:00
dholland
130553879a Fix broken clang build. 2011-08-01 03:54:53 +00:00
tron
45d21decb2 Make compiler warnings non-fatal to fix the build under NetBSD-current. 2011-07-20 21:48:29 +00:00
dholland
4cca69e306 Add trivial patch to makefile, now passes MAKE_JOBS=4. 2011-05-28 23:02:33 +00:00
obache
9ea3b36c23 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
zafer
ef5eae582a service discontinued. prevent time out. fetch from backup. 2011-03-11 10:32:20 +00:00
wiz
ffd4fe755c Add benchmarks to CATEGORIES. 2011-02-28 18:39:34 +00:00
wiz
5d9cd07126 + super_pi. 2011-02-28 18:39:07 +00:00
wiz
5b01730975 Initial import of super_pi-20030927.
SuperPI is a quick reference benchmark test often used when
overclocking or comparing different hardware configurations.
2011-02-28 18:38:47 +00:00
obache
583b33d851 Update randread to 0.2.
Based on PR#44354 by Tony Young.
set LICENSE=public-domain, unit-test support by me.

Version 0.2  2002-09-11

    Added unit test framework.
    Read from a list of files, rather than just one, seeking evenly within
	all of them based on the number of blocks in each.
    Allow reading several contiguous blocks for each seek, so we can do
	sequential/random and sequential read testing.
    Print more and clearer information.
    Added disktest shell scripts.
2011-02-03 14:15:12 +00:00
adam
380bc98775 Pass LDFLAGS for linking 2011-01-28 13:42:21 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
jdolecek
6205c5bfaf make compile on systems without O_DIRECT (i.e. Mac OS 10.6) 2011-01-02 17:45:05 +00:00
obache
230a88f469 Fixes for DragonFly. 2010-12-30 08:20:42 +00:00
obache
376adb5d23 Fixes build on DragonFly.
sendfile(2) of DragonFly is FreeBSD in origin.
2010-12-30 08:05:18 +00:00