Commit graph

15 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
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
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
Greg Lehey
f6d11fec1c Upgrade to version 1.2.
Reminded by:	kkenn
2002-10-13 01:51:46 +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
David E. O'Brien
b5d1cecde4 Style nits in the ports I maintain. 2000-02-13 03:25:05 +00:00
David E. O'Brien
d119aa6212 Update to version 1.1.
Submitted by:	grog
2000-01-03 03:20:01 +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