Browse Prior Art Database

Method for Automatic Execution of a Program upon Determination of Weighted Memory Condition

IP.com Disclosure Number: IPCOM000105232D
Original Publication Date: 1993-Jul-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 4 page(s) / 89K

Publishing Venue

IBM

Related People

Fitzpatrick, GP: AUTHOR [+3]

Abstract

Provided is a method for allowing a user to configure weight values of various computer memory conditions so that a computer memory state is defined by a threshold value in order to automatically spawn one or more programs.

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

Method for Automatic Execution of a Program upon Determination of Weighted Memory Condition

      Provided is a method for allowing a user to configure weight
values of various computer memory conditions so that a computer
memory state is defined by a threshold value in order to
automatically spawn one or more programs.

      Current programming environments provide tools to identify what
processes are resident running in a computer's main memory.  A human
makes assessments about the system by evaluating a multiplicity of
processes in conjunction with one another.  A method is needed for
automatic execution of programs (e.g., debug or analysis programs)
when a system environment has reached an anticipated state.

      Additionally, a method is needed whereby rational adjustments
are automatically made to a running system in a situation in which
the resources available to that system are dynamic.  An example would
be a system in which the physical or virtual memory available to that
system may be increased or decreased on unpredictable schedules or in
varying increments.  In the preferred OS/2* embodiment, weights may
be assigned to:

1.  A .EXE program and all spawned children threads or programs
2.  A .COM program and all spawned children threads or programs
3.  A .CMD batch file and all spawned processing
4.  A .BAT batch file and all spawned processing
5.  An individual program thread
6.  An allocated size block of memory
7.  A system semaphore creation
8.  An Operating System function call

     Those skilled in the art recognize various features of an
operating system, which are basic across all operating systems, may
have weighted values assigned to a specific entity.  Furthermore, a
set of entities can be assigned a weight as well.  For example, a
single weight value may be assigned to the presence of five programs
in memory or a single weight value can be assigned to a number of
bytes of allocated memory plus the presence of one program plus the
invocation of two operating system calls at the same time by any
programs.  High level examples of a configuration:

WEIGHT ASSIGNMENTS ==================

SYSTEM CONSTRAINT                                 WEIGHT
-----------------

------PGM1.EXE & PGM3.EXE                                 5

FOR EVERY 64K MEMORY BLOCK                          1

DOSEXECPGM() CALL & DOSEXECPGM() CALL               3
   (i.e. 2 simultaneous invocations)

PGM9.EXE & PGM10.EXE;Thread4 & FOR EVERY    ...