LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2008, 08:43 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Check available clocksource?


A linux kernel uses clocksource for doing many activities. I am doing some latency comparison benchmarking on my system and hence I would like to know the following:

How can I know what different clock sources (for example: hpet acpi_pm jiffies tsc) are available on my system.

And which one of them the Linux kernel is using currently?

I am using Debian 4.0 with 2.6.26 kernel.


Thanks
 
Old 08-25-2008, 05:37 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
http://kerneltrap.org/search/node/clocksource
 
Old 02-22-2010, 02:56 PM   #3
jenaniston
LQ Newbie
 
Registered: Jan 2010
Location: Malibu, California
Distribution: Fedora 13 KDE
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by kushalkoolwal View Post
A linux kernel uses clocksource for doing many activities. . . .
How can I know what different clock sources (for example: hpet acpi_pm jiffies tsc) are available on my system.

And which one of them the Linux kernel is using currently?
. . .
The two files in /sys/devices/system/clocksource/clocksource0/ . . .

available_clocksource

current_clocksource

(kernel: 2.6.28-11-generic /and also others of course)
 
  


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
Clocksource tsc unstable punt Fedora 11 12-29-2008 03:16 AM
Unstable Clocksource with SMP kernels after 2.6.20 thesk8ingtoad Slackware 4 08-15-2007 02:19 AM
Health Check / Server Completion Check Software? tells Linux - Enterprise 0 04-20-2006 11:03 AM
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

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

All times are GMT -5. The time now is 07:09 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
Open Source Consulting | Domain Registration