Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [scheduling]

A technique for scheduling tasks to be run at specific time or on specific event.

0
votes
0answers
17 views

Scheduler misfunctionning on I/O heavy tasks

I'm using Debian 8 and I tried a few months ago to improve the autonomy of my laptop battery by using cpufreq. I tried both "performance" and "powersave" governors without noticeable improvements. ...
1
vote
2answers
51 views

Running a large number of small jobs in Windows, in parallel, with timeout capability

I need to process >50,000 files using a third-party .exe command-line application. The application takes only one input file at a time, so I have to launch the application >50,000 times. Each file (...
3
votes
1answer
988 views

Thread states linux vs windows

Linux has: ready, blocked, running, terminated. Windows has: Ready, Deferred ready, Standby, Running, Waiting, Terminated, Initialized. Why does Windows have so many states? What advantage does this ...
0
votes
1answer
386 views

Are process schedulers implemented at OS level or Hardware level?

Are process schedulers implemented in software or hardware? If it's done in hardware how does the hardware keep track of the number of processes and where they're located when they're inactive? If it'...
-1
votes
1answer
61 views

does the gcc compiler have any relation with the OS scheduler? [closed]

All is in the title I want to know if is there any relation between the compiler and the scheduler ?
2
votes
3answers
1k views

No Multi-Threading with R on Linux

I'm doing a statistical analysis using R on Ubuntu 15.10 operating system. My R script takes a very long time to complete. About 2 - 3 hours. Meanwhile I've checked my CPUs load. I just noticed that ...
0
votes
1answer
40 views

How to determine the number of processes considered by the short-term scheduler for process allocation

My assignment is to write a script displaying the number of processes considered by the short-term scheduler for process allocation (processes currently ready to run) at any given time. Now, writing ...
3
votes
0answers
83 views

Optimize linux USB hub IO scheduling for external harddrives

When using several harddrives on an USB 3.0 hub, copying large files between them gives transfer rates far below expectation. My guess is, that the hub introduces contention delays as we see if ...
0
votes
1answer
108 views

Adaptive per-user CPU quota/priority in Windows 8.1

We have a workstation computer in the office running Win 8.1 where multiple users remotely run cpu-intensive processes at the same time. The problem is that one user can hog the cpu making all ...
0
votes
1answer
40 views

Is the scheduling implemated by a particular OS unique?

I just wanted to ask that on a particular OS ,is the implementation of a scheduling algorithm unique,lets say I am implementing round-robin in my OS ,so will every task within my system get executed ...
2
votes
1answer
316 views

nice has no effect in Linux unless the same shell is used

If I enter in two different root terminals: nice -n 19 burnK7 & and nice -n -19 burnK7 & Then both processes receive about 50% of the available CPU time - not expected and certainly not ...
0
votes
0answers
74 views

Will Linux select the fastest CPU in a SMP system

In a system with for example two physical CPU's, four cores per CPU. If one physical CPU is slower (lower clockspeed, other model) will the Linux process scheduler be smart enough to migrate a high ...
0
votes
0answers
129 views

Schedule a task using Java

Is it possible to schedule an executable file to run just before log-out using Java? I am working on an application that needs to send a message to the server just before the system log-out/shutdown, ...
1
vote
1answer
240 views

Is it possible to limit SSH access for certain users based on schedule?

As the title says, I'm looking for a way to limit SSH access to certain users, so that they can connect only during a certain time period. Let's say, username "A" can access SSH only during office ...
1
vote
1answer
419 views

How to learn the current network scheduler used in my linux machine?

How can I learn what network scheduler for packet selection is used in my linux system? Thanks!
0
votes
2answers
748 views

Does an operating system intervine after each time slice/quantum?

In the context of process scheduling, does the operating system intervene after each time slice/quantum ends? For example if the computer was idle and 4 tasks arrived : t1, t2, t3 and t4, and they got ...
3
votes
2answers
219 views

Does an operating system itself take up resources (aside from the space it is installed on)?

I just finished a course on operating systems and the definition of an operating system is still unclear to me. Does any operating system itself take up resources such as CPU and memory? For example ...
1
vote
1answer
693 views

How a scheduler is scheduled?

A scheduler being a system program must be scheduled for execution so that it can wake up and schedule other programs. I read about process scheduling and algorithms but couldn't figure out how a ...
1
vote
1answer
90 views

crontab schedule rule misunderstanding

I've got some strange behavior of one rule working unexpected. */40 * * * * myshellcommand here I though it would run each 40 minutes, e.g. 00.00 00.40 01.20 02.00 etc but instead it runs 00.00 ...
2
votes
0answers
174 views

CFQ hard drive scheduling algorithm

The CFQ algorithm uses an ordered set of queues based on the I/O priority of the processes that made the requests. That means there's a queue for process of priority, let say, 1, another one for ...
7
votes
6answers
11k views

Linux/Bash, how to schedule commands in a FIFO queue?

I want the ability to schedule commands to be run in a FIFO queue. I DON'T want them to be run at a specified time in the future as would be the case with the "at" command. I want them to start ...
0
votes
1answer
176 views

Modifying the linux scheduler

I want to change specific parameters of the linux CFS scheduler like the virtual runtime of particular processes dynamically ( vruntime parameter in the sched_entity ). Is there any definite method to ...
0
votes
1answer
19 views

Unresponding program on a low level standpoint

When a program doesn't respond, on a low level (maybe even down to cpu instructions), what exactly happens? Does the cpu scheduler fail to get a response from the cpu on whether the program executed ...
4
votes
1answer
2k views

Increasing value of sched_latency_ns and sched_min_granularity_ns

Why do I get an error message when I try to increase the values of these two parameters: #cat /proc/sys/kernel/sched_latency_ns 1000000000 #echo 2000000000 > /proc/sys/kernel/sched_latency_ns bash:...
0
votes
2answers
2k views

schtasks in windows XP

I am trying to use schtasks to create a scheduled task. While I have no problem using this utility on my Windows 8 machine (or Windows 7 for that matter), I find that XP machines don't have this exe ...
2
votes
1answer
2k views

Can kvm guest get more CPUs than it has?

When I run a vm with a single virtual CPU inside KVM, is it possible that the vm can actually get more CPU cycles than one whole CPU can has, if there is no other vm running in the host? In another ...
10
votes
4answers
4k views

Is there an rsync-like mode for WinSCP (or a similar tool)?

I need to be able to do a periodic sync of content off my Windows 7 x64 laptop to my offsite CentOS 6 webserver. Is there a tool/mode like rysnc for WinSCP or similar? For a variety or reasons, ...
6
votes
3answers
20k views

Scheduling algorithm used in Windows 7

What is the scheduling algorithm used in Windows 7?
0
votes
2answers
2k views

Not able to run powershell script from autosys

I am new to powershell and using 1.0version and am trying to write a powershell script that I can execute using autosys scheduler. When the I run the command in autosys powershell -command "& { %...
24
votes
3answers
13k views

How does Windows processor affinity work with hyperthreaded CPUs?

How does Windows processor affinity work with hyperthreaded CPUs? Let's use an example (pictured) of a system with four cores, each with a hyper-threaded virtual core. Which cores correspond to each "...
2
votes
2answers
557 views

Using “idle” cpu time still slows down other programs

Before when I ran a Folding@Home client and now when using BOINC they always used "idle" cpu time (for those of you unfamiliar with those programs they run huge scientific calculations on your ...
0
votes
1answer
861 views

How to set downtime for any specific nagios host for certain time from commandline through curl?

I have a curl script which will do the service/host notification disable/enable from the command line through curl. But need to do that for scheduled downtime. Can someone suggest me. Okay it seems ...
1
vote
1answer
831 views

Feedback to router users during access-restricted hours for DD-WRT

Following router schedule rules that I change often, the stock firmware on my D-Link 825NA rev. B redirects HTTP requests to a built-in "Access denied!" warning at appointed times. I just upgraded ...
4
votes
1answer
5k views

Running a virtual machine on a dedicated processor or core

Our base system runs on Linux but unfortunately the UI has to be on Windows. Its a long story. But thats the requirement. So our idea was to run Windows in a virtual machine using VirtualBox or Xen. ...
1
vote
1answer
407 views

download and process a file by ftp at set intervals, with error handling, rescheduling and status messages

I want to download a data file from a remote ftp server to my machine at regular intervals. Once the file is downloaded I want to call another script which will process the file. My development ...
3
votes
1answer
3k views

Does the Windows scheduler allocate equal length quanta to threads?

Is the time slice (quantum) that the Windows Kernel Dispatcher allocates to threads the same length for every thread, or does it base the size of quantum on the priority of the thread like Linux does?
0
votes
3answers
3k views

Why isn't scheduling working in uTorrent?

My DSL provider kindly gives me (almost) unlimited data through the night but limits my 9am-6pm usage to 2GB per month. This is fine as I am at work during this time and means that I plan any ...
3
votes
4answers
2k views

ALWAYS run commands with low priority on unix?

I am not asking how to nice and renice a command on UNIX. What happens is that on a particular machine into which I frequently log I am only allowed to run long-running processes with low priority (...
2
votes
5answers
245 views

Windows similar to *nix “at” command

*nix has the "at" command, which can be piped to to run a program at a certain time. Like this: echo "SOME_COMMAND" | at 00:00 Windows also has an "at" command, which creates a run-once scheduled ...
5
votes
1answer
211 views

Multicore system. How are the cores “sorted”

If I have a system with let's say two Quadcore CPUs and HyperThreading enabled, how do I know how the phsyical and virtual cores are sorted? For example if I force a process to run on "CPU 0" how to ...
2
votes
1answer
3k views

Scheduling algorithm in Windows XP

does anybody now which scheduling algorithms are implemented in windows xp? Is there any possibility to install/use ULE algorithm? I think no. Thank you.
1
vote
1answer
153 views

Configuring a cluster

Our cluster is a linux cluster with Torque and Maui. I am reading tutorials online and find that the compilation is only on the head node, and after submitting the job by qsub, the other nodes are ...
0
votes
1answer
192 views

Pause all but x CPU-intensive tasks

I've got about 50 folders of data to process, and I've got a ruby script that processes a folder's files (which folder it processes is based on a .yml configuration file). And a computer with four ...