These are chat archives for anacrolix/torrent

5th
Feb 2018
Matt Joiner
@anacrolix
Feb 05 2018 01:12
Yes, but it's happening for small torrents too. Instead of 200-500 pieces for a small torrent I'm seeing like 37
Matt Joiner
@anacrolix
Feb 05 2018 04:40
@burekas7 @elgatito is there some way for me to download those ubuntu pastes directly? I get an error about deep linking clicking the "Download as text" button.
Denis
@elgatito
Feb 05 2018 05:22
ha, you should remove the trailing "/", after "plain"
Matt Joiner
@anacrolix
Feb 05 2018 07:21
i just tried boosting the reqq limit from 64
speeds went up an insane amount
one peer was doing this fast: 5220.9 KiB/s
just 1 alone
Denis
@elgatito
Feb 05 2018 07:22
you have generous peers :D
Matt Joiner
@anacrolix
Feb 05 2018 07:22
yeah it's for a debian iso
i've mostly implemented the fast extension now
you should see this in your debug vars:
torrent: {"allowed fast requests sent": 6, "allowed fasts received": 113}
it means peers will send data even when they're choking us
not sure how much it improves speeds, but it's nice
Denis
@elgatito
Feb 05 2018 07:24
i will make a new release which will include all the changes for the previous 4 days :)
btw, what is the purpose of all those BEPs? avoiding blocking and increasing peers number?
Matt Joiner
@anacrolix
Feb 05 2018 07:28
i'ts mostly more efficient network usage, altho i've not seen anything much come from it. about 98% of clients seem to use bep 6, and i've not implemented it for 3 years
the HaveNone and HaveAll are nice tho
faster way to transmit piece status to peers
Matt Joiner
@anacrolix
Feb 05 2018 07:45
removing the / after plain
wtf why is that so broken
argh, now it wants me to login so i can't use curl
Denis
@elgatito
Feb 05 2018 07:47
huh, yes, it's a restricted url
Denis
@elgatito
Feb 05 2018 08:44
strange, torrent started had about 50 peers, then after peer allowed fast 8 messages I see there are 8/8 peers
like it's overriding total number
and few minutes lateer - https://paste.ubuntu.com/26523515/
Matt Joiner
@anacrolix
Feb 05 2018 09:59
It looks like you stopped reading, so your peers dropped you for not downloading
Denis
@elgatito
Feb 05 2018 10:00
first dump was after few seconds after adding the torrent
just after first fast peers messages
Matt Joiner
@anacrolix
Feb 05 2018 10:04
Coincidence I think
Those are not very generous peers. But you need to keep reading, or set the file priority (not an option with memory I guess)
It's very clear in the later dump you are not requesting anything
Denis
@elgatito
Feb 05 2018 10:06
that's a 100% done torrent
Matt Joiner
@anacrolix
Feb 05 2018 10:09
What's the 8/8 thing? Where is that?
Denis
@elgatito
Feb 05 2018 10:11
btp.Torrent.Stats().ActivePeers,
btp.Torrent.Stats().TotalPeers
in the first log you can see activepeers = 5
and total is 6
and you see number of peers got from trackers
Matt Joiner
@anacrolix
Feb 05 2018 10:13
Yes
Later there are heaps of peers, but it's choosing I think not to connect as it doesn't need them
Denis
@elgatito
Feb 05 2018 12:29
making a release with all those changes
Matt Joiner
@anacrolix
Feb 05 2018 12:30
yeah, 4 hours here with no problems in prod
haven't tested the go-libutp buffer change tho
not in prod
Denis
@elgatito
Feb 05 2018 12:31
it's enabled on my test env, no panics, download seems fine
Matt Joiner
@anacrolix
Feb 05 2018 12:32
k
Greyireland
@greyireland
Feb 05 2018 15:10
hello, how to install the torrent?

github.com/anacrolix/mmsg

../../../mmsg/mmsg.go:29: cannot use pr (type PacketReader) as type net.Conn in argument to socket.NewConn:
PacketReader does not implement net.Conn (missing Close method)

github.com/anacrolix/sync

../../../sync/sync.go:143: syntax error: unexpected = in type declaration
../../../sync/sync.go:144: syntax error: unexpected = in type declaration

get this error!!!

Denis
@elgatito
Feb 05 2018 15:41
Whicb command you run?
*which