[comp.os.vms] DECserver "Least Used System" Algorithm

russell@CINCOM.UMD.EDU ("CHRIS RUSSELL") (10/09/87)

Greetings.

I am interested in learning how the DECserver boxes determine the 
information necessary for them to log into the "least used" system.
The algorithm they use (as I have been told) is:

 /                            ijoblim - ijobcnt\
(100 x %cpu_idle_time + 155 x ----------------- ) x cpu_type_factor
 \                                 ijoblim     /

Our situation:  Users can log into our LAVC in one of two ways, either 
through terminals connected to DECserver 100s (on which they can either log 
into a specific node, or let the DS100 log them into the "least used" 
node), or through TCP/IP, which connects them directly to the boot node
(We do not have TCP/IP on the satellites).  Since I don't want a heavy
load on my boot node (It's only a 750, for heaven's sake!) I want users
to set host over to one of the satellites.  However, unlike on the DS100,
users on the 750 have no way of knowing how heavily used any of the
satellites are.  Hence my question.

I would like to write a piece of software (or better yet, find one that's
already been written) which can evaluate the equation.  My problem is:
How do I find out %cpu_idle_time, ijoblim, and ijobcnt on other nodes?
I'm under the impression that these nodes periodically send out packets 
with this information in them (that's how the DS100 gets the info), but I 
haven't a clue as to how I can intercept these packets.

Any help, criticism, already-written programs, or dirty limericks are 
welcome.

					~chris

-----------------------------------------------------------------------
INFO-VAX:  Love it or Leave it - But No More Meta-Discussions!  Please!
-----------------------------------------------------------------------
Christopher Russell              ARPA: SYSMGR@KING.EE.UMD.EDU
Operations Manager               JNET: RUSSELL@UMCINCOM
Computer Aided Design Lab        UUCP: ...!seismo!umcp-cs!eneevax!russell
University of Maryland           FONE: (301)454-8886/454-8950

        "If growing up were fun, I'd have done it already."

-----------------------------------------------------------------------
------