Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Question
@ 1997-10-13  4:00 Mike Doyle
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Doyle @ 1997-10-13  4:00 UTC (permalink / raw)



What is this NewsGroup for?

http://www.freeyellow.com/members/a1telecom



^ permalink raw reply	[flat|nested] 3+ messages in thread
* question
@ 1998-07-22  4:00 David Gray
  0 siblings, 0 replies; 3+ messages in thread
From: David Gray @ 1998-07-22  4:00 UTC (permalink / raw)


Can anyone help?

I have downloaded quite a few VMS programs stored in ZIP format from the
DECUS FTP site.  Problem
is when extracted from the ZIP,  text & source code files do not appear
to have had <cr> <lf> added so
take a fair bit of editing to bring them back to their original form.
Executables also will not run presumably
because they too have not been stored correctly.

Thanks in advance.

David Gray.

david_m_gray@studio.disney.com







^ permalink raw reply	[flat|nested] 3+ messages in thread
* Question
@ 1997-07-08  4:00 Jayavel Shanmugasundaram
  0 siblings, 0 replies; 3+ messages in thread
From: Jayavel Shanmugasundaram @ 1997-07-08  4:00 UTC (permalink / raw)




I have been trying to find an explanation for a phenomenon which, I think, has
something to do with either the scheduling algorithms in Alphas or network
transmission delays. I would be grateful if someone could verify any of the
hypothesis or propose other reasons for the problem.

I have a client-server system in which the client communicates with the server
using remote procedure calls. The client and server both run on separate 166
MHz DEC Alphas running Digital UNIX V3.2C (Rev. 148). The remote procedure
call layer uses TCP as the underlying communication layer (though the problem
I am going to describe occurs even when UDP is used as the underlying
communication layer). The two Alphas are part of a 10 Mbps LAN.

The client performs 2000 remote procedure calls with complexity X. For each
run of the experiment, each procedure call performs exactly the same sequence
of operations and thus has the same complexity. When X = 1 (a very simple
operation involving a maximum of 100s of machine instructions) a set of
instructions is executed at the client for each procedure call. When X = 10
(say), the initial set of instructions is executed 10 times. In general, the
initial set of instruction is executed X times when a procedure has operation
complexity X. The return results are of the same size irrespective of the
operation complexity.

When the client performs 2000 RPCs with operation complexity 1, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    15.55         16.50
User Time:              6.46          4.84
System Time:            2.87          2.95

When the client performs 2000 RPCs with operation complexity 31, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    15.58         16.22
User Time:              6.55          7.45
System Time:            2.76          3.08

When the client performs 2000 RPCs with operation complexity 61, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    15.88         17.00
User Time:              6.68         10.05
System Time:            2.89          3.10

When the client performs 2000 RPCs with operation complexity 91, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    16.36         17.88
User Time:              6.47         12.48
System Time:            2.77          3.02

When the client performs 2000 RPCs with operation complexity 121, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    17.77         20.47
User Time:              6.69         15.56
System Time:            2.92          2.59

When the client performs 2000 RPCs with operation complexity 151, the timing
information for the client and server are:

                       Client       Server
                       ------       ------

Total Elapsed Time:    20.18         22.97
User Time:              6.48         18.18
System Time:            2.84          2.59


As expected, the user time at the client is constant (this is the time
required to make the remote procedure calls) and the system time at the client
is constant (this is the time required to send the request on the network
within the OS). In the server, the system time is constant (this is the time
required to send the reply on the network within the OS). The user time at the
server increases linearly with operation complexity (as is to be expected).

The problem is that the total elapsed time does not increase (in both the
client and the server) till a particular operation complexity (91 in this
case). This led me to conclude that there was something going on within the OS
or the network which caused this lack of response to operation complexity. The
two theories are:


Scheduling within OS:
---------------------

Since the process which makes socket calls and the process which actually
sends data on the network are separate, a scheduling delay (dependent on the
scheduling algorithm) causes small differences in time to be ignored.


Network Delays:
---------------

I ruled out the possibility of buffering in TCP. This is because the timer it
uses is of the order of 200 ms, way too much for the experiment at hand where
each operation takes, on the average, about 16/2000 = 8 ms. Besides this
problem occured even when UDP was used as the underlying transport layer. So,
the only other possibility could be some sort of delay at the physical layer
which could be occuring.


I would be grateful is someone could comment on these hypothesis and/or put
forth other theories.

Jai.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-07-22  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-13  4:00 Question Mike Doyle
  -- strict thread matches above, loose matches on Subject: below --
1998-07-22  4:00 question David Gray
1997-07-08  4:00 Question Jayavel Shanmugasundaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox