Questions tagged [scheduling]

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

70 questions
31
votes
3 answers

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 "CPU" below? Does (say) CPU 6 and CPU 7 below…
11
votes
5 answers

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, Dropbox is not an option here.
warren
  • 10,322
9
votes
7 answers

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 running now, but not simultaneously. The next scheduled…
Andrei
  • 513
8
votes
1 answer

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 desired. If I run in the same root terminal: nice -n 19…
7
votes
1 answer

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 know which Core this really is? I remember a…
asdrubael
  • 707
6
votes
3 answers

Scheduling algorithm used in Windows 7

What is the scheduling algorithm used in Windows 7?
arulappan
  • 993
5
votes
1 answer

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. Because of our real-time performance constraints,…
Cocoro Cara
  • 125
  • 1
  • 8
4
votes
1 answer

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: echo: write error: Invalid argument # I get the…
4
votes
1 answer

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?
user49786
3
votes
0 answers

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 copying files inside a single harddrive. For example,…
dronus
  • 1,978
3
votes
2 answers

How are instructions assigned to CPU cores?

In a multi-core processor, how are instructions assigned to CPU cores? That is, on what basis is a program assigned or executed by a particular core and who makes this decision and how it is assigned? Is is possible for the user or admin to instruct…
3
votes
1 answer

Is it possible to have your Outlook agenda show the days your are in the office?

I work full time, with regular office days from Monday - Friday (that's my workweek, also in Outlook). 2 days a week I'm in the office, the rest of the week I work from home. Using the scheduling assistent in Outlook, people can see if I'm available…
3
votes
1 answer

Syncing OneDrive in fixed intervals instead of constantly

Sometimes during work, I generate and delete hundreds of temporary files that end up in different directories. The directories are being synced with OneDrive, which ends up constantly shoving these temporary files around unnecessarily. Is there a…
karpfen
  • 161
3
votes
4 answers

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 (nice 19). Is there a way for all my commands on…
2
votes
2 answers

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 the scheduling algorithm must take some processing…
Celeritas
  • 8,341
1
2 3 4 5