Skip to content

Threads

vintol edited this page Aug 28, 2016 · 1 revision

No. of Threads

listal-dl asks user every time about the no.of threads to use.

Each threads works as a instance of the listal-dl. Each thread is assigned a page to process or image to download. So, 10 threads mean that at the same time 10 different pages are being processed or 10 images being downloaded. But each thread is also allocated some memory and process time.

So, Higher no of threads will improve the performance but will also consume higher resources.

At no time the speed of operation can be higher than the slowest part of the operation which is network transfer. So, the speed or performance is limited by the internet speed. Obviously, you will never beable to achive higher spped than your allocated bandwidth by increasing no of threads.

So, there is a balance to be struck. Optimum no of threads can be found out for your system setup by experimenting.

You can monitor the network bandwidth used by listal-dl or your pc if no other process is using internet. I use the lightweight nmon.

I have found 10 threads to be ideal in 2 Mbps system

Clone this wiki locally