From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!mnetor!uunet!husc6!think!ames!lll-tis!elxsi!beatnix!murphy From: murphy@beatnix.UUCP (Michael Murphy) Newsgroups: comp.lang.ada Subject: tasking priorities Message-ID: <709@elxsi.UUCP> Date: 19 Feb 88 00:59:42 GMT Sender: nobody@elxsi.UUCP Reply-To: murphy@beatnix.UUCP (Michael Murphy) Organization: ELXSI Super Computers, San Jose List-Id: I posted (or at least thought I did) the following a couple weeks ago and never got any response. I'm posting it again in case it never made it to the net. I apologize in advance if this is redundant. -------------------------------------------------------------------------- There recently has been much discussion about preemptive schedulers and the interpretation of LRM 9.8(4). I think I understand what it means for the normal uniprocessor machine, but I'm not clear on its interpretation for multiprocessor and distributed machines. AI-00032 notes that: (Note: the phrase "could sensibly be executed" refers to situations in which the high priority task can actually make use of the processor and other resources being used by the lower priority task. In some distributed processing situations, a high priority task may not be able to execute on some processors. Preemption is only required for processing resources the high priority task can use.) What if the processor the high priority task is currently located on cannot run the task (perhaps there is a higher priority task already running on it), but there is another processor "nearby" that could run it? My question is, must the new high-priority task migrate to the processor (able to run the new task) where the lowest priority task is running (which would mean polling all processors on the system)? It would be much more efficient and would appear to be in the "spirit" of tasking priorities to only preempt the tasks running on your local machine. Comments? Anybody have a definitive ruling on this? Note that this question can be applied separately (possibly with different answers) to both distributed and multiprocessing machines. -- michael murphy -- UUCP: {uunet|sun}!elxsi!elk!murphy -- AT&T: 408-942-0900