Process timing issue

John-Mark Gurney jmg at funkthat.com
Tue Feb 22 20:26:51 UTC 2011


Jerome Flesch wrote this message on Tue, Feb 22, 2011 at 10:22 +0100:
> We expected both processes (the test program and openssl) to have each 
> half the CPU time and being scheduled quite often (at least once each 
> 10ms). According to the output of our test program, it works fine for 
> most of the calls to clock_gettime(), but from time to time (about 1 
> loop in 200000 on my computer), we have a latency pike (>= 100ms).

Are you sure there isn't a cron task or something else that is suddenly
waking up, causing a large CPU spike?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list