Commit 7af8d0bf authored by Mike Hibler's avatar Mike Hibler

Reduce burstsize back to 48, 64 is too big for static operation.

Minor nits.
parent f96fa3d3
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2002 University of Utah and the Flux Group.
* Copyright (c) 2000-2003 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -90,7 +90,7 @@
* clients' ability to generate requests which is limited by their ability
* to decompress and write to disk.
*/
#define SERVER_BURST_SIZE 64
#define SERVER_BURST_SIZE 48
#define SERVER_BURST_GAP 1000
/*
......
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2002 University of Utah and the Flux Group.
* Copyright (c) 2000-2003 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -326,7 +326,7 @@ ClientRequest(Packet_t *p)
#ifdef STATS
else if (chunkmap != 0 && count == CHUNKSIZE) {
if (chunkmap[chunk]) {
if (debug)
if (debug > 1)
log("Duplicate chunk request: %d", chunk);
DOSTAT(dupsent++);
} else
......
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-2002 University of Utah and the Flux Group.
* Copyright (c) 2000-2003 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -165,7 +165,7 @@ ClientStatsDump(unsigned int id, ClientStats_t *stats)
stats->u.v1.dupchunk);
log(" dupblocks(in progress): %d",
stats->u.v1.dupblock);
log(" lost blocks: %d",
log(" partial chunk requests: %d",
stats->u.v1.lostblocks);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment