distributed icon indicating copy to clipboard operation
distributed copied to clipboard

Scheduler's TCPServer fails to handle 3k concurrent connection establishment requests

Open tddg opened this issue 7 years ago • 3 comments

We are trying to setup a Dask cluster on a 3-thousand node cluster. We did some preliminary scalability micro-benchmarking by following the examples provided on http://matthewrocklin.com/blog/work/2017/07/03/scaling. We observed extremely long latencies (3 - 7 seconds) when thousands of workers were trying to establish a connection to the scheduler simultaneously. We suspect it is the high concurrency at the worker side that causes significant resource contention at the scheduler side, given that the scheduler is listening on a single port with a single core.

We were wondering if this issue has occurred at such a scale, and if there are any benchmarking results about the scalability of the scheduler's TCP server (both connection handling and request processing).

tddg avatar Jul 02 '19 15:07 tddg

@tddg very interesting! Is it possible to share more about the workload you were running and/or the task graph ? There are some notes on efficiency on the dask website which may be worth consulting https://distributed.dask.org/en/latest/efficiency.html#efficiency

Some additional questions:

  • How did you go about setting up the cluster ?
  • What is the worker configuration ? nthreads/ncores ?

quasiben avatar Jul 11 '19 21:07 quasiben

Just checking in here, @tddg can you provide any of the additional information @quasiben mentioned?

jrbourbeau avatar Nov 02 '21 23:11 jrbourbeau

Closing due to lack of reply. Feel free to re-open if you'd like to continue

jrbourbeau avatar Nov 16 '21 23:11 jrbourbeau