2

I am running a multiple parallel file handling process (minimum 200 processes) where each process is reading a logs of varying size(0-50mb) to capture a real time data of the logs .I am running my jobs on 16 cores and 8 gb ram Linux machine.

But there is a huge lag between the cpu and elapsed time process of the files.

Can you please explain why there is such lag b/w cpu and elapsed time with some examples?Also is there any method to reduce the wait times of these processes.

vikas chib
  • 83
  • 8

1 Answers1

0

What distro are you running? I ask because one way to approach this would be to use a different I/O scheduler but your distro may not support changing your scheduler. Certain I/O schedulers are best for different filesystems and architectures so I would recommend looking here to get an idea of different schedulers. As for the discrepancy you're experiencing, I honestly have no idea what that's happening.

Also, I'm assuming the log files are located on an SSD?