pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/benchmarks/fio Import fio-2.17 as benchmarks/fio from ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f6817027fe2
branches: trunk
changeset: 358061:3f6817027fe2
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sat Feb 04 12:50:23 2017 +0000
description:
Import fio-2.17 as benchmarks/fio from pkgsrc-wip/fio.
fio is a tool that will spawn a number of threads or processes doing a
particular type of io action as specified by the user. fio takes a
number of global parameters, each inherited by the thread unless
otherwise parameters given to them overriding that setting is given.
The typical use of fio is to write a job file matching the io load
one wants to simulate.
diffstat:
benchmarks/fio/DESCR | 6 +++
benchmarks/fio/Makefile | 33 ++++++++++++++++++++
benchmarks/fio/PLIST | 57 +++++++++++++++++++++++++++++++++++
benchmarks/fio/distinfo | 7 ++++
benchmarks/fio/patches/patch-Makefile | 29 +++++++++++++++++
5 files changed, 132 insertions(+), 0 deletions(-)
diffs (152 lines):
diff -r df4fc894a924 -r 3f6817027fe2 benchmarks/fio/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/fio/DESCR Sat Feb 04 12:50:23 2017 +0000
@@ -0,0 +1,6 @@
+fio is a tool that will spawn a number of threads or processes doing a
+particular type of io action as specified by the user. fio takes a
+number of global parameters, each inherited by the thread unless
+otherwise parameters given to them overriding that setting is given.
+The typical use of fio is to write a job file matching the io load
+one wants to simulate.
diff -r df4fc894a924 -r 3f6817027fe2 benchmarks/fio/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/fio/Makefile Sat Feb 04 12:50:23 2017 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2017/02/04 12:50:23 ryoon Exp $
+
+DISTNAME= fio-2.17
+CATEGORIES= benchmarks
+MASTER_SITES= http://brick.kernel.dk/snaps/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://git.kernel.dk/?p=fio.git;a=summary
+COMMENT= Flexible IO Tester
+LICENSE= gnu-gpl-v2
+
+HAS_CONFIGURE= yes
+USE_TOOLS+= bash gmake lex yacc
+
+DOCDIR= ${PREFIX}/share/doc/fio
+EGDIR= ${PREFIX}/share/examples/fio
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+
+REPLACE_BASH+= tools/genfio
+REPLACE_PYTHON+= tools/fio_latency2csv.py
+REPLACE_PYTHON+= tools/fiologparser.py
+REPLACE_PYTHON+= tools/hist/fiologparser_hist.py
+REPLACE_PYTHON+= tools/plot/fio2gnuplot
+
+INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/HOWTO ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.fio ${DESTDIR}${EGDIR}
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r df4fc894a924 -r 3f6817027fe2 benchmarks/fio/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/fio/PLIST Sat Feb 04 12:50:23 2017 +0000
@@ -0,0 +1,57 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/04 12:50:23 ryoon Exp $
+bin/fio
+bin/fio-dedupe
+bin/fio-genzipf
+bin/fio-verify-state
+bin/fio2gnuplot
+bin/fio_generate_plots
+bin/fio_latency2csv.py
+bin/fiologparser.py
+bin/fiologparser_hist.py
+bin/genfio
+man/man1/fio.1
+man/man1/fio2gnuplot.1
+man/man1/fio_generate_plots.1
+man/man1/fiologparser_hist.py.1
+share/doc/fio/HOWTO
+share/examples/fio/1mbs_clients.fio
+share/examples/fio/aio-read.fio
+share/examples/fio/backwards-read.fio
+share/examples/fio/basic-verify.fio
+share/examples/fio/cpuio.fio
+share/examples/fio/dev-dax.fio
+share/examples/fio/disk-zone-profile.fio
+share/examples/fio/e4defrag.fio
+share/examples/fio/e4defrag2.fio
+share/examples/fio/enospc-pressure.fio
+share/examples/fio/falloc.fio
+share/examples/fio/fixed-rate-submission.fio
+share/examples/fio/flow.fio
+share/examples/fio/fsx.fio
+share/examples/fio/fusion-aw-sync.fio
+share/examples/fio/gfapi.fio
+share/examples/fio/iometer-file-access-server.fio
+share/examples/fio/jesd219.fio
+share/examples/fio/latency-profile.fio
+share/examples/fio/libhdfs.fio
+share/examples/fio/mtd.fio
+share/examples/fio/netio.fio
+share/examples/fio/netio_multicast.fio
+share/examples/fio/null.fio
+share/examples/fio/numa.fio
+share/examples/fio/pmemblk.fio
+share/examples/fio/poisson-rate-submission.fio
+share/examples/fio/rand-zones.fio
+share/examples/fio/rbd.fio
+share/examples/fio/rdmaio-client.fio
+share/examples/fio/rdmaio-server.fio
+share/examples/fio/ssd-steadystate.fio
+share/examples/fio/ssd-test.fio
+share/examples/fio/steadystate.fio
+share/examples/fio/surface-scan.fio
+share/examples/fio/tiobench-example.fio
+share/examples/fio/waitfor.fio
+share/examples/fio/zipf.fio
+share/fio/graph2D.gpm
+share/fio/graph3D.gpm
+share/fio/math.gpm
diff -r df4fc894a924 -r 3f6817027fe2 benchmarks/fio/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/fio/distinfo Sat Feb 04 12:50:23 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/02/04 12:50:23 ryoon Exp $
+
+SHA1 (fio-2.17.tar.gz) = 52419c2b9b566e279b75bbeaee6ea3915782fe0d
+RMD160 (fio-2.17.tar.gz) = 3a888562c002720f2db15a3885c710ce99149bd1
+SHA512 (fio-2.17.tar.gz) = a5ebf27d6d4e1ef1458e0db08308640ee88b62283a12ae40b9f3629164531b2dac3a172d0357f9a2661faa0a9755e04421415a320402bc1503a2a7d3271eee3a
+Size (fio-2.17.tar.gz) = 664471 bytes
+SHA1 (patch-Makefile) = 63b4abb38bd36fa7c65224fbe440938b63cde3c6
diff -r df4fc894a924 -r 3f6817027fe2 benchmarks/fio/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/fio/patches/patch-Makefile Sat Feb 04 12:50:23 2017 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-Makefile,v 1.1 2017/02/04 12:50:23 ryoon Exp $
+
+Convert the fmt(1) command to a tr(1) one (the fmt(1) old syntax command is not
+supported on all Unix systems).
+
+--- Makefile.orig 2017-01-17 15:51:31.000000000 +0000
++++ Makefile
+@@ -319,8 +319,8 @@ override CFLAGS += -DFIO_VERSION='"$(FIO
+ @$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d
+ @mv -f $*.d $*.d.tmp
+ @sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
+- @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 | \
+- sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
++ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | tr -cs "[:graph:]" "\n" | \
++ sed -e 's/^ *//' -e '/^$$/ d' -e 's/$$/:/' >> $*.d
+ @rm -f $*.d.tmp
+
+ ifdef CONFIG_ARITHMETIC
+@@ -358,8 +358,8 @@ init.o: init.c FIO-VERSION-FILE
+ @$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d
+ @mv -f $*.d $*.d.tmp
+ @sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
+- @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 | \
+- sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
++ @sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | tr -cs "[:graph:]" "\n" | \
++ sed -e 's/^ *//' -e '/^$$/ d' -e 's/$$/:/' >> $*.d
+ @rm -f $*.d.tmp
+
+ gcompat.o: gcompat.c gcompat.h
Home |
Main Index |
Thread Index |
Old Index