linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04683
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2647: quadruple min segment size to 256KiB
------------------------------------------------------------
revno: 2647
committer: cologic <ne5@xxxxxxxxxxx>
branch nick: dcplusplus
timestamp: Mon 2011-10-24 10:01:30 -0400
message:
quadruple min segment size to 256KiB
modified:
changelog.txt
dcpp/UserConnection.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2011-10-15 14:59:13 +0000
+++ changelog.txt 2011-10-24 14:01:30 +0000
@@ -46,6 +46,7 @@
* The country format can be customized, see help for available codes (poy)
* Handle GeoIP database updates from within the program (iceman50, poy)
* [L#783516] ZLIF compression support (iceman50)
+* Increase minimum download segment size from 64KiB to 256KiB (cologic)
-- 0.782 2011-03-05 --
=== modified file 'dcpp/UserConnection.cpp'
--- dcpp/UserConnection.cpp 2011-08-11 13:02:19 +0000
+++ dcpp/UserConnection.cpp 2011-10-24 14:01:30 +0000
@@ -222,7 +222,7 @@
// # ms we should aim for per segment
static const int64_t SEGMENT_TIME = 120*1000;
-static const int64_t MIN_CHUNK_SIZE = 64*1024;
+static const int64_t MIN_CHUNK_SIZE = 256*1024;
void UserConnection::updateChunkSize(int64_t leafSize, int64_t lastChunk, uint64_t ticks) {