Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2003 18:00:08 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        "David O'Brien" <obrien@freebsd.org>
Cc:        ticso@cicely.de
Subject:   Re: New alpha 5.x bug
Message-ID:  <20031112175839.F10222-100000@mail.chesapeake.net>
In-Reply-To: <20031112183550.GA23200@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 12 Nov 2003, David O'Brien wrote:

> On Tue, Nov 11, 2003 at 07:42:19PM -0500, Jeff Roberson wrote:
> > I wrote some code last night to write a predictable pattern of bytes on
> > one side of a pipe and read it back in on another.  I ran several sets of
> > these programs over night, one doing 16byte transfers, another doing
> > 16384, and another doing 100,000,000 bytes in 2xPAGE_SIZE chunks.
>
> Can you post the test code?  Maybe Kris could run it on the Alpha custer
> during some builds also.
>

http://www.chesapeake.net/~jroberson/reader.c && writer.c

I use ./writer | ./reader

You can specify a size, such as: ./writer 16384 | ./reader 16384

The sizes must match.  They will read and write at most 32k at a time,
using multiple passes for larger sizes.

Cheers,
Jeff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031112175839.F10222-100000>