Affinity scheduling of processes on symmetric multiprocessing sy

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

364DIG1, 3642813, 364280, 3642421, 3642818, G06F 946

Patent

active

055069878

ABSTRACT:
A method of scheduling processes on a symmetric multiprocessing system that maintains process-to-CPU affinity without introducing excessive idle time is disclosed. When a new process is assigned, the process is identified as young and small, given a migtick value and assigned to a specific CPU. If the priority of a process placed on a run queue is above a threshold, the high priority count of the assigned CPU is incremented. At predetermined clock intervals, an interrupt occurs that causes the migtick value of running processes to be decremented. Then each CPU is tested to determine if its high priority count is greater than zero. CPUs having high priority counts greater than zero are tested to determine if any processes having a priority greater than the priority of the running process are assigned. If higher priority processes are assigned to a CPU having assigned processes lying above the threshold, a context switch takes place that results in the higher priority process being run. At regular intervals, a migration deamon is run to load balance the multiprocessor system. First, a large/small process threshold is determined. Then processes whose migtick values are below a migtick threshold (e.g., 0) are identified as old. Old processes then are identified as large or small processes based on their memory usage. Next, a determination is made of whether the small and large process load balances of the system can be improved. If either or both can be improved, the smallest small and/or the smallest large processes are migrated from their assigned CPU to the CPU with, as the case may be, the least large or the least small processes.

REFERENCES:
patent: 3702006 (1972-10-01), Page
patent: 4318174 (1982-03-01), Suzuki et al.
patent: 4387427 (1983-06-01), Cox et al.
patent: 4394727 (1983-07-01), Hoffman et al.
patent: 4432051 (1984-02-01), Bogaert et al.
patent: 4638427 (1987-01-01), Martin
patent: 4809157 (1989-02-01), Eilert et al.
patent: 4868739 (1989-09-01), Ngai et al.
patent: 4914570 (1990-04-01), Peacock
patent: 5109512 (1992-04-01), Bahr et al.
patent: 5185861 (1993-02-01), Valencia
"The Influence of Workload on Load Balancing Strategies" by Luis-Felipe Cabrera, IBM Res. Ctr., California.
Luis-Felipe Cabrera, "The Influence of Workload on Load Balancing Strategies," IBM Almaden Research Center, San Jose, California.
Derek L. Eager, Edward D. Lazowska and John Zahorjan, "Adaptive Load Sharing in Homogeneous Distributed Systems," IEEE Transactions on Software Engineering, vol. SE-12, No. 5, May 1986.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Affinity scheduling of processes on symmetric multiprocessing sy does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Affinity scheduling of processes on symmetric multiprocessing sy, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Affinity scheduling of processes on symmetric multiprocessing sy will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-146598

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.