LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-15-2012, 09:38 AM   #1
RogueWarrior65
Member
 
Registered: Aug 2010
Posts: 48

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?
 
  


Reply



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 04:13 AM
'Unstable' made my computer unstable...;) debuser123 Debian 10 01-26-2007 04:11 AM
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:26 AM.

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