Solved by ptrblck in post #2 
              
              
                If you are using multiple workers, the Dataset will be copied, if I’m not mistaken. 
The first iteration would include these copies as well as the first batch creation in each process, which might be slow. 
However, the following iterations should be faster. 
Are you consistently seeing a slowdown u…