1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/benchmarks/ramspeed/Makefile
Pawel Pekala 97fe3ab28b RAMspeed is a command line utility to measure cache and memory performance of
computer systems. It offers 18 cache and memory benchmarks for i386 and amd64
machines, though 6 only for alpha ones. There are *mark benchmarks such as
INTmark, FLOATmark, MMXmark and SSEmark. They operate with linear (sequential)
data streams passed through ALU, FPU, MMX and SSE units respectively.
There are also *mem benchmarks such as INTmem, FLOATmem, MMXmem and SSEmem.
These are supposed to illustrate how fast is actual read/write memory
performance. There are also non-temporal versions of MMX and SSE benchmarks.
They have been coded with special instructions to minimise cache pollution on
memory reads and to eliminate it completely on memory writes. In addition, they
operate with a built in aggressive data prefetching algorithm. In some cases,
non-temporal MMXmark and SSEmark can deliver almost 100% of theoretical
bandwidth while reading.

WWW: http://alasir.com/software/ramspeed/

PR:		ports/186108
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
2014-01-31 13:40:21 +00:00

30 lines
737 B
Makefile

# $FreeBSD$
PORTNAME= ramspeed
PORTVERSION= 3.5.0
CATEGORIES= benchmarks
MASTER_SITES= http://www.alasir.com/software/ramspeed/
DISTNAME= ramsmp-${PORTVERSION}
MAINTAINER= mkamm@gmx.net
COMMENT= Cache and memory benchmarking tool
NO_CDROM= do not sell for money
LICENSE= ALASIR
LICENSE_NAME= Alasir Licence
LICENSE_FILE= ${WRKSRC}/LICENCE
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell
PLIST_FILES= bin/ramspeed
PORTDOCS= HISTORY README
do-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ramsmp ${STAGEDIR}${PREFIX}/bin/ramspeed
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>