LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-27-2009, 04:15 AM   #1
Kirilla
LQ Newbie
 
Registered: Feb 2009
Location: Budapest
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Question Tick, jiffies and time interpolation


Hi.

I'm a little bit confused with kernel synchronization. Can somebody explain the relation between tick, jiffy, timers and time interpolation?

What does the kernel do every tick?
What does the kernel do between two ticks?
What is the benefit of time interpolation?
Tick is the timer interrupt?
Jiffies are the number of ticks?

regards,
Kirilla
 
Old 02-27-2009, 09:04 AM   #2
Kirilla
LQ Newbie
 
Registered: Feb 2009
Location: Budapest
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Tick, jiffies and time interpolation

Hi,

I think I found the answer some of my questions.

What does the kernel do every tick?
Check the runque and decide which process will get the CPU.

What does the kernel do between two ticks?
Runs the "current" process. I don't know why, but this simple thing was not clear for me. "The amount of time between the timer interrupt is
called a timeslice."

What is the benefit of time interpolation?
It is a question in the future too.

Tick is the timer interrupt?
yes

Jiffies are the number of ticks?
yes

regards,
Kirilla
 
  


Reply

Tags
kernel


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
About jiffies? m1n Linux - Newbie 1 02-27-2009 10:23 AM
Jiffies Rawjoe Linux - Kernel 5 08-08-2006 08:42 AM
Cubic interpolation leonidg Programming 5 03-06-2005 04:47 AM
start date and start time of a process - jiffies Yoko Programming 0 12-04-2004 09:12 AM
dm won't tick in services Boffy Mandriva 3 09-23-2004 05:06 PM


All times are GMT -5. The time now is 11:44 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration