Commit graph

27 commits

Author SHA1 Message Date
Stefan Eßer
081930c498 Fix rawio for sequential read/write tests:
Revision 1.3 of patch-ad worked around the problem, that only one writer
is allowed to allow a partition through GEOM. The fix was not complete,
leading to the file position not been incremented during reads and writes,
thus not testing sequential performance, but performance of cached reads
and writes, in general.

This fix makes rawio report reasonable sequential performance again,
but I'm still very suspicious with regard to randomized start positions
working. The results do not show the expected variation of sequential
read/write performance. I have not had time to look into this any deeper,
though, and thus decidied to not delay the commit any further ...
2006-10-09 17:19:54 +00:00
Edwin Groothuis
ee8f060254 Update port: benchmarks/rawio update MASTER_SITE
- Update MASTER_SITE to fix fetch problem.

Instead of replacing the master-site, I have added the second one
until Greg fixes his ftp site.

PR:		ports/87988
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
2005-11-22 07:38:03 +00:00
Brian Feldman
19077a79c6 Re-support FreeBSD 4 (which has sys/disk.h as a kernel header, not a
userland/kernel header).  No PORTREVISION bump since this is a fix
for compilation.

PR:	ports/88319
Submitted by:	marck
2005-11-01 17:00:41 +00:00
Brian Feldman
33bf00180f Modify rawio(1) to work with GEOM by losing the multiple-open(2)
semantics.  As GEOM prevents actual concurrent accesses that are
deemed generally unsafe.  As we know, as a rawio(1) user, that we
are intending to do something ostensibly unsafe, we can use a single
open(2) shared among the worker children and then use pread(2) and
pwrite(2) instead of read(2), write(2) and lseek(2).  This properly
bypasses the sanity checks GEOM makes for concurrent access.

Additionally, sector size isn't and hasn't ever been necessarily 512
(or a multiple thereof), but we don't have many classical examples
of devices not the common case that we'd test rawio(1) with.  In my
particular case, I'm using graid3(8) and have an effective sector size
of 1024.  The program now attempts to use DIOCGSECTORSIZE to find
the correct base for a device and thus Works For Me.

Cursory review by:	MAINTAINER
2005-10-26 18:40:43 +00:00
Trevor Johnson
e1177f5c54 Add size data.
Approved by:	maintainers
2004-03-18 02:27:55 +00:00
Trevor Johnson
a049dd78cc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
Edwin Groothuis
04a340f14c [PATCH] benchmarks/rawio has a bug in commandline option parser
run rawio with -s option(size of raw disk device), as follows:
	    % rawio -a -s 30029328k -v 1 /dev/ad4c
	returned:
	    Invalid length specification: -v

	in source rawio.c, it skips parsing argument at one point.

PR:		ports/58567
Submitted by:	OOTOMO Hiroyuki <ootomo@za.wakwak.com>
Approved by:	maintainer timeout
2004-01-10 07:57:35 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Edwin Groothuis
9d2ba0bd5a Remove obsolete patch-files
PR:		ports/40535
Submitted by:	Tilman Linneweh <tilman@arved.de>
Approved by:	grog@freebsd.org
2002-11-05 00:32:54 +00:00
Greg Lehey
f6d11fec1c Upgrade to version 1.2.
Reminded by:	kkenn
2002-10-13 01:51:46 +00:00
Greg Lehey
937e2cc97d Make this build again on systems with no MAP_INHERIT on mmap. 2002-03-29 06:27:12 +00:00
Greg Lehey
3866c9a4ea Correct checksum.
Nose rubbed in it by: kris
2001-03-10 04:53:28 +00:00
Greg Lehey
3aecce6126 Include sys/random.h, not machine/random.h.
This should fix the conditional build breakage introduced in revision
1.2
2001-01-04 06:58:01 +00:00
Greg Lehey
442c9545e4 Update checksum. 2001-01-04 06:51:21 +00:00
David E. O'Brien
ba7d34a436 Grog is willing to maintain this now. 2000-09-15 03:04:00 +00:00
Michael Haro
a0cb9ec98b update with the new PORTNAME/PORTVERSION variables 2000-04-08 22:04:57 +00:00
David E. O'Brien
e05c25a8bf Restore useless version required comments. 2000-03-22 00:28:26 +00:00
David E. O'Brien
da36feaffe Remove the "version required" line. 2000-03-20 02:37:50 +00:00
Kris Kennaway
3a3d9911aa Chase the checksum (no changes).
Noticed by:	bento
2000-02-27 08:15:23 +00:00
David E. O'Brien
b5d1cecde4 Style nits in the ports I maintain. 2000-02-13 03:25:05 +00:00
Steve Price
727779dfca Don't try to include machine/random.h on the Alpha. 2000-01-28 17:26:21 +00:00
Michael Haro
0f49af6984 fix bento build errors 2000-01-22 11:03:46 +00:00
David E. O'Brien
d119aa6212 Update to version 1.1.
Submitted by:	grog
2000-01-03 03:20:01 +00:00
Steve Price
b7e4c10bea Make this compile again in light of the recent signal changes. This is
no fault of Marcel's changes but rather poor style.   Bruce gives a much
longer version but I won't repeat that here. :)
1999-11-14 03:18:49 +00:00
Tim Vanderhoek
4f1d4da0af Caps, no period. 1999-08-29 17:49:24 +00:00
David E. O'Brien
fe1e09a6cc Change Id->FreeBSD. 1999-08-25 04:58:03 +00:00
David E. O'Brien
1d73744cbf Greg Lehey's util for performance testing of low-level storage devices 1999-08-08 17:03:16 +00:00