Your reading skills are lacking. Here the OP says he needs to read a small file and write to a large file. The link you gave as well as the nonsense you posted ("threads don't help on a single-core processor, but multi-core machines magically reduce IO time") do not help with that problem.