Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 05-26-2013, 06:31 PM   #1
LQ Newbie
Registered: May 2013
Location: Fayetteville NC
Posts: 5

Rep: Reputation: Disabled
scheduling processes

I am a novice to embedded linux. What I would like to know is how do you schedule a process(basic round robin)on embedded linux system how do you inform kernel of process name(exe)and priority? Is this done with scripts? I think the init. routine calls a script that i can launch my process from There a few that are called from init what(and where)are script choices? and how do I prioritize my real time processes?

Last edited by glennpl; 05-29-2013 at 12:08 PM.
Old 05-27-2013, 09:29 AM   #2
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,943
Blog Entries: 28

Rep: Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234Reputation: 2234
Member Response


Welcome to LQ!
Originally Posted by glennpl View Post
I(new to embedded linux) am thinking of buying robert love book on linux kernel. What I would like to know is how do you schedule a process(basic round robin)on embedded system? After image of linux is created and copied to embedded board how do you update processes or add process to kernel do you recreate kernel and recopy image to target board?
Look at these links for reference;
From Linux Kernel section of Slackware®-Links;

Anatomy of the Linux kernel <- 'The Linux® kernel is the core of a large and complex operating system, and while it's huge, it is well organized in terms of subsystems and layers. In this article, you explore the general structure of the Linux kernel and get to know its major subsystems and core interfaces. Where possible, you get links to other IBM articles to help you dig deeper'

Linux Kernel Interactive Map <- Great! With linked references within map.

Many links in that section to help you.
Free online information listed at Linux Books & Online Magazines

1 members found this post helpful.
Old 05-29-2013, 10:05 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
It sounds like you may be overthinking the whole question. Scheduling is done internally to the kernel, and is not generally a matter for end users or userspace applications in any general sense. There are some ways that you can influence the scheduling algorithm that is built into the kernel by selecting appropriate configurations at build time. This is probably not what you want.

In general, any userspace process will be scheduled to run by the kernel according to the process's requirements and state. It may do various things that cause it to enter various states within the kernel's scheduler, such as request IO, sleep, etc. You may use nice to influence any process's priority within the scheduler.

In other words, just run your program, and let the kernel figure out how to schedule it's runtime.

--- rod.



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
Scheduling kernel and user processes on separate cpus. qubemaster12 Linux - Software 2 11-23-2012 02:08 AM
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
linux cpu scheduling on RT processes cathiejcm Linux - Software 1 01-15-2006 03:08 PM
commands for Scheduling processes jadukor Slackware 4 12-16-2005 06:19 PM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration