Got it~~ Thank you very much for your patient answer. As a text file is usually read line by line, it seems to be difficult for a single-thread DataLoader to do some simple operations like shuffle, correct? I will try the LMDB solution and share my feedback soon. Thanks again : )