wip/fio: import 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.
This commit is contained in:
Apurva Nandan 2020-04-12 06:40:02 +05:30
parent 649eae5e21
commit 6dc54f8f1f
4 changed files with 127 additions and 0 deletions

6
fio/DESCR Normal file
View File

@ -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.

36
fio/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.6 2020/01/26 17:30:46 rillig Exp $
DISTNAME= fio-3.19
CATEGORIES= benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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_jsonplus_clat2csv
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}
TEST_TARGET= test
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"

79
fio/PLIST Normal file
View File

@ -0,0 +1,79 @@
@comment $NetBSD: PLIST,v 1.2 2019/10/08 18:13:32 maya Exp $
bin/fio
bin/fio-dedupe
bin/fio-genzipf
bin/fio-verify-state
bin/fio2gnuplot
bin/fio_generate_plots
bin/fio_jsonplus_clat2csv
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/butterfly.fio
share/examples/fio/cpp_null.fio
share/examples/fio/cpuio.fio
share/examples/fio/cross-stripe-verify.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/exitwhat.fio
share/examples/fio/falloc.fio
share/examples/fio/filecreate-ioengine.fio
share/examples/fio/filestat-ioengine.fio
share/examples/fio/fio-rand-RW.fio
share/examples/fio/fio-rand-read.fio
share/examples/fio/fio-rand-write.fio
share/examples/fio/fio-seq-RW.fio
share/examples/fio/fio-seq-read.fio
share/examples/fio/fio-seq-write.fio
share/examples/fio/fixed-rate-submission.fio
share/examples/fio/flow.fio
share/examples/fio/fsx.fio
share/examples/fio/ftruncate.fio
share/examples/fio/gfapi.fio
share/examples/fio/gpudirect-rdmaio-client.fio
share/examples/fio/gpudirect-rdmaio-server.fio
share/examples/fio/http-s3.fio
share/examples/fio/http-swift.fio
share/examples/fio/http-webdav.fio
share/examples/fio/ime.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/libiscsi.fio
share/examples/fio/libpmem.fio
share/examples/fio/mtd.fio
share/examples/fio/nbd.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/rados.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

6
fio/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2019/10/08 18:13:32 maya Exp $
SHA1 (fio-3.19.tar.gz) = 02503623deb40fae2b12c09cdf5f4b9339902f7b
RMD160 (fio-3.19.tar.gz) = 1bfeee6af3fd5b94d134df9ca3c308dd84e7e24d
SHA512 (fio-3.19.tar.gz) = 2154fb1c91f30c56182a85f0011ad5d1d25f3857a33165ea46f15a413bc8e47d0150026a7f87e901bcb5d587bc96bf22e62bc689bcfdc99976d82808f58a99fe
Size (fio-3.19.tar.gz) = 1006012 bytes