home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.tcp-ip:5099 comp.dcom.lans.ethernet:2431
- Path: sparky!uunet!think.com!rpi!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
- From: barnett@grymoire.crd.ge.com (Bruce Barnett)
- Newsgroups: comp.protocols.tcp-ip,comp.dcom.lans.ethernet
- Subject: Wanted: Advice on calculating timing gaps between packets.
- Message-ID: <BARNETT.92Nov9112747@grymoire.crd.ge.com>
- Date: 9 Nov 92 16:27:47 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: barnett@crdgw1.ge.com
- Organization: GE Corp. R & D, Schenectady, NY
- Lines: 32
- Nntp-Posting-Host: grymoire.crd.ge.com
-
-
- I am analyzing the timing between packets during several large file
- transfers (it's a medical network). We are going to check the accuracy
- of our network simulation with real data. (Novel concept, huh?)
-
- Does anyone have advice on calculating the time between each packet?
- (Assuming we are looking at packets during a file transfer going from
- A to B only). We are using tcpdump and a SPARC (typically a SPARC 2).
- I am not sure I am using the best formula.
-
- I know the SPARC 2 has a 1 ms clock. The timestamp that tcpdump
- provides is actually the time the SPARC making the measurement
- received the packet, right? If Ethernet transmits at 10Mb/second, or
- 10,000,000/8 MB/sec, then each byte should take 1/(10000000/8)
- seconds. Therefore the time the packet was first received on the
- measurement system would be:
-
- $start_time = $receive_time-(1/(10,000,000/8))*$size_of_packet;
-
- I am trying to measure the time between the end of one packet and the
- start of the next packet.
-
- If the system started to send a packet, and there was a collision, so
- it had to back off and retransmit, typically how much difference would
- the measurement machine see?
-
- I realize that there is a propagation delay down the wire. Is there
- some other factors I should be taking into consideration?
-
-
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-