The code looks fine. But whether or not you get any improved performance in I/O speed depends on the amount of work each worker has to do. For example, if the work load is not much, using num_workers=2 and num_workers=8 may have similar speed.