« Previous | Next » 

Revision cad39033


Added by Stavros Sachtouris over 11 years ago

Gradual thread inc/decrease in up/download

Thread inc/decrease is now generic for all clients that might need it
with the method _watch_thread_limit

Algorithm: set a small thread limit and when reached wait for active threads to
finish. Measure avg time. If avg time decreases, increase thread limit
If avg time increases, decrease thread limit.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences