I have a super large file to read (many terabytes). I can easily read the file using one thread but I noticed that it takes a long time for the program to read the file line by line. I was curious, is there any benefits from reading a large file in chunks using multiple threads? I'm thinking that threads will actually slow things down because I'm technically not doing any computations while I'm reading the file so its not like I can use a chunk of the file for something.
Would using a single thread be faster in this case vs multi-threads?