LinuxQuestions.org
Help answer threads with 0 replies.
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, 09:53 PM   #1
Ach Shah
LQ Newbie
 
Registered: Nov 2016
Posts: 17

Rep: Reputation: Disabled
running a Linux scheduler.


Is there any simulator for running a Linux scheduler?
 
Old 11-21-2016, 10:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,761
Blog Entries: 28

Rep: Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965Reputation: 5965
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, 07:50 AM   #3
Ach Shah
LQ Newbie
 
Registered: Nov 2016
Posts: 17

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, 09:09 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,243
Blog Entries: 4

Rep: Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776
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 10:17 AM
Scheduler/VB6 program running in Linux Fedora pu8y Linux - Software 12 11-18-2009 03:12 AM
Linux Scheduler tbui57 Linux - Kernel 3 02-04-2007 12:37 PM
Linux Scheduler Scarlett_987 Linux - Kernel 1 01-23-2007 08:54 PM
Find out what scheduler is running contrasutra Linux - Software 1 11-10-2003 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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