summaryrefslogtreecommitdiff
path: root/benchmarks/forkbomb
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-10-13 08:17:51 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-10-13 08:17:51 +0000
commit5eeb76e6bf93904f0e524175fe0767b992a0add6 (patch)
tree4faaa65f21efd0b59d35832af7966b333e4fd701 /benchmarks/forkbomb
parentba99da166b88157d0a95e95e1d11ad1cd1894408 (diff)
downloadpkgsrc-5eeb76e6bf93904f0e524175fe0767b992a0add6.tar.gz
Initial import of forkbomb-1.4.
Classic Unix fork() bomber. Includes CPU hanger, memory allocator, memory toucher and zombie dance team. You can test how will your computer behave under heavy CPU, process, memory load. Forkbomb is also useful as realloc() benchmark.
Diffstat (limited to 'benchmarks/forkbomb')
-rw-r--r--benchmarks/forkbomb/DESCR5
-rw-r--r--benchmarks/forkbomb/Makefile22
-rw-r--r--benchmarks/forkbomb/PLIST3
-rw-r--r--benchmarks/forkbomb/distinfo5
4 files changed, 35 insertions, 0 deletions
diff --git a/benchmarks/forkbomb/DESCR b/benchmarks/forkbomb/DESCR
new file mode 100644
index 00000000000..98344dc9356
--- /dev/null
+++ b/benchmarks/forkbomb/DESCR
@@ -0,0 +1,5 @@
+Classic Unix fork() bomber. Includes CPU hanger, memory allocator,
+memory toucher and zombie dance team. You can test how will your
+computer behave under heavy CPU, process, memory load.
+
+Forkbomb is also useful as realloc() benchmark.
diff --git a/benchmarks/forkbomb/Makefile b/benchmarks/forkbomb/Makefile
new file mode 100644
index 00000000000..de033b79ed4
--- /dev/null
+++ b/benchmarks/forkbomb/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/13 08:17:51 xtraeme Exp $
+#
+
+DISTNAME= forkbomb-1.4
+CATEGORIES= benchmarks
+MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://home.tiscali.cz:8080/~cz210552/forkbomb.html
+COMMENT= Classic Unix fork() bomber
+
+INSTALLATION_DIRS+= bin man/man8
+
+do-build:
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${WRKSRC}/forkbomb.c -o \
+ ${WRKSRC}/forkbomb
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${PREFIX}/${PKGMANDIR}/man8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/forkbomb/PLIST b/benchmarks/forkbomb/PLIST
new file mode 100644
index 00000000000..f1c7c5f6fac
--- /dev/null
+++ b/benchmarks/forkbomb/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/13 08:17:51 xtraeme Exp $
+bin/forkbomb
+man/man8/forkbomb.8
diff --git a/benchmarks/forkbomb/distinfo b/benchmarks/forkbomb/distinfo
new file mode 100644
index 00000000000..cf2682f60cf
--- /dev/null
+++ b/benchmarks/forkbomb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/13 08:17:51 xtraeme Exp $
+
+SHA1 (forkbomb-1.4.tar.gz) = 25e3d172da96e2c31d90878794ccd48c98dbfaf1
+RMD160 (forkbomb-1.4.tar.gz) = 9f3a8b92c9f12f7181af49271a020cfe107faea8
+Size (forkbomb-1.4.tar.gz) = 4718 bytes