LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2009, 12:35 PM   #1
wevl
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Rep: Reputation: 0
Driver Latency


Hello All:
I am working on a project which required writing a driver.
The hardware is an embedded VersaLogic PC-104 system (ISA bus).
The processor is a Pentium M, 1.6 GHz with 512 MB memory.
Operating system is Slackware 12.0 Linux with a 2.6.25.7 kernel compiled with the low latency preemptible kernel.

One of the system tasks involves operating a rotary knife device to size a product moving at 1,000 Ft. / Min. ( 200 In. / Sec). Our desired interrupt period for the driver is 62.5 uSec. generated by a counter / timer on one of the ISA I/O boards.

At times, the driver's clock interrupt may not run for >1.2 milliseconds. This doesn't happen very often and when it does happen, it has to happen at the wrong time to degrade our accuracy. But as all of you know, if it can happen, given enough time, it will happen.

Does anyone have experience with driver latency? Is this the normal latency for a non real-time Linux driver? Any suggestions for improvement?

Incidentally, running without X doesn't improve things. The latencytop utility apparently only works for user-land processes, so it didn't help.

As an aside, I have written a simulator to test the system using real-time Linux. The real-time Linux system is a 1.8 GHz Athlon that is happy running a 31.25 uSec period interrupt with ~ 15 uSec. max latency - roughly a 80x improvement.

Thanks
wevl
 
Old 01-21-2009, 01:45 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
See the answers to your other post here http://www.linuxquestions.org/questi...atency-698236/ .
 
  


Reply


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
Driver Latency wevl Programming 3 01-21-2009 12:35 PM
latency vs Throughput sulekha Linux - Networking 4 12-16-2008 05:42 PM
NFS Latency xonogenic Linux - Server 2 12-13-2007 05:56 PM
measuring b/w, latency... prozac Linux - Networking 3 03-28-2006 08:06 AM
Latency Steve Roberts Linux - General 0 02-13-2001 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:03 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