News for hackers. Stuff that matters.
Re:Libtorrent experience - the poor state of async disk IO by arvidn on Friday October 26, 2012 @10:25PM (#4705116)
one reason why the bittorrent layer could make better decisions on what to flush is because it always need to hash pieces that are downloaded. When blocks are downloaded out of order, it doesn't make sense to flush unhashed blocks before ones that the the hash cursor has already passed. If an unhashed block is flushed, it will have to be read back from disk again, when the piece complete, which is very expensive.

There are no comments on this comment yet.