[tahoe-dev] Tahoe 0.6.1 logs file

Francesco Albanese frances.albanese at gmail.com
Sun Jan 20 19:08:47 UTC 2008


Hi,
I'm doing a bit of math with Tahoe 0.6.1: I'm trying to extract peer
selection time from log files.
Could someone tell me if the time it takes to encode a file is mixed
up with the transmission time ?
For instance, let's take a piece of log.

2008-01-17 18:37:04.750Z [Negotiation,client] starting upload of
<allmydata.upload.FileHandle instance at 0xab7ddec>
2008-01-17 18:37:05.009Z [Client] jdochxuk: 'get_permuted_peers:
removing myself from the list'
2008-01-17 18:37:05.149Z [Negotiation,6,172.16.20.8] peer selection
successful for <Tahoe2PeerSelector for upload drd194>: placed all 10
shares, sent 10 queries to 9 peers, 10 queries placed some shares, 0
placed none, got 0 errors
2008-01-17 18:37:05.151Z [Negotiation,6,172.16.20.8] _send_shares,
used_peers is set([<PeerTracker for peer upwj and SI drd194>,
<PeerTracker for peer syya and SI drd194>, <PeerTracker for peer 8jju
and SI drd194>, <PeerTracker for peer t587 and SI drd194>,
<PeerTracker for peer oays and SI drd194>, <PeerTracker for peer w5bu
and SI drd194>, <PeerTracker for peer uqdp and SI drd194>,
<PeerTracker for peer yk5y and SI drd194>, <PeerTracker for peer 1qrt
and SI drd194>])
2008-01-17 18:37:06.101Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 1048578 / 8388624 bytes (12%) of your file.
2008-01-17 18:37:06.996Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 2097156 / 8388624 bytes (25%) of your file.
2008-01-17 18:37:07.903Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 3145734 / 8388624 bytes (37%) of your file.
2008-01-17 18:37:08.797Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 4194312 / 8388624 bytes (50%) of your file.
2008-01-17 18:37:09.695Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 5242890 / 8388624 bytes (62%) of your file.
2008-01-17 18:37:10.596Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 6291468 / 8388624 bytes (75%) of your file.
2008-01-17 18:37:11.490Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 7340046 / 8388624 bytes (87%) of your file.
2008-01-17 18:37:11.825Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 8388624 / 8388624 bytes (100%) of your file.

So, I suppose that the time of peer selection is represented by

2008-01-17 18:37:04.750Z [Negotiation,client] starting upload of
<allmydata.upload.FileHandle instance at 0xab7ddec>
2008-01-17 18:37:05.009Z [Client] jdochxuk: 'get_permuted_peers:
removing myself from the list'
2008-01-17 18:37:05.149Z [Negotiation,6,172.16.20.8] peer selection
successful for <Tahoe2PeerSelector for upload drd194>: placed all 10
shares, sent 10 queries to 9 peers, 10 queries placed some shares, 0
placed none, got 0 errors

And the following one represents the time it takes to encode AND send the data

2008-01-17 18:37:06.101Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 1048578 / 8388624 bytes (12%) of your file.
2008-01-17 18:37:06.996Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 2097156 / 8388624 bytes (25%) of your file.
2008-01-17 18:37:07.903Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 3145734 / 8388624 bytes (37%) of your file.
2008-01-17 18:37:08.797Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 4194312 / 8388624 bytes (50%) of your file.
2008-01-17 18:37:09.695Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 5242890 / 8388624 bytes (62%) of your file.
2008-01-17 18:37:10.596Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 6291468 / 8388624 bytes (75%) of your file.
2008-01-17 18:37:11.490Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 7340046 / 8388624 bytes (87%) of your file.
2008-01-17 18:37:11.825Z [Negotiation,6,172.16.20.8] <Encoder for
drd194> uploaded 8388624 / 8388624 bytes (100%) of your file.


Are my suppositions right ?

Thanks a lot


F.Albanese



More information about the tahoe-dev mailing list