[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

526.0. "X network utilization" by CTOAVX::VALENCIS () Mon Apr 03 1989 16:41

    
    I'm working with a customer to develop an X based application which
    will eventually include about 100 various work stations.
    
    The customer has concerns that with this number of boxes running
    X, network traffic may become a problem due to collisions, etc.     
    
    Is there any information out there on this topic?  Documented data
    would be great (white paper?), or an explanation on X network
    utilization and some application guide-lines for remote X calls.
                                                              
    Also, what's the feasibility of running X over 9.6/19.2 Async lines?
    Can it work, and if so, what type of response time can one expect?
                                                                   
    Finally, anyone out there running Ethernet & TCP/IP networks together
    with X protocols?  What software are you using (WIN/TCP or the
    VMS-Ultrix connection) and are there any problems?
    
    Thanks
    
    

T.RTitleUserPersonal
Name
DateLines
526.1X protocol on a LAN is not a problemPOOL::BUFORDOhayo, y'all!Tue Apr 04 1989 10:3230
    X protocol on a LAN should be no problem.  
    
    I ran a series of experiments in which I captured and timestamped every
    protocol packet going between a server and all of its clients.  As
    expected, the packet arrival rate was bursty but relatively sparse, the
    packet sizes varied but were generally small.  (As always, your milage
    may vary...)
    
    I know of at least three clusters in which a number of workstations run
    remote clients routinely.  One of these clusters is the subject of a
    LAN monitor most of the time.  No problems reported.
    
    If you are designing a DECWindows client, be aware of two protocol
    issues: MotionNotify and synchronous round trips (XGetMumble and
    XQueryMumble).  
    
    If your application needs to turn on MotionNotify, do it.  But don't
    turn it on if you don't need it.  MotionNotify can generate as many as
    50 protocol messages per second when the user is moving the pointer
    around.
    
    Again, if your application needs to do XGetSomething or
    XQuerySomething, do it.  But if you don't need to, don't.  When the
    call is made, a blocking read is issued; your application will stall
    until the server gets the request (one transport), processes it, and
    returns the reply (second transport).
    
    
    John B.

526.2X marks the spotCTOAVX::VALENCISTue Apr 04 1989 11:0417
    John,
    
    Thanks very much for the info.  If I understand you correctly, X
    isn't too much of a network hog.  Sounds like the X traffic is similar
    in nature to LAT - true?
    
    You mentioned remote clients serviced by a cluster.  Were they
    async connections or Ethernet based?  If async, what was the line
    speed?  And how heavy was the traffic?  What was response time like?
    
    I figured MotionNotify was a heavy consumer, but didn't realize
    to that extent!  Do you know of any documentation that can provide
    that type of resource usage data?  I'd like to get a copy to read.
    
    Thanks again.                                                        
    Stan Valencis

526.3STAR::BRANDENBERGIntelligence - just a good party trick?Tue Apr 04 1989 12:0710
    Stan
    
    To what degree X is an network hog depends on the application.  There
    have been discussions on the internet recently about how bad the window
    manager 'uwm' can be when performing an interactive operation such as
    resize or move window.  As John said, "mileage may vary" and that's
    rarely truer than with X.
    
    						m

526.4Have more details?CTOAVX::VALENCISTue Apr 04 1989 12:3511
    I completely understand that resource consumption is application
    specific.  What I'm trying to find out is how much resources are
    used (for remote calls) by the window manager, Xget/query calls
    etc.  And perhaps some guidelines/gotchas to follow when developing
    networked based X solutions.  With 100 work stations all talking
    X, I want to be sure nothing chokes.  If you have any information
    like that, please let me know.  
    
    Thank very much.
    Stan Valencis

526.5As to using ASYNC lines - don't unless you have a good effective bandwidth.IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Tue Apr 04 1989 15:2415

Unless you are using techniques to increase the effective bandwith of the 
ASYNCH channel (compression or some such) or just pay for the higher speed
lines, then I'd advise against it. Some early experiments were done using 
low speed lines (2400 baud) and the performance was not acceptable. I've 
heard that 9600 will work, but its still slow and depends on having the
compression hardware. 38.4K should be reasonable if it's a dedicated line.
You might want to ask the people working on the DECwindows terminal.

There's not any intrinic problem with the X protocol, it's simply the nature of
the task.

James

526.6POOL::BUFORDOhayo, y'all!Wed Apr 05 1989 10:1950
    Re .2 by CTOAVX::VALENCIS
    
    > You mentioned remote clients serviced by a cluster.  Were they
    > async connections or Ethernet based?  
    
    The data I collected was all Ethernet based.  I've never seen an async
    DECWindows connection.  
    
    Remember that the data I saw indicated that X protocol traffic is
    bursty.  Peak rates will be important...
    
    > I figured MotionNotify was a heavy consumer, but didn't realize
    > to that extent!
    
    Oops!  MotionNotify has the *potential* of generating a lot of small
    packets.  ~50/sec is the *peak*, not the average.  And even at the peak
    rate, the actual data transfer rate is not all that high.   50/sec * 32
    bytes = 1600 bytes/sec.  (32 bytes is just the size of  the X protocol
    packet, not the full network packet.)  
    
    I didn't want to startle you, just to instill a little caution.
    
    Another thought occurred to me just now.  The X programming style seems
    to encourage the use of lots of special purpose windows.  Functionally,
    that's very useful; it provides excellent mechanisms for controlling
    the display.  But be warned: TANSTAAFL -- There Ain't No Such Thing As
    A Free Lunch.  Lots of windows means lots of resources; in this
    discussion it means lots of protocol messages to create and manage each
    of those windows.  (In one protocol survey, ExposeNotify was the most
    frequently occurring event.)
    
    If you use the toolkit for menubars, pushbuttons, so on and so forth,
    you need not worry about this issue directly.  The toolkit folks work
    hard to pick the right number of windows to implement each individual
    feature.  
    
    But when you start designing how your application will look (total
    number of widgets you will use, etc.) keep TANSTAAFL in mind.  If you
    need a widget or a window, use it; that's what they are for.  Just
    don't go hog wild...
    
    > Do you know of any documentation that can provide that type of resource 
    > usage data?
    
    None that is up-to-date or public.  Sorry...
    
    
    John B.
              

526.7Async data compression?CTOAVX::VALENCISWed Apr 05 1989 11:4711
    Thanks very much for all the info.
    
    On note .5, you mentioned "data compression" over Async lines to
    maximize throughput.
    
    Can you explain how compression is accomplished?  Is compression a function
    of the modem or some software technique/parameter? 
    
    Thanks,
    Stan Valencis

526.8The compression is done in the modem.IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Thu Apr 06 1989 10:209
There are modems available today that attempt to gain higher effective baud 
by doing various forms of data compression. The most frequent is run-length
compression. Usually this is done entirely in the modem-to-modem link and is
not visible to the software or user. The drawback is that you must have a 
pair of similar modems to ensure that you can get the benifit.

James