Benchmarking dataloading

I’m trying to benchmark different datasets object with torch.utils.benchmark.
I have noticed that I can control the size of threadpool through the num_threads param.
In torch.utils.data.DataLoader there exists is the num_workers param.
What is the diiffernce between thus two params; num_workers and num_threads?
I have noticed that changing num_threads didn’t affect the benchmarking results

Maybe this thread helps!