|
Re: Priority, Speed: msg#00047network.bit-torrent.libtorrent
On Apr 25, 2006, at 09:28, Florin Braghis wrote: Hi, Not for the moment. Right now one can only choose to download or not download certain files. However, I have been experimenting some with generalizing the priority concept to not only be based on rarity. For the moment mostly for downloading popular pieces in sequence. 2. Speed The TCP slow-start would probably account for about 2 seconds I guess. The main reason is probably the function in libtorrent that adjusts the download queue size depending on download speed. The plan is to make it configurable, but right now it's hardcoded. The number of out standing requests is linearly dependent on the download speed from that peer. The constant should probably be increased there then. I haven't really tested libtorrent in a 100Mbit/s setting, so any input is very welcome. If you're using 0.9.2 (cvs, 'libtorrent_asio' branch) you could try tweaking the desired request queue time, line 181 in session.hpp. Right now it's set to 3 seconds. if you double that you may get faster accelerating download speeds. b) Downloads between two peers won't go faster than 1Mb/s - is it a limitation built into the library ? I presume you mean 1 MB/s, that is also the download speed I get at most. Slightly about 1 MB/s, but that's the hard limit on my internet connection as well. Is it possible to override it (set_download_rate_limit doesn't seem to help) ? It's not an intentional limitation at least. I'm not sure what could be causing this. You don't think it may be your drive that is the bottleneck? I mean, with random seeks things could get pretty slow. Maybe it's the download buffer size. Are you testing on a LAN with one other peer? trying to push the speed for a single connection? I should probably take a look at such a setting trying to tweak it. thanks. -- Arvid Norberg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Priority, Speed: 00047, Florin Braghis |
|---|---|
| Next by Date: | Re: Disk cache: 00047, Arvid Norberg |
| Previous by Thread: | Priority, Speedi: 00047, Florin Braghis |
| Next by Thread: | Re: Priority, Speed: 00047, Florin Braghis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |