Browse Prior Art Database

Distributing Demand Scheduling in a Transaction Processing System

IP.com Disclosure Number: IPCOM000121183D
Original Publication Date: 1991-Jul-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 1 page(s) / 51K

Publishing Venue

IBM

Related People

Scofield, H: AUTHOR [+2]

Abstract

A method is disclosed for distributing the Scheduling Function in a Transaction Processing System with a Demand Scheduling Facility.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 76% of the total text.

Distributing Demand Scheduling in a Transaction Processing System

      A method is disclosed for distributing the Scheduling Function
in a Transaction Processing System with a Demand Scheduling Facility.

      When a user program would normally be terminated because it has
reached its user specifiable limit on the number of transactions that
it may process before rescheduling to select the highest priority
transaction in the system, a check is made to determine whether the
dependent region (thread) would only terminate and the identical
transaction code would be rescheduled.  If that is true, the system
state is reset to appear as if the dependent region (thread) did
terminate and reschedule the same transaction code without the wasted
overhead.  Only the user application program accounting information
is collected/recorded and the next transaction is passed back to the
user program for processing.  However, if this check indicates that
another transaction code would be selected to process in the
dependent region (thread), it is necessary to return the "no more
messages" condition, forcing the user program to terminate and
schedule the new transaction code in the usual manner.

      When a user program would normally be terminated because all of
the associated transactions that it can process have been exhausted,
a check is made to determine whether the dependent region (thread)
would only go idle if terminated.  If so, processing is "waited" at
this poin...