LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-06-2012, 02:07 AM   #1
elico
Member
 
Registered: Dec 2011
Posts: 145

Rep: Reputation: Disabled
INTERRUPTS vs MULTI TASKING


Hi all

A real time embedded board can be in two forms
BARE METAL w/o os and os based like linux based .

My question is why os based board that offers multi tasking : tasks and threads,
why not rely on bare metal based on priority based interrupts ?

Thanks
Eiico

Last edited by elico; 05-06-2012 at 02:09 AM.
 
Old 05-06-2012, 03:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,786

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
I can hardly understand your question. I think a multitasking/multithreading os cannot work as a real time embedded system, because you can never guarantee if the given thread was running at the time it would need to. And also you cannot guarantee if the os could switch to that process in time. A bare metal system based on interrupts will never handle irqs as threads and do a time based multitasking.
 
Old 05-06-2012, 06:00 AM   #3
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
os I MEANT linux .

Isn't LINUX just for that, threads and processes ?
A bare metal board is for IRQs only not for threads, I realise that .

"I think a multitasking/multithreading os cannot work as a real time embedded system"
again I meant LINUX based board .

Thanks
Elico
 
Old 05-06-2012, 06:08 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
When you say a 'bare metal board without OS', I am assuming you mean using analog and/or digital logic circuits only. If that's the case, then the question becomes how complex is the required function? At low levels of complexity and with fixed function, a non-OS configuration will be preferable. As complexity of function increases, and the requirement for a multitude of functions is added, a software-based board quickly becomes more cost-effective.

@pan64 A realtime OS, by definition, guarantees service times. Linux has a real-time patch available that provides hard realtime service.
 
1 members found this post helpful.
Old 05-06-2012, 07:20 AM   #5
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
thanks
Elico
 
  


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
Multi tasking with KDE 4 siawash Slackware 12 04-06-2010 06:55 AM
LXer: Java performance does not scale as well as C++ with multi-tasking LXer Syndicated Linux News 0 07-20-2009 01:12 AM
version 6 Fedora: bad multi-tasking in standard, 64-bit buggy Timmi Linux Mint 12 04-10-2009 04:29 PM
fedora lacks multi network tasking? bookgekgom Linux - Networking 0 06-11-2007 01:32 PM
Very Poor Multi-tasking, Apparent Hard Drive I/O Issue lasindi Linux - Software 3 01-10-2005 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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