title: When log size is bigger, performance is low
body: <p>I have multiple processes running in an embedded system, running Linux.
  Each process will dump their logs to its corresponding log files,
  Once the log files reach 20MB, the logs will get overwritten from Top to Bottom.</p>
  
  <p>Example:</p>
  
  <p>If suppose, my log has 10 line limit, after writing 10th line, it will go back to 1st line and start over writing the 1st line, 2nd line and so on.</p>
  
  <p>But, the problem is if the log size is smaller, lets say 5MB, the speed is better.
  If the log size is 20MB it becomes slower, the more the file size, the slower the system is.</p>
  
  <p>Could someone please explain the reason behind it?</p>