LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-12-2008, 06:07 AM   #1
fredrikis
LQ Newbie
 
Registered: Mar 2006
Posts: 20

Rep: Reputation: 0
Plug-and-play + soft real time possible now with preemption?


Dear all,

I am devloping and maintaining a restricted Linux system that has to meet some soft real-time requirements while at the same time it has to display a reasonably responsive GUI to the user.
This far, I have always seen to that all that has to do with automatic detection of usb devices, automtically invoked database maintenance operations etc have been disabled in order to prevent the system from being disturbed while doing some critical (soft) real-time task. If the user plugs in a usb memory stick, nothing will happen until the user explicitly mounts it through some command.

Now I wonder if this technique and high level of restriction has become outdated.

Could a modern version of the kernel, with some sort of pre-emption enabled, make it possible to enable automatic actions, though with such low priority that the real-time tasks can keep on undisturbed?

Let's say that the system is sending and receiving some signals, and I would want it to do that for two minutes. Is it possible to configure the kernel so that the system won't react on an usb printer, camera or other device plugged in until those two minutes have passed? Sure, this would seem very inresponsive to the user, but during the exectution certain tasks, I think this would be tolerable.

Note that this is not a minimal, embedded system. I try to keep it as much vanilla as I can.

Best regards,
Fredrik
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some detail information on Hard Real-Time Systems and Soft real-Time Systems. LinuxInfo General 3 09-22-2008 03:25 AM
Good forum for real time (Preemption RT patch) kernel discussion kushalkoolwal Linux - Kernel 2 08-04-2008 05:22 AM
Hard/Soft Real Time Scheduler for Linux 2.4 amit_bst Linux - General 1 05-25-2006 06:44 AM
Hard/Soft Real Time Scheduler for Linux 2.4 amit_bst Linux - General 3 05-25-2006 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration