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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

660.0. "loginout eats cpu time (and then you do)" by CSC32::J_FELDMAN (cixelsyd TON ma I) Mon Apr 24 1989 13:34

    PROBLEM:
    
    When a workstation running DECWindows is sitting at the login window,
    the process that is displaying that window is running the LOGINOUT
    image.  That process continually accrues CPU time.  The problem is that
    when a user logs into that workstation, they "inherit" all the CPU time
    that was logged between the last logout and when the new user logged
    in.  This is not very good  for sites that use the UAF parameter CPULIM
    to control a users use of system resources or for sites that charge
    users for CPU time. 

    In the past, the time used by LOGINOUT was not significant in
    comparison to the rest of the CPU time the process used.  Now, if a
    workstation were to be left at the login window for a weekend, a very
    significant amount of CPU time would be used. 

    This was also posted to the vms 5.* qar database as QAR 930. 
    
    jim

T.RTitleUserPersonal
Name
DateLines
660.1MU::PORTERgonzo engineeringMon Apr 24 1989 14:5615
I'm curious: why would anyone use a UAF CPU limit on a single-user system
such as a workstation?   On a multiuser system, it's good to encourage users 
to be frugal in their use of CPU cycles, so there's more for other people 
to use.  On a single-user system, any CPU that  the single user doesn't use 
is wasted.

Likewise, on a single-user system, what's the sense in charging for
the CPU usage?  The user has the whole system tied up, regardless of
whether the CPU is churning away or not, so 'connect time' seems to
be a more appropriate charge basis.

I didn't mean this note to be dismissive of your problem -- but I
was rather curious as to why they were doing things this way.  Maybe
I've worked with "free computing" for too long!

660.2LESLIE::LESLIEThere is no final frontier.Mon Apr 24 1989 18:424
    It's the cursor blinking! Look back at #307.
    
    Andy

660.3free computes IS the problemCSC32::J_FELDMANcixelsyd TON ma IMon Apr 24 1989 19:1616
    The problem is that there are places that charge departments for the
    cpu time that their members use.  At some sites, it would not be
    uncommon to have workstations available for general use (like schools)
    and so a system manager might wish to limit that use.  CPU usage is the
    only way to do that. 
    
    The other scenario is even if a user were dedicated to a single system,
    the system manager might wish to do cluster wide accounting in order to
    account for both the workstation's usage, but also any "set display"
    activity the user might have invoked on other nodes.  The incorrect cpu
    utilization would then show up as overbilling.
    
    Don't feel bad, everyone in DEC runs accounting, but who really
    looks at the numbers
    

660.4CSC32::J_FELDMANcixelsyd TON ma IMon Apr 24 1989 19:308
    re -.2
    Thanks Andy
    
    Jim.
    
    ps
    Did you return that poor escort GT in one piece?

660.5LESLIE::LESLIEThere is no final frontier.Tue Apr 25 1989 05:212
    It was running a little rough, poor thing had been over-revved....

660.6STAR::MFOLEYRebel without a ClueTue Apr 25 1989 09:487
       RE: .5
       
       	Yea, right...  My face is still pulled back from the G forces
       	incurred hours before you left.. :-)
       
       							mike

660.7It could be better...VMSINT::PIPERDerrell Piper - VAX/VMS DevelopmentTue Apr 25 1989 10:394
Just for the record, the DECwindows folks are working on it.  As .1 pointed out,
it was never really a problem before, and we didn't have time to address it for
V1.  It probably won't be addressed for V2 either, but maybe soon after that.

660.8What will this do when DWT comes along?QUARRY::PETRAITISWed Apr 26 1989 05:394
I would think that the 'single user system' hypothesis is (was it  in .2?) 
invalid for any system running a bunch of DWTs. What happens when you run out
of CPULIM in LOGINOUT? Has anyone reached this?

660.9MU::PORTERgonzo engineeringWed Apr 26 1989 11:0412
re .-1

(Systems supporting DWTs)

Is that a hypothetical question, or is it actually going to work that way?
I'd sort of hope that with DECwindows terminals, you wouldn't have
to have a per-terminal process waiting just in case someone decides
to log in.  I'd hope it would work more like real terminals: nothing
running, user pokes a key, driver sees unsolicited input from unowned
terminal, so sends message to job controller, which creates a process
running LOGINOUT.

660.10DWT's shouldn't need a dedicated process on the "big" host.IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Wed Apr 26 1989 19:567
I believe the plans are for the DWTs to use some protocol to inform the host
that it wants to start a session. For answers to this and other questions, I'd
recommend consulting the DWT group directly.

James