In my C program i am using very large file(approx 400MB) to read parts of it frequently. But due to large file the performance of the program goes down very badly. It shows high I/O usage and I/O wait time.
My question is, What are ways to optimize or tune I/O on linux or how i can get better performance?
I am using
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
2.6.9-42.EL, x86_64 GNU/Linux