diff options
author | ale <ale@FreeBSD.org> | 2004-01-23 01:57:44 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-01-23 01:57:44 +0800 |
commit | a2fa77986207b04d1ad31d26b252b76aeaa21ac0 (patch) | |
tree | 0190473da56730830e7cc5b9d1896d67efbb34da /benchmarks/forkbomb | |
parent | dc764b74da2be472b5f50a904d1a17bb9779fa0b (diff) | |
download | freebsd-ports-gnome-a2fa77986207b04d1ad31d26b252b76aeaa21ac0.tar.gz freebsd-ports-gnome-a2fa77986207b04d1ad31d26b252b76aeaa21ac0.tar.zst freebsd-ports-gnome-a2fa77986207b04d1ad31d26b252b76aeaa21ac0.zip |
Add forkbomb 1.0, system stress testing tool.
PR: ports/61717
Submitted by: Radim Kolar
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'benchmarks/forkbomb')
-rw-r--r-- | benchmarks/forkbomb/Makefile | 20 | ||||
-rw-r--r-- | benchmarks/forkbomb/distinfo | 1 | ||||
-rw-r--r-- | benchmarks/forkbomb/files/patch-forkbomb.8 | 13 | ||||
-rw-r--r-- | benchmarks/forkbomb/pkg-descr | 9 | ||||
-rw-r--r-- | benchmarks/forkbomb/pkg-plist | 1 |
5 files changed, 44 insertions, 0 deletions
diff --git a/benchmarks/forkbomb/Makefile b/benchmarks/forkbomb/Makefile new file mode 100644 index 000000000000..b784505e5c44 --- /dev/null +++ b/benchmarks/forkbomb/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: forkbomb +# Date created: 21 Jan 2004 +# Whom: Radim Kolar +# +# $FreeBSD$ +# + +PORTNAME= forkbomb +PORTVERSION= 1.0 +CATEGORIES= benchmarks +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/benchmark + +MAINTAINER= hsn@netmag.cz +COMMENT= System stress testing tool + +USE_GETOPT_LONG=yes +MAN8= forkbomb.8 + +.include <bsd.port.mk> diff --git a/benchmarks/forkbomb/distinfo b/benchmarks/forkbomb/distinfo new file mode 100644 index 000000000000..36d93977fe41 --- /dev/null +++ b/benchmarks/forkbomb/distinfo @@ -0,0 +1 @@ +MD5 (forkbomb-1.0.tar.gz) = 9419b7740fab3e36e2b275c931363b41 diff --git a/benchmarks/forkbomb/files/patch-forkbomb.8 b/benchmarks/forkbomb/files/patch-forkbomb.8 new file mode 100644 index 000000000000..7306c1d469b1 --- /dev/null +++ b/benchmarks/forkbomb/files/patch-forkbomb.8 @@ -0,0 +1,13 @@ +--- forkbomb.8.orig Thu Jan 22 18:50:56 2004 ++++ forkbomb.8 Thu Jan 22 18:51:54 2004 +@@ -86,8 +86,10 @@ + .TP + .B Linux 2.4 + dead. ++.TP + .B Linux 2.6 + ls command takes between 100 to 200 seconds. System load was 840. ++.TP + .B FreeBSD 5.2 + ls command takes 70 seconds to execute. System load was 800. + .SH "TODO" diff --git a/benchmarks/forkbomb/pkg-descr b/benchmarks/forkbomb/pkg-descr new file mode 100644 index 000000000000..efac7a99671f --- /dev/null +++ b/benchmarks/forkbomb/pkg-descr @@ -0,0 +1,9 @@ +forkbomb is tool for stress testing. It can create many processes using fork(), +eats all available memory using realloc() and accesses this memory. It has +different switches for fine-tuning operation. While classic fork() bomb is good +only for fun, running multiple memory-eaters can be useful for determining +maximum memory which can be given to servers (bind or squid) without taking +machine down. You can test different operation systems with this tool and see +how they are handling the load. + +WWW: http://home.worldonline.cz/~cz210552/forkbomb.html diff --git a/benchmarks/forkbomb/pkg-plist b/benchmarks/forkbomb/pkg-plist new file mode 100644 index 000000000000..7c3d45c645a8 --- /dev/null +++ b/benchmarks/forkbomb/pkg-plist @@ -0,0 +1 @@ +sbin/forkbomb |