Skip to content
Browse files

Tweak the default config paramters A LOT. If you have a dedicated gig…

…abit network, you certainly don't want to limit to 10mb/sec. Up the download slice size; maybe this won't be the optimal for you, but we tested with 8kb to 1MB slice sizes and this was by far the fastest. Allow more uploads.
  • Loading branch information...
1 parent ccf3b3c commit b6d3892be54aa9dde406e10a05cfa53195e9edf5 @lozzd committed Aug 3, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 BitTornado/download_bt1.py
View
8 BitTornado/download_bt1.py
@@ -40,11 +40,11 @@
False = 0
defaults = [
- ('max_uploads', 1,
+ ('max_uploads', 100,
"the maximum number of uploads to allow at once."),
('keepalive_interval', 120.0,
'number of seconds to pause between sending keepalives'),
- ('download_slice_size', 2 ** 14,
+ ('download_slice_size', 2 ** 17,
"How many bytes to query for per request."),
('upload_unit_size', 1460,
"when limiting upload rate, how many bytes to send at a time"),
@@ -107,9 +107,9 @@
'number of peers at which to stop initiating new connections'),
('check_hashes', 1,
'whether to check hashes on disk'),
- ('max_upload_rate', 10240,
+ ('max_upload_rate', 0,
'maximum kB/s to upload at (0 = no limit, -1 = automatic)'),
- ('max_download_rate', 10240,
+ ('max_download_rate', 0,
'maximum kB/s to download at (0 = no limit)'),
('alloc_type', 'normal',
'allocation type (may be normal, background, pre-allocate or sparse)'),

0 comments on commit b6d3892

Please sign in to comment.
Something went wrong with that request. Please try again.