aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 04:29:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-08-01 04:29:44 +0000
commit2e6cabfa170ebe3c08ebd4c3f2fc7e23ba2f0f18 (patch)
tree8e6c4f2cceeabf768a42f84d0f1914bd45cb93f4 /benchmarks
parenta9b270272208e547b68d58c91c57682977be8a1a (diff)
downloadports-2e6cabfa170ebe3c08ebd4c3f2fc7e23ba2f0f18.tar.gz
ports-2e6cabfa170ebe3c08ebd4c3f2fc7e23ba2f0f18.zip
Bye bye abandonwares (part 2)
2011-08-01 benchmarks/rawio: Looks like an abandonware, no more public distfiles 2011-08-01 benchmarks/tmetric: Looks like abandonware, no more public distfiles 2011-08-01 biology/L-Breeder: Looks like an abandonware, no more public distfile 2011-08-01 biology/crimap: Looks like an abandonware, no more public distfile 2011-08-01 biology/distribfold: No more upstream, looks like an abandonware 2011-08-01 biology/kinemage: Looks like an abandonware, no more public distfile 2011-08-01 biology/lsysexp: Looks like an abandonware, no more public distfile 2011-08-01 chinese/chm2html: Looks like an abandonware, no more public distfile 2011-08-01 chinese/ntuttf: No more public distfiles available 2011-08-01 chinese/reciteword: Looks like an abandonware, no more public distfile 2011-08-01 chinese/tocps: No more pulic distfiles 2011-08-01 chinese/xttmgr: Looks like an abandonware, no more public distfile 2011-08-01 comms/mserver: Looks like an abandonware, no more public distfiles 2011-08-01 comms/qicosi: Looks like an abandonware, no more public distfile 2011-08-01 comms/sms_client: Looks like an abandonware, no more public distfile 2011-08-01 comms/smstools: Looks like an abandonware, no more public distfile 2011-08-01 converters/siconv: Looks like an abandonware, no more public distfiles 2011-08-01 converters/utf8conv: Looks like an abandonware, no more public distfile 2011-08-01 databases/pgcluster: Looks like an abandonware, no more public distfile 2011-08-01 databases/py-MySQL: Please use databases/py-MySQLdb instead 2011-08-01 databases/py-SQLDict: Looks like an abandonware, no more public distfile 2011-08-01 databases/py-rrdpipe: Looks like an abandonware, no more public distfile 2011-08-01 databases/sybase_ase: no more public distfiles available
Notes
Notes: svn path=/head/; revision=278678
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile2
-rw-r--r--benchmarks/rawio/Makefile30
-rw-r--r--benchmarks/rawio/distinfo2
-rw-r--r--benchmarks/rawio/files/patch-ad270
-rw-r--r--benchmarks/rawio/pkg-descr3
-rw-r--r--benchmarks/tmetric/Makefile30
-rw-r--r--benchmarks/tmetric/distinfo2
-rw-r--r--benchmarks/tmetric/pkg-descr6
8 files changed, 0 insertions, 345 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index e2a19f6f2460..9fb65a323dc7 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -53,7 +53,6 @@
SUBDIR += pybench
SUBDIR += raidtest
SUBDIR += randomio
- SUBDIR += rawio
SUBDIR += rubygem-railsbench
SUBDIR += scimark2
SUBDIR += scimark2c
@@ -65,7 +64,6 @@
SUBDIR += sysbench
SUBDIR += tcpblast
SUBDIR += thrulay
- SUBDIR += tmetric
SUBDIR += ttcp
SUBDIR += ubench
SUBDIR += unixbench
diff --git a/benchmarks/rawio/Makefile b/benchmarks/rawio/Makefile
deleted file mode 100644
index 2716a241af9c..000000000000
--- a/benchmarks/rawio/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# ex:ts=8
-# Ports collection makefile for: Rawio
-# Date created: Sun Aug 08, 1999
-# Whom: David O'Brien (obrien@NUXI.com)
-#
-# $FreeBSD$
-#
-
-PORTNAME= rawio
-PORTVERSION= 1.2
-PORTREVISION= 3
-CATEGORIES= benchmarks
-MASTER_SITES= ftp://ftp.lemis.com/pub/ \
- http://ftp.osuosl.org/pub/FreeBSD/distfiles/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Test performance of low-level storage devices
-
-DEPRECATED= Looks like an abandonware, no more public distfiles
-EXPIRATION_DATE= 2011-08-01
-
-NO_WRKSUBDIR= yes
-MAN1= rawio.1
-PLIST_FILES= bin/rawio
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rawio ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/rawio.1 ${PREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/benchmarks/rawio/distinfo b/benchmarks/rawio/distinfo
deleted file mode 100644
index 6d75a4fe6411..000000000000
--- a/benchmarks/rawio/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (rawio-1.2.tar.gz) = 171f4c17a30161d1cc28012864c0505fd03a5f8f7643ca89dfc7f28f9cb3e092
-SIZE (rawio-1.2.tar.gz) = 193655
diff --git a/benchmarks/rawio/files/patch-ad b/benchmarks/rawio/files/patch-ad
deleted file mode 100644
index afd8e208fd2a..000000000000
--- a/benchmarks/rawio/files/patch-ad
+++ /dev/null
@@ -1,270 +0,0 @@
---- rawio.c.orig Mon Nov 27 04:28:19 2000
-+++ rawio.c Tue Jun 20 23:03:20 2006
-@@ -58,6 +58,9 @@
- #endif
- #ifdef BSD4_4
- #include <sys/disklabel.h>
-+#if __FreeBSD__ >= 5
-+#include <sys/disk.h>
-+#endif
- #endif
- #include "randoms.h"
-
-@@ -99,6 +102,7 @@
- char *buf; /* and what we're using, for alignment */
- int file;
- size_t length;
-+u_int sectorsize;
-
- int count;
- enum operation
-@@ -331,13 +335,7 @@
- maxchunk = (size_t) atoi (arg);
- if (maxchunk < (size_t) 512)
- {
-- if (maxchunk <= (size_t) 0)
-- {
-- fprintf (stderr, "I/O transfer max must be at least 1 sector\n");
-- usage ();
-- }
-- else
-- maxchunk *= (size_t) 512;
-+ maxchunk *= (size_t) 512;
- }
- if (maxchunk > (size_t) MAXPHYS)
- {
-@@ -423,7 +421,7 @@
- printf ("No arg to n flag\n");
- break;
- }
-- filesize = sizespec (argv [++i]);
-+ filesize = sizespec (arg);
- break;
-
- case 'S':
-@@ -500,11 +498,6 @@
- buf = (char *) (((int) &physbuf [MAXPHYS]) & ~ (alignment - 1)); /* where to put the aligned buffer */
- if (op == 0) /* no ops specified, */
- op = RandomRead | SequentialRead; /* default to the read tests */
-- if (maxchunk & 0x1ff)
-- {
-- fprintf (stderr, "Invalid transfer size, must be multiple of 512: %d\n", maxchunk);
-- usage ();
-- }
- if (device == NULL)
- {
- fprintf (stderr, "No file name specified\n");
-@@ -565,6 +558,27 @@
- fprintf (stderr, "No file size specified\n");
- usage ();
- }
-+#ifndef DIOCGSECTORSIZE
-+ sectorsize = DEV_BSIZE;
-+#else
-+ if (ioctl (file, DIOCGSECTORSIZE, &sectorsize) == -1) /* failed to find native sector size */
-+ {
-+ if (verbose)
-+ fprintf (stderr, "Can't get sector size of %s: %s\n", device, strerror (errno));
-+ sectorsize = DEV_BSIZE;
-+ }
-+
-+#endif
-+ if (maxchunk <= sectorsize)
-+ {
-+ fprintf (stderr, "I/O transfer max must be at least 1 sector\n");
-+ usage ();
-+ }
-+ if (maxchunk & (sectorsize - 1))
-+ {
-+ fprintf (stderr, "Invalid transfer size, must be multiple of %d: %d\n", sectorsize, maxchunk);
-+ usage ();
-+ }
- if (id == NULL) /* no ID specified, */
- {
- id = strrchr (device, '/'); /* find the basename */
-@@ -580,7 +594,11 @@
- childinfo = mmap (NULL,
- nproc * sizeof (struct childinfo),
- PROT_READ | PROT_WRITE,
-+#ifdef MAP_INHERIT
- MAP_INHERIT | MAP_SHARED | MAP_ANON,
-+#else
-+ MAP_SHARED | MAP_ANON,
-+#endif
- -1,
- (off_t) 0 );
- #else
-@@ -835,14 +853,6 @@
- childinfo [proc].writes = 0;
- childinfo [proc].bytes_written = 0;
-
-- /* Get our own file handle */
-- close(file); /* need our own FD */
-- if ((file = open (device, openflags, 0)) < 0)
-- {
-- fprintf (stderr, "Child %d: Can't open %s: %s\n", proc, device, strerror (errno));
-- exit (1);
-- }
--
- /* Don't jump the gun */
- sigemptyset (&allsigs);
- if (sigaction (SIGUSR1, &ignore, NULL) < 0)
-@@ -863,20 +873,13 @@
- length = maxchunk;
- else
- length = (myrandom (proc + nproc * i * 2)
-- % (maxchunk * 2) + 512) & ~0x1ff; /* length of this transfer */
-- offset = ((((off_t) (myrandom2 (proc + nproc * i)) * DEV_BSIZE)
-- % (filesize - SKIPSTART - length)) & ~0x1ff) + SKIPSTART;
-- if ((pos = lseek (file, offset, SEEK_SET)) != offset)
-- fprintf (stderr,
-- "Child %d can't seek to %" Quad "x (%" Quad "x): %s\n",
-- proc,
-- offset,
-- pos,
-- strerror (errno));
-- else if ((iocount = read (file, buf, length)) != length)
-+ % (maxchunk * 2) + sectorsize) & ~(sectorsize - 1); /* length of this transfer */
-+ offset = (((((off_t) myrandom2 (proc + nproc * i)) * sectorsize)
-+ % (filesize - SKIPSTART - length)) & ~((off_t)sectorsize - 1)) + SKIPSTART;
-+ if ((iocount = pread (file, buf, length, pos = offset)) != length)
- {
- int Errno = errno;
-- pos = lseek (file, 0, SEEK_CUR);
-+ pos = offset + (iocount > 0 ? iocount : 0);
-
- fprintf (stderr,
- "offset %" Quad "d, filesize %" Quad "d\n",
-@@ -915,9 +918,9 @@
- if (fixedoffset)
- offset = SKIPSTART; /* start at the beginning */
- else /* random start */
-- offset = ((((off_t) (myrandom (proc + nproc)) * DEV_BSIZE)
-+ offset = (((((off_t) myrandom (proc + nproc)) * sectorsize)
- % (filesize - SKIPSTART /* decide where to start */
-- - (maxrecs * length))) & ~0x1ff) + SKIPSTART;
-+ - (maxrecs * length))) & ~((off_t)sectorsize - 1)) + SKIPSTART;
- if ((offset + maxrecs * length) > filesize) /* XXX */
- {
- printf ("Overrun: offset %" Quad "d, end %" Quad "d, file size %" Quad "d\n",
-@@ -928,18 +931,12 @@
- }
- if ((verbose > 2) && ! fixedoffset)
- printf ("Child %d reading from %" Quad "d\n", proc, offset);
-- if (lseek (file, offset, SEEK_SET) < 0)
-- fprintf (stderr,
-- "Child %d can't seek to %" Quad "x: %s\n",
-- proc,
-- offset,
-- strerror (errno));
- for (i = 1; i <= maxrecs; i++)
- {
-- if ((iocount = read (file, buf, length)) != length)
-+ if ((iocount = pread (file, buf, length, offset)) != length)
- {
- int Errno = errno;
-- off_t pos = lseek (file, (off_t) 0, SEEK_CUR);
-+ off_t pos = offset + (iocount > 0 ? iocount : 0);
-
- fprintf (stderr,
- "offset %" Quad "d, filesize %" Quad "d\n",
-@@ -965,6 +962,7 @@
- {
- childinfo [proc].reads++;
- childinfo [proc].bytes_read += iocount;
-+ offset += iocount;
- }
- }
- break;
-@@ -976,30 +974,28 @@
- length = maxchunk;
- else
- length = (myrandom (proc + nproc * i * 2)
-- % (maxchunk * 2) + 512) & ~0x1ff; /* length of this transfer */
-- offset = ((((off_t) (myrandom2 (proc + nproc * i)) * DEV_BSIZE)
-- % (filesize - SKIPSTART - length)) & ~0x1ff) + SKIPSTART;
-- if (lseek (file, offset, SEEK_SET) < 0)
-- fprintf (stderr, "Child %d can't seek: %s", proc, strerror (errno));
-- else
-+ % (maxchunk * 2) + sectorsize) & ~(sectorsize - 1); /* length of this transfer */
-+ offset = (((((off_t) myrandom2 (proc + nproc * i)) * sectorsize)
-+ % (filesize - SKIPSTART - length)) & ~((off_t)sectorsize - 1)) + SKIPSTART;
-+ if (1)
- {
- if ((RWfrac == 100)
- || ((myrandom (proc + nproc * i * 2 + 1) % 100) < RWfrac) )
- {
-- iocount = write (file, buf, length);
-+ iocount = pwrite (file, buf, length, offset);
- childinfo [proc].writes++;
- childinfo [proc].bytes_written += iocount;
- }
- else
- {
-- iocount = read (file, buf, length);
-+ iocount = pread (file, buf, length, offset);
- childinfo [proc].reads++;
- childinfo [proc].bytes_read += iocount;
- }
- if (iocount != length)
- {
- int Errno = errno;
-- off_t pos = lseek (file, (off_t) 0, SEEK_CUR);
-+ off_t pos = offset + (iocount > 0 ? iocount : 0);
-
- fprintf (stderr,
- "offset %" Quad "d, filesize %" Quad "d\n", offset,
-@@ -1032,36 +1028,30 @@
- if (fixedoffset)
- offset = SKIPSTART; /* start at the beginning */
- else /* random start */
-- offset = ((((off_t) (myrandom (proc + nproc)) * DEV_BSIZE)
-+ offset = (((((off_t) myrandom (proc + nproc)) * sectorsize)
- % (filesize - SKIPSTART /* decide where to start */
-- - (maxrecs * length))) & ~0x1ff) + SKIPSTART;
-- if (lseek (file, offset, SEEK_SET) < 0)
-- fprintf (stderr,
-- "Child %d can't seek to %" Quad "x: %s\n",
-- proc,
-- offset,
-- strerror (errno));
-- else if ((verbose > 2) && ! fixedoffset)
-+ - (maxrecs * length))) & ~((off_t)sectorsize - 1)) + SKIPSTART;
-+ if ((verbose > 2) && ! fixedoffset)
- printf ("Child %d writing to %" Quad "d\n", proc, offset);
- for (i = 1; i <= maxrecs; i++)
- {
- if ((SWfrac == 100)
- || ((myrandom (proc + nproc * i * 2 + 1) % 100) < SWfrac) )
- {
-- iocount = write (file, buf, length);
-+ iocount = pwrite (file, buf, length, offset);
- childinfo [proc].writes++;
- childinfo [proc].bytes_written += iocount;
- }
- else
- {
-- iocount = read (file, buf, length);
-+ iocount = pread (file, buf, length, offset);
- childinfo [proc].reads++;
- childinfo [proc].bytes_read += iocount;
- }
- if (iocount != length)
- {
- int Errno = errno;
-- off_t pos = lseek (file, (off_t) 0, SEEK_CUR);
-+ off_t pos = offset + (iocount > 0 ? iocount : 0);
-
- fprintf (stderr,
- "offset %" Quad "d, filesize %" Quad "d\n",
-@@ -1082,6 +1072,10 @@
- iocount,
- length );
- exit (1);
-+ }
-+ else
-+ {
-+ offset += iocount;
- }
- }
- break;
diff --git a/benchmarks/rawio/pkg-descr b/benchmarks/rawio/pkg-descr
deleted file mode 100644
index d041f38eb063..000000000000
--- a/benchmarks/rawio/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Rawio tests the speed of your low-level character I/O devices.
-It is intended for comparisons of storage devices on a single system,
-and is not suited for cross-platform performance testing.
diff --git a/benchmarks/tmetric/Makefile b/benchmarks/tmetric/Makefile
deleted file mode 100644
index 3946e5f200bc..000000000000
--- a/benchmarks/tmetric/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# New ports collection makefile for: tmetric
-# Date created: June 5th 2000
-# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
-#
-# $FreeBSD$
-#
-
-PORTNAME= tmetric
-PORTVERSION= v0.6
-PORTEPOCH= 1
-CATEGORIES= benchmarks net
-MASTER_SITES= http://michael.bacarella.com/projects/tmetric/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A bandwidth measurement tool
-
-DEPRECATED= Looks like abandonware, no more public distfiles
-EXPIRATION_DATE= 2011-08-01
-
-HAS_CONFIGURE= yes
-ALL_TARGET= ${PORTNAME}
-PLIST_FILES= sbin/tmetric
-USE_BZIP2= yes
-
-MAN8= tmetric.8
-
-post-patch:
- @${REINPLACE_CMD} -e 's%/usr/local%${PREFIX}%' ${WRKSRC}/*
-
-.include <bsd.port.mk>
diff --git a/benchmarks/tmetric/distinfo b/benchmarks/tmetric/distinfo
deleted file mode 100644
index 3364030d5a27..000000000000
--- a/benchmarks/tmetric/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (tmetric-v0.6.tar.bz2) = 5a50b951456ed9b84ab61bf99268266f1eb27bb593a44c6cfaa78db0f80d2455
-SIZE (tmetric-v0.6.tar.bz2) = 23355
diff --git a/benchmarks/tmetric/pkg-descr b/benchmarks/tmetric/pkg-descr
deleted file mode 100644
index 52577440b09d..000000000000
--- a/benchmarks/tmetric/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-A bandwidth measurement tool. It was inspired by pathchar, but the algorithm
-itself is much more elementary. It basically (and sometimes accurately)
-assumes that latency is proportional to available bandwidth. Worth a
-"just-for-fun" run.
-
-WWW: http://michael.bacarella.com/projects/tmetric/