/* global.h
 *
 * $Id: global.h,v 1.12 2000/12/18 00:08:37 alderman Exp $
 *
 * Set some globally used constants.
 */
#ifndef GLOBAL_H
#define GLOBAL_H

/* This is the size, in NUMBYTES, of the file.
 * So, if NUMBYTES is ONE_MEGA, and this is 25, each file is 25 megabytes. */
#define HOWBIG 100

/* Handy 1024*1024 */
#define ONE_MEGA 1048576

/* The number of bytes to use in a single WRITE when creating the files. */
#define NUMBYTES ONE_MEGA

/* The maximum number of streams; affects the amount of memory used by 
 * readers which use multiple threads. */
#define MAX_STREAMS 70

/* The maximum size of the blocks.  Affects memory usage. */
#define MAX_BUF_SIZE ONE_MEGA

/* The maximum number of rounds.  Small effect on memory usage. */
#define MAX_NUM_ROUNDS 150

#define DISKSIZE 8600

#ifdef __SOLARIS__
#define RAWDEV "/dev/rdsk/c2t3d0s6"
#define DIRNAME "/fsys/swift/d"
#define DEVNAME "/dev/dsk/c2t3d0s6"
#else
#define RAWDEV "/dev/rda2s1e"
#define DIRNAME "/fsys/swift/c"
#define DEVNAME "/dev/da2s1e"
#endif

#endif /* GLOBAL_H */
