« Previous | Next » 

Revision cad39033

IDcad39033211a319569a34aa19c7b67efeba1fb5f

Added by Stavros Sachtouris over 10 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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences