Bug: 2.6.15 Process accounting fails to account for small time slice loads (still)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tom Burns
Date: Tuesday, January 30, 2007 - 9:24 am

The bug described back in 2004 in the following message still seems to exist:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-05/4313.html

Essentially, it appears that if a process sleeps before it uses up a
complete jiffy then no charge is made to its process accounting table.

This problem still exists in the same manner in kernel:

 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686
i386 GNU/Linux

The linked message above contains the necessary code to easily test
for the problem.  It compiles cleanly, just be sure to include -lrt on
the command line.

Cheers,
Tom Burns
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bug: 2.6.15 Process accounting fails to account for small ..., Tom Burns, (Tue Jan 30, 9:24 am)
Re: Bug: 2.6.15 Process accounting fails to account for sm ..., Christian Borntraeger, (Tue Jan 30, 12:25 pm)