scheduling

With modern OS schedulers, does it still make sense to manually lock processes to specific CPUs/cores?

I recently learned that sometimes people will lock specific processes or threads to specific processors or cores, and it's thought that this manual tuning will best distribute the load. This is a bit counter-intuitive to me -- I would think the OS scheduler would be able to make a better decision than a human about how to spread the load...

What scheduling algorithms does Linux kernel use?

What scheduling algorithms does Linux kernel use? Where can I get more info about linux's kernel? (OS first course... student level) ...

Algorithm- minimizing total tardiness

Hi, I am trying to implement an exact algorithm of minimizing total tardiness for single machine. I was searching in the web to get an idea how I can implement it using dynamic programming. I read the paper of Lawler who proposed a PSEUDOPOLYNOMIAL algorithm back in 77. However, still could not able to map it in java or c# code. Could...

Scheduling Employees - what data structure to use?

Question I'm trying to write a simple employee Scheduling software for about 10-20 people in my software development company. After some consideration I settled on writing a web app in Python, Ruby or PHP + Postgres/MySQL DB. While designing database models I began to wonder what data structure would actually be the best for that kind o...

SQL Agent Job - to execute as queue

I have a job which is calling 10 other jobs using sp_start_job. The job is having 10 steps, each step calling each sub jobs, When i execute the main job, i can see it started with step 1 and in a few secods it shows 'finished successfully' But the jobs take long time time, and when i see the log mechanism i have put inside , it shows the...

Outlook Automation from a web application to create appointments

Is it a standard practice to automate outlook from a web application using ActiveX technology? How does this compare with a web scheduler like telerik's RadScheduler + telerik's Exchange Provider to schedule an appointment from the web application itself? Thanks, Sendhil ...

Prescheduling Recurrent Tasks

At work, we are given a set of constraints of the form (taskname, frequency) where frequency is an integer number which means the number of ticks between each invocation of the task "taskname". Two tasks cannot run concurrently, and each task invocation takes one tick to complete. Our goal is to find the best schedule in terms of matchin...

What's a decent events library for non-GUI applications under *nix? (C++)

First, I'm using Qt at the moment. However, I want the program eventually able to run without a GUI environment, leaving the graphical aspects for configuration mainly. The program makes hefty use of Qt timers and signals/slots, partially for QtScript. So if I want to make it non-GUI operable, hopefully parts of Qt can run without a GUI ...

Are there resources about logistics?

I couldn't find any complex resources in Google. Maybe the key words that I used were wrong. I am interested in web-sites, book titles, book authors etc.. I'm looking general theory. UPD: Previous title of the question was: "Are there resources about transport scheduling?". ...

how to run a gwt servlet automatically in some particular time interval?

Hi every1! Please help me about this issue... In my application i have calender where user can set the events for particular day.. this event info is store in database.... now i want my application to automatically send an email to that user on that assigned day.... ...

Is there any project that implements a scheduler based on a .net service?

I was wondering if there is any implementation of a windows service that can call custom .net code that can be scheduled to run on specific intervals? or i should i implement my own (which i am currently doing) but i think its better not to reinvinte the wheel :) I don’t want to use windows scheduler. Thanks ...

QTP+VM: Why is the Click command not executed when I'm not conncted to the VM via Remote Desktop?

I'm using QTP 10 together with VMWare to test a Siebel Application. I'm executing the following code to click on a Save button. Browser("Siebel").Dialog("Filedownload").WinButton("Save").Click The code works perfectly fine when I'm connected to the VM via Remote Desktop. On the other side, when I'm starting the QTP test through the s...

How to handle recurring dates (dates only) in .NET?

I am trying to figure out a good way to handle recurring events in .NET, specifically for an ASP.NET MVC application. The idea is that a user can create an event and specify that the event can occur repeatedly after a specific interval (e.g. "every two weeks", "once a month" and so on). What would be the best way to tackle this? My br...

I have an algorithm problem having to do with scheduling teams in rotation as fairly as possible.

I have a project for school where I have to come up with an algorithm for scheduling 4 teams to play volleyball on one court, such that each team gets as close to the same amount of time as possible to play. If you always have the winners stay in and rotate out the loser, then the 4th ranked team will never play and the #1 team always w...

How do I stop or drop a job from the Oracle Job Scheduler

Sounds easy, right? I have a job that is running that I'd like to stop (it's been running for way to long, and there is clearly a problem with it). Well, when I try to stop the job, I get this message: *Cause: An attempt was made to stop a job that was not running. However, when I try to drop the job entirely, because I REALLY don't...

Constrained graph transformation in scheduling applications

I'm working on an interactive job scheduling application. Given a set of resources with corresponding capacity/availabilty profiles, a set of jobs to be executed on these resources and a set of constraints that determine job sequence and earliest/latest start/end times for jobs I want to enable the user to manually move jobs around. Esse...

Autosys dependency on mainframe job

We have an Autosys job (let's call it job_a) that has a 3am time dependency and is also supposed to await successful completion of a mainframe job (job_m, which in our case is always successful). Job_m is run via the OPC scheduler on the mainframe, which communicates job completion to Autosys. It can run any time between 2am and 6am. My...

Most suitable .net Timer for a scheduler

We've identified a hotspot in our code using CCR timers. It appears that if we enqueue many thousands of timers that the code suffers terminal slowdown. The fix is to choose the soonest scheduled item and enqueue a timer for this event. When it fires, we repeat. In this way, we're only ever enqueueing one timer interval at a time. What...

Best way to schedule deferred execution of method using ThreadPool?

I have a server application which needs to schedule the deferred execution of method(s). In other words, mechanism to run a method using a thread in ThreadPool after a certain period of time. void ScheduleExecution (int delay, Action someMethod){ //How to implement this??? } //At some other place //MethodX will be executed on a thread...

Visibility schedule

I want to have a simple database table to keep track of scheduled category visibility on a site index. Basically it will tell the index to display a Christmas category between Thanksgiving and Christmas day. So far I'm thinking of using a table like this, schedule_id SMALLINT, start_date TIMESTAMP, end_date TIMESTAMP, category_id SM...