[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

353.0. "creating interactive processes" by SQM::RICO () Tue Nov 11 1986 18:11

Is there a way to create a bunch of interactive processes without going
through the usual LOGINOUT?  The processes must be interactive and
associated with a particular terminal device.  Disconnecting processes
and re-connecting later is not a viable alternative, since we basically
want to boot a machine and create mega interactive processes ready to go,
without going through all the actual logins.

A little background: My group does performance evaluation.  We also
develop and maintain Remote Terminal Emulator (RTE) software.  The RTE
software runs alone on a separate VAX.  It is used to emulate users on
another VAX under test.  To use it we cable terminal lines together
from the RTE machine to the test machine.  "Scripts" are written in a
special language that dictate the actions of the terminal users.  The
RTE software then follows these scripts to do terminal I/O as if it
were coming from real terminals.

Our testing configurations are getting larger every day.  As a result,
the number of users we emulate in our tests is rising rapidly.  Our
scripts must log in users at staggered intervals so as not to swamp
the machine under test with mega simultaneous logins.  Our experiments
are getting so it takes longer to log in all the users and get them ready
to go than it does to run the actual test.

So basically we need a way to cut out some of the fat from LOGINOUT.
Any ideas out there, hackers?

		Rico
T.RTitleUserPersonal
Name
DateLines
353.1CLT::GILBERTeager like a childTue Nov 11 1986 20:337
    Run more tests per 'startup'.  That is, keep and reuse the processes
    from one test to another.

    You might be able to use $CREPRC to create the (detached) processes.

    If this is important, ask VMS Development.  Most hackers are content
    with just a *few* processes.
353.2ERIS::CALLASO jour frabbejais! Calleau! Callai!Wed Nov 12 1986 19:3512
    I used to do RTE simulations with Oracle, and I staggered logins
    by five or ten seconds. We did 70+ users this way.
    
    You should do what Gilbert suggests in .1. Run multiple simulations
    within a single session. Alternatively, synchronize everyone for some
    cue. You're probably going to want to still stagger things so everyone
    doesn't hit the first CR at the same time. 
    
    Modifying LOGINOUT to "trim the fat" (whatever that means) generally
    isn't legal in an RTE simulation. 
    
    	Jon
353.3SQM::RICOFri Nov 21 1986 17:4120
Running more tests per simulation is not applicable.  We have several
workloads that all run in different configurations with different
databases, software, etc.

As a matter of fact, I am a developer on the Oracle project, only
now it's called VAXRTE.  We do indeed stagger logins now, typically
by 5 seconds.  But some of our simulations are getting up to the
1000 user range.  (One 8800 back-end, many MicroVAX II front-ends,
and several RTEs to drive the whole mess).  Obviously, with such
configurations, you're lucky to get ONE run in, never mind many!!

But 1000*5 = 5000 seconds, divided by 3600 gives us 1.4 hours,
just to log in the users!!  You can reduce the stagger, but not
too low or you'll kill the processor with too many simultaneous logins.

Experiment like that might be just the beginning as DEC starts making
inroads in the OLTP market.  Thus the need for creating processes, FAST,
and getting on with the real analysis!!

	Rico
353.4Let's see those numbers againCANYON::HESTERMANScott HestermanMon Dec 01 1986 16:4822
re Note 353.3 by SQM::RICO

You make it sound like all 1000 logins are done sequentially!
(probably not true, since that would be incredibly difficult to achieve)

How many MicroVAXen are we talking about here?  10, 20, 50?
I have seen MVAXen with 24 RS232 lines on them.

960 users / 24 lines = 40 MicroVAXen

That brings your login time down to

24*5 = 120 seconds, divided by 60 gives us 2 minutes.
with 40 simultaneous logins every 5 seconds. (approximate)

If that is too many logins, make it semi-random from 5-15 second delays
and you will still get a reasonable login time.

Playing with similar numbers (more or less MVAXen, lines etc)
gives MUCH better results than the 1.4 hours you quoted.

Scott
353.5SQM::RICOMon Dec 01 1986 18:4034
RE: < Note 353.4 by CANYON::HESTERMAN "Scott Hesterman" >

    You are oversimplifying and assuming a lot about our environment!

    First of all, we don't even use RS232 lines, we actually use LAT
    connections.  This means that the only required hardware on the
    MicroVAX front ends for terminal connections is a QNA.

    We have already done runs with as many as 150 users on a single
    MicroVAX II, with only 42% of the CPU utilized and no I/O bottleneck.
    In these experiments we had an 8700 RTE, two uVAXen, and a single
    785 back-end (300 user experiment).  MicroVAXen will be heavily
    targeted at such applications in the future as front-end processors,
    with many, many more than 24 simultaneous user sessions.

    Your second point is valid.  We do stagger our logins regardless
    of the number of front end processors involved.  We could rewrite
    scripts so that one login is being done on each MicroVAX simultaneously.
    The reason we haven't done that is because in several instances, we
    have to use multiple RTE processors.  The communication between the
    processors is minimal, and thus it is easier to stay with the one
    at a time method, for now.

    When I said 1000 users, I was looking slightly into the future.
    But only slightly -- we'll be using those sorts on configurations
    next quarter.  Say we use five front-ends and we do five simultanous
    logins at a time.  That's still 200*5 = 1000 seconds = 16.67 minutes.

    There are other reasons why my original idea is not too feasible
    which I hadn't considered at first; I won't go into detail here.
    
    Thanks for the replies...

            Rico