LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2016, 10:53 PM   #1
Ach Shah
LQ Newbie
 
Registered: Nov 2016
Posts: 16

Rep: Reputation: Disabled
running a Linux scheduler.


Is there any simulator for running a Linux scheduler?
 
Old 11-21-2016, 11:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
More information would help.

The classic Linux job scheduler is cron, and I know of no "simulator" for that. One sets up a "cron job" and it either works or it doesn't. If it doesn't, one troubleshoots it until it does.

What exactly is it that you wish to simulate?
 
1 members found this post helpful.
Old 11-22-2016, 08:50 AM   #3
Ach Shah
LQ Newbie
 
Registered: Nov 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
I am talking about the scheduler that schedules processes present in the run queue, eg; cfs scheduler
 
Old 11-22-2016, 10:09 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,158

Rep: Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205Reputation: 2205
Although you might be able to conduct a meaningful simulation of an operating-system scheduler, "frankly, I doubt it." There are simply too many variations in what might happen "next." (Or, the data is simply too abstract ... you gather it, but what does it mean, what does it tell you, and what can you do with it, and how can you usefully compare it to anything else?)

Often, what is done is to instrument certain applications so that they collect statistics over the space of at least several seconds by which you can infer what must be happening, generally using classical statistical analysis techniques upon the collected data-set.

A very strong approach is to set some sort of objective about which one can say that it was either "met," or "not met," and from this set a goal concerning this objective. You have now engineered a binomial test situation. An experiment. Alternatively, you can decide upon a "closeness" factor ... how close were we to meeting the goal? And, you can analyze the distribution of those.

I guess it's a bit like quantum physics, where you can never actually observe something, but you can analyze its effects.
 
1 members found this post helpful.
  


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
scheduler error in running tcl file humairaafzal73 Linux - Software 0 02-27-2012 11:17 AM
Scheduler/VB6 program running in Linux Fedora pu8y Linux - Software 12 11-18-2009 04:12 AM
Linux Scheduler tbui57 Linux - Kernel 3 02-04-2007 01:37 PM
Linux Scheduler Scarlett_987 Linux - Kernel 1 01-23-2007 09:54 PM
Find out what scheduler is running contrasutra Linux - Software 1 11-10-2003 09:30 PM


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