home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.nfs:2180 comp.dcom.lans:1912 comp.protocols.tcp-ip:4222
- Newsgroups: comp.protocols.nfs,comp.dcom.lans,comp.protocols.tcp-ip
- Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!kozlowsk
- From: kozlowsk@Informatik.TU-Muenchen.DE (Rolf Kozlowski)
- Subject: Question for RPC - gurus
- Keywords: RPC
- Originator: kozlowsk@hprbg4.informatik.tu-muenchen.de
- Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
- Organization: Technische Universitaet Muenchen, Germany
- Date: Fri, 28 Aug 1992 13:07:30 GMT
- Message-ID: <1992Aug28.130730.13531@Informatik.TU-Muenchen.DE>
- Reply-To: Rolf.Kozlowski@Informatik.TU-Muenchen.DE
- Lines: 45
-
-
- Hi,
-
- I have written a little sample programm using RPC (see any RPC Guide like
- HP's `Programming and Protocols for NFS Services` ). The client only makes
- a request for an integer value and the server returnes an integer.
- Afterwords I have put some timestamps into the client and measured with
- our network monitor the time of the packets on the ethernet.
- The C-Source looked like this:
-
- ...
- gettimeofday (&timval1, &timzone);
- clnt_stat = clnt_call (client, RUSERSPROC_NUM, xdr_void,
- 0, xdr_u_long, &nusers, total_timeout)) != RPC_SUCCESS);
- gettimeofday (&timval1, &timzone);
- ...
-
- The results were like this:
- - Output client)
- the result of the RPC: 777
- RPC-delay = 2694 usec
- ---------
- - Delay between the request-packet from the client and the reply from
- the server: 633 usec
- ---------
- (this delay includes: send the request (client),
- receive the packet and prepare it (server)
- send the reply (server) )
-
- The time between receiving the frame from ethernet and returnung from
- the `clnt_call()` is about 2 msec's!!
-
- Now my question:
- What happens after the client has received the reply ??
-
- Thanks
-
- ---------------------------------------------------------------------------------
- Rolf Kozlowski Inst. fuer Informatik, Technische Universitaet Muenchen
- PO-Box 202420, 8000 Muenchen 2, Germany
- Rolf.Kozlowski@Informatik.TU-Muenchen.DE Tel: +49 89 2105 8193
-
-
-
-
-