it appears the write queue performs just as good at 10 MB as 50 MB

This commit is contained in:
Arvid Norberg 2011-03-27 22:22:57 +00:00
parent fdd23fc629
commit 428ab186af
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ namespace libtorrent
// the max number of bytes pending write before we throttle // the max number of bytes pending write before we throttle
// download rate // download rate
set.max_queued_disk_bytes = 50 * 1024 * 1024; set.max_queued_disk_bytes = 10 * 1024 * 1024;
// flush write cache in a way to minimize the amount we need to // flush write cache in a way to minimize the amount we need to
// read back once we want to hash-check the piece. i.e. try to // read back once we want to hash-check the piece. i.e. try to
// flush all blocks in-order // flush all blocks in-order