Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-15-2012, 10:38 AM   #1
LQ Newbie
Registered: Aug 2010
Posts: 21

Rep: Reputation: 0
Question Help: Unstable timers

I recently built a 3.5.7 kernel for my EP9302 ARM board (a Technologic Systems 7350) and now the timing is very inconsistent. I built the kernel with HZ set to 1000 so usleep(1000) should give me 1 millisecond sleeps (Okay, in practice a 3.0.4 kernel needed usleep(948)) but when I try to verify the timing by looking at Timer 4 on the processor, it's sleeping twice as long as it should be and it varies by as much as 50% on successive sleeps. I see the same behavior on ITIMER_REAL. Very inconsistent.

Any ideas what I may have done wrong in building the kernel? Does using uClibC versus glibc have any bearing on this?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACE REACTOR timers or POSIX timers sbauer72 Programming 4 02-26-2012 05:13 AM
'Unstable' made my computer unstable...;) debuser123 Debian 10 01-26-2007 05:11 AM
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 02:38 PM

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration