[NEW PORT]: benchmarks/linux-vdbench: Command line disk I/O benchmark utility
Vdbench is a command line utility specifically created to help engineers and customers generate disk I/O workloads to be used for validating storage performance and storage data integrity. WWW: http://www.oracle.com/technetwork/server-storage/vdbench-downloads-1901681.html Reviewed by: koobs, mat Approved by: koobs (mentor) Differential Revision: https://reviews.freebsd.org/D17255
This commit is contained in:
parent
64f3b61585
commit
a79a403b17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480718
1
LEGAL
1
LEGAL
@ -208,6 +208,7 @@ ue*dev.zip editors/uemacs Resale allowed for media cost only
|
||||
unifi-5*/UniFi.unix.zip net-mgmt/unifi5 Redistribution of bundled firmware images is not permitted
|
||||
uplink-demo* games/linux-uplink-demo Redistribution is limited, see license
|
||||
uzap.tar.gz editors/uzap This software may not be used to make a profit in any way.
|
||||
vdbench*.zip benchmarks/linux-vdbench Redistribution is not permitted
|
||||
vdr-markad-* multimedia/vdr-plugin-markad Installs station logos
|
||||
vice-* emulators/vice ROMs are copyrighted by Commodore Business Machines
|
||||
VMware-vSphere-Perl* net/vmware-vsphere-cli May not be redistributed. Must accept license to download.
|
||||
|
@ -37,6 +37,7 @@
|
||||
SUBDIR += iperf
|
||||
SUBDIR += iperf3
|
||||
SUBDIR += libmicro
|
||||
SUBDIR += linux-vdbench
|
||||
SUBDIR += lmbench
|
||||
SUBDIR += lzbench
|
||||
SUBDIR += mdtest
|
||||
|
85
benchmarks/linux-vdbench/Makefile
Normal file
85
benchmarks/linux-vdbench/Makefile
Normal file
@ -0,0 +1,85 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vdbench
|
||||
PORTVERSION= 5.04.07
|
||||
CATEGORIES= benchmarks linux java
|
||||
MASTER_SITES= #
|
||||
PKGNAMEPREFIX= linux-
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
||||
|
||||
MAINTAINER= loader@FreeBSD.org
|
||||
COMMENT= Command line disk I/O benchmark utility
|
||||
|
||||
LICENSE= OTN
|
||||
LICENSE_NAME= Oracle Technology Network
|
||||
LICENSE_FILE= ${FILESDIR}/LICENSE
|
||||
LICENSE_PERMS= none
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
ONLY_FOR_ARCHS_REASON= Linux compatibility layer only supports i386/amd64
|
||||
|
||||
USES= linux shebangfix uniquefiles:dirs zip
|
||||
USE_JAVA= yes
|
||||
|
||||
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
||||
JAVA_VERSION= 1.7+
|
||||
JAVA_OS= linux
|
||||
NO_BUILD= yes
|
||||
SHEBANG_FILES= ${PORTNAME} linux/config.sh
|
||||
bash_CMD= ${SH}
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
DOWNLOAD_URL= https://www.oracle.com/technetwork/server-storage/vdbench-downloads-1901681.html
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(${DISTDIR}/${DISTFILES})
|
||||
IGNORE=You must manually download ${DISTFILES} from ${DOWNLOAD_URL} and place it in ${DISTDIR} then run make again
|
||||
.endif
|
||||
|
||||
.if ${LINUX_ARCH} == "i386"
|
||||
PLIST_SUB+= LINUX_ARCH_32="" LINUX_ARCH_64="@comment "
|
||||
.endif
|
||||
|
||||
.if ${LINUX_ARCH} == "x86_64"
|
||||
PLIST_SUB+= LINUX_ARCH_32="@comment " LINUX_ARCH_64=""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|^java=java|java=${JAVA_HOME}/bin/java|' \
|
||||
-e 's|^dir=.*|dir=${DATADIR}|' ${WRKSRC}/vdbench
|
||||
|
||||
${REINPLACE_CMD} -e 's|/proc/meminfo|/compat/proc/meminfo|' \
|
||||
-e '/^free/d' ${WRKSRC}/linux/config.sh
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/linux
|
||||
for f in vdbench.jar build_sds.txt swatcharts.txt; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${f} ${STAGEDIR}${DATADIR}; \
|
||||
done
|
||||
.if ${LINUX_ARCH} == "i386"
|
||||
${INSTALL_DATA} ${WRKSRC}/linux/linux32.so ${STAGEDIR}${DATADIR}/linux
|
||||
.endif
|
||||
.if ${LINUX_ARCH} == "x86_64"
|
||||
${INSTALL_DATA} ${WRKSRC}/linux/linux64.so ${STAGEDIR}${DATADIR}/linux
|
||||
.endif
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/linux/config.sh ${STAGEDIR}${DATADIR}/linux
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
|
||||
${RLN} ../${DATADIR_REL}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
for f in vdbench.pdf readme.txt; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${f} ${STAGEDIR}${DOCSDIR}; \
|
||||
done
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}; ${COPYTREE_SHARE} examples ${STAGEDIR}${EXAMPLESDIR})
|
||||
for e in $$(${JOT} - 1 7); do \
|
||||
${INSTALL_DATA} ${WRKSRC}/example$${e} ${STAGEDIR}${EXAMPLESDIR}; \
|
||||
done
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
benchmarks/linux-vdbench/distinfo
Normal file
3
benchmarks/linux-vdbench/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1537404207
|
||||
SHA256 (vdbench50407.zip) = 51a60a9cd38df448a984a464254e059273c99679215420b64564b11fdf7c4ece
|
||||
SIZE (vdbench50407.zip) = 3073219
|
73
benchmarks/linux-vdbench/files/LICENSE
Normal file
73
benchmarks/linux-vdbench/files/LICENSE
Normal file
@ -0,0 +1,73 @@
|
||||
https://www.oracle.com/technetwork/licenses/vdbench-license-2027214.html
|
||||
|
||||
Oracle Technology Network Developer License Terms for VDBench
|
||||
|
||||
Export Controls on the Programs
|
||||
Export laws and regulations of the United States and any other relevant local export laws and regulations apply to the programs. You agree that such export control laws govern your use of the programs (including technical data) and any services deliverables provided under this agreement, and you agree to comply with all such export laws and regulations (including "deemed export" and "deemed re-export" regulations). You agree that no data, information, program, and/or materials resulting from services (or direct product thereof) will be exported, directly or indirectly, in violation of these laws, or will be used for any purpose prohibited by these laws including, without limitation, nuclear, chemical, or biological weapons proliferation, or development of missile technology.
|
||||
|
||||
Accordingly, you confirm:
|
||||
|
||||
-You will not download, provide, make available or otherwise export or re-export the programs, directly or indirectly, to countries prohibited by applicable laws and regulations nor to citizens, nationals or residents of those countries.
|
||||
-You are not listed on the United States Department of Treasury lists of Specially Designated Nationals and Blocked Persons, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor are you listed on the United States Department of Commerce Table of Denial Orders.
|
||||
- You will not download or otherwise export or re-export the programs, directly or indirectly, to persons on the above mentioned lists.
|
||||
- You will not use the programs for, and will not allow the programs to be used for, any purposes prohibited by applicable law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction.
|
||||
|
||||
Oracle Employees: Under no circumstances are Oracle Employees authorized to download software for the purpose of distributing it to customers. Oracle products are available to employees for internal use or demonstration purposes only. In keeping with Oracle's trade compliance obligations under U.S. and applicable multilateral law, failure to comply with this policy could result in disciplinary action up to and including termination.
|
||||
|
||||
Note: You are bound by the Oracle Technology Network ("OTN") License Agreement terms. The OTN License Agreement terms also apply to all updates you receive under your Technology Track subscription.
|
||||
|
||||
The OTN License Agreement terms below supercede any shrinkwrap license on the OTN Technology Track software CDs and previous OTN License terms (including the Oracle Program License as modified by the OTN Program Use Certificate).
|
||||
|
||||
Oracle Technology Network Development License Agreement
|
||||
"We," "us," and "our" refers to Oracle America, Inc., for and on behalf of itself and its subsidiaries and affiliates under common control. "You" and "your" refers to the individual or entity that wishes to use the programs from Oracle. "Programs" refers to the Oracle software product you wish to download and use and program documentation. "License" refers to your right to use the programs under the terms of this agreement. "Your Storage Hardware Product" refers to your storage hardware product designed and manufactured by you. This agreement is governed by the substantive and procedural laws of California. You and Oracle agree to submit to the exclusive jurisdiction of, and venue in, the courts of San Francisco or Santa Clara counties in California in any dispute arising out of or relating to this agreement.
|
||||
|
||||
We are willing to license the programs to you only upon the condition that you accept all of the terms contained in this agreement. Read the terms carefully and select the "Accept License Agreement" button to confirm your acceptance. If you are not willing to be bound by these terms, select the "Decline License Agreement" button and the registration process will not continue.
|
||||
|
||||
License Rights
|
||||
We grant you a nonexclusive, nontransferable limited license to use and modify the programs to the extent necessary to test the performance of Your Storage Hardware Product and to disclose the results of the said tests at your discretion, and not for any other purpose. You acknowledge that we may not produce a production release version of the program and any development efforts undertaken by you are at your own risk. We may audit your use of the programs. Program documentation, if available, may accessed online at http://www.oracle.com/technetwork/indexes/documentation/index.html.
|
||||
|
||||
Ownership and Restrictions
|
||||
We retain all ownership and intellectual property rights in the programs and any modifications, extensions or derivative works. The programs may be installed on one computer only, and used by one person in the operating environment identified by us. You may make one copy of the programs for backup purposes.
|
||||
|
||||
You may not:
|
||||
- use the programs for your own internal data processing or for any commercial or production purposes, or use the programs for any purpose except the testing of your storage hardware;
|
||||
- remove or modify any program markings or any notice of our proprietary rights;
|
||||
- make the programs, including any modifications, extensions or derivatives thereof, available in any manner to any third party;
|
||||
- use the programs to provide third party training;
|
||||
- assign this agreement or give or transfer the programs or an interest in them to another individual or entity;
|
||||
- cause or permit reverse engineering (unless required by law for interoperability), disassembly or decompilation of the programs;
|
||||
- disclose results of any program benchmark tests without our prior consent, except that you may disclose the results of the performance tests of Your Storage Hardware Product as performed by the programs.
|
||||
|
||||
|
||||
Disclaimer of Warranty and Exclusive Remedies
|
||||
THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
|
||||
|
||||
IN NO EVENT SHALL WE BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA OR DATA USE, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. OUR ENTIRE LIABILITY FOR DAMAGES HEREUNDER SHALL IN NO EVENT EXCEED ONE THOUSAND DOLLARS (U.S. $1,000).
|
||||
|
||||
Trial Programs Included With Orders
|
||||
We may include additional programs with an order which may be used for trial purposes only. You will have 30 days from the delivery date to evaluate these programs. Any use of these programs after the 30 day trial period requires you to obtain the applicable license. Programs licensed for trial purposes are provided "as is" and we do not provide technical support or any warranties for these programs.
|
||||
|
||||
No Technical Support
|
||||
Our technical support organization will not provide technical support, phone support, or updates to you for the programs licensed under this agreement.
|
||||
|
||||
End of Agreement
|
||||
You may terminate this agreement by destroying all copies of the programs. We have the right to terminate your right to use the programs if you fail to comply with any of the terms of this agreement, in which case you shall destroy all copies of the programs.
|
||||
|
||||
Relationship Between the Parties
|
||||
The relationship between you and us is that of licensee/licensor. Neither party will represent that it has any authority to assume or create any obligation, express or implied, on behalf of the other party, nor to represent the other party as agent, employee, franchisee, or in any other capacity. Nothing in this agreement shall be construed to limit either party's right to independently develop or distribute software that is functionally similar to the other party's products, so long as proprietary information of the other party is not included in such software.
|
||||
|
||||
Open Source
|
||||
"Open Source" software - software available without charge for use, modification and distribution - is often licensed under terms that require the user to make the user's modifications to the Open Source software or any software that the user 'combines' with the Open Source software freely available in source code form. If you use Open Source software in conjunction with the programs, you must ensure that your use does not: (i) create, or purport to create, obligations of us with respect to the Oracle programs; or (ii) grant, or purport to grant, to any third party any rights to or immunities under our intellectual property or proprietary rights in the Oracle programs. For example, you may not develop a software program using an Oracle program and an Open Source program where such use results in a program file(s) that contains code from both the Oracle program and the Open Source program (including without limitation libraries) if the Open Source program is licensed under a license that requires any "modifications" be made freely available. You also may not combine the Oracle program with programs licensed under the GNU General Public License ("GPL") in any manner that could cause, or could be interpreted or asserted to cause, the Oracle program or any modifications thereto to become subject to the terms of the GPL.
|
||||
|
||||
Entire Agreement
|
||||
You agree that this agreement is the complete agreement for the programs and licenses, and this agreement supersedes all prior or contemporaneous agreements or representations. If any term of this agreement is found to be invalid or unenforceable, the remaining provisions will remain effective.
|
||||
|
||||
Last updated: 14 May 2014
|
||||
|
||||
Should you have any questions concerning this License Agreement, or if you desire to contact Oracle for any reason, please write:
|
||||
Oracle America, Inc.
|
||||
500 Oracle Parkway,
|
||||
Redwood City, CA 94065
|
||||
|
||||
Oracle may contact you to ask if you had a satisfactory experience installing and using this OTN software download.
|
||||
|
5
benchmarks/linux-vdbench/pkg-descr
Normal file
5
benchmarks/linux-vdbench/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Vdbench is a command line utility specifically created to help
|
||||
engineers and customers generate disk I/O workloads to be used
|
||||
for validating storage performance and storage data integrity.
|
||||
|
||||
WWW: http://www.oracle.com/technetwork/server-storage/vdbench-downloads-1901681.html
|
48
benchmarks/linux-vdbench/pkg-plist
Normal file
48
benchmarks/linux-vdbench/pkg-plist
Normal file
@ -0,0 +1,48 @@
|
||||
bin/linux-vdbench
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/vdbench.pdf
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example5
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example6
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/errorlog.html
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/create_files
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/delete_files
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/multi_host
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/random_read
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/random_rw
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/random_write
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/seq_read
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/seq_rw
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/filesys/seq_write
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/multi_host
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_read
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_read_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_read_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_rw
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_rw_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_rw_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_write
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_write_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/random_write_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_read
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_read_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_read_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_rw
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_rw_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_rw_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_write
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_write_curve
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/seq_write_xfersizes
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/raw/tpcc
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/examples/readme.txt
|
||||
%%LINUX_ARCH_32%%%%DATADIR%%/linux/linux32.so
|
||||
%%LINUX_ARCH_64%%%%DATADIR%%/linux/linux64.so
|
||||
%%DATADIR%%/build_sds.txt
|
||||
%%DATADIR%%/linux/config.sh
|
||||
%%DATADIR%%/swatcharts.txt
|
||||
%%DATADIR%%/vdbench
|
||||
%%DATADIR%%/vdbench.jar
|
Loading…
Reference in New Issue
Block a user