[PROXYPER] Small block sizes

Daniel Trads danielts at post8.tele.dk
Wed Oct 4 21:48:14 EDT 2000


Hi,

I'm running a Linux PProxy 313 for Team 3682 which distributes approx.
10,000 blocks a day. The participants' cows are set to crunch
32*2^28-blocks but it is seldom that the client gets such big blocks.
Mostly the clients' process blocks with sizes from 1*2^28 to 3*2^28.
Then I made a small script which calculates the average blocksize
recieved from the fullproxies:

[jonsiii at fryns ~/testlogs]$ cat average
#!/bin/sh
zcat conlog*.gz | grep "Received rc564" | cut -b 68- > sizes
echo 0 >> sizes
cat sizes | bc code


[jonsiii at fryns ~/testlogs]$ ./average
Total 1*2^28 blocks    208749
Total number of blocks 39879
Average                5.23

A blocksize of 5.2?!??? The PProxy asks for 64*2^28-blocks and about 67%
of the request ends with blocksizes<=3. Why?

-- 
Daniel Trads <danielts at post8.tele.dk>


Code to bc:
[jonsiii at fryns ~/testlogs]$ cat code
scale=2
d=1
 
while (d == 1) {
  b=read()
  if (b == 0) d=0;
  a=a+b;
  c=c+1;
}
 
"Total 1*2^28 blocks "; a
"Number of blocks    "; c-1
"Average blocksize   "; a/c
 
quit
--
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net



More information about the proxyper mailing list