Article View: demon.ip.support.nt
Article #126Re: Why does windows2000 ping have a resolution of 10ms?
From: Bob Cousins
Date: Sun, 10 Mar 2002 00:52
Date: Sun, 10 Mar 2002 00:52
27 lines
2568 bytes
2568 bytes
Simon wrote: >* Simon <usenet@sis-domain.demon.co.uk> wrote: >> An Intel EtherExpress Pro 100 on Linux 2.4.5 using ping from netkit-base-0.17: >> >> 64 octets from 158.152.1.222: icmp_seq=0 ttl=255 time=155.4 ms >> 64 octets from 158.152.1.222: icmp_seq=1 ttl=255 time=140.0 ms >> 64 octets from 158.152.1.222: icmp_seq=2 ttl=255 time=150.0 ms >> ...results carry on accurate to 10ms until the ping is stopped > >To follow up my own post, this is over the PPP stack (using pppd 2.4.1) and >not the NIC. Must acquire more caffeine... Ooops.. Actually, I am fairly certain the ping application calculates the time interval, but it is possible the NIC driver affects the resolution, for example depending on how interrupts get handled and how the request queues are managed. Linux source code is obviously freely available, if you look at the source to ping you will see it uses the system timer. The Unix socket interface does not carry timestamps of packets. Winsock derives from the Unix socket API, so is similar. -- Bob Cousins. Please remove $NOSPAM$ to reply.
Technical Details
Message-ID:
<o0bl8ukokh07fu7bl8n7g4fo9pjlo15u9n@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!lintilla.demon.co.uk!not-for-mailReferences:
<EuZLqJATKJh8EwS3@little.demon.co.uk> <MPG.16efdfd3d98514899896d0@news-central.giganews.com> <tfob8u08b1ki0aj37odct94f5naflt5vt1@4ax.com> <1015457895.3495.1.nnrp-10.c2de3c6e@news.demon.co.uk> <goUi7KAqufi8Ewut@little.demon.co.uk> <k7dk8uso968031p0mqd3olu1uopc46lt6e@4ax.com> <b3ud6a.qc.ln@sis-domain.demon.co.uk> <s30e6a.ae.ln@sis-domain.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 112d46,aed7066cfaab3934 X-Google-Attributes: gid112d46,public X-Google-Thread: 100788,aed7066cfaab3934 X-Google-Attributes: gid100788,public X-Google-ArrivalTime: 2002-03-09 16:53:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!lintilla.demon.co.uk!not-for-mail From: Bob Cousins <bob@$NOSPAM$lintilla.demon.co.uk> Newsgroups: demon.ip.support.nt,demon.service.isdn Subject: Re: Why does windows2000 ping have a resolution of 10ms? Date: Sun, 10 Mar 2002 00:52:41 +0000 Message-ID: <o0bl8ukokh07fu7bl8n7g4fo9pjlo15u9n@4ax.com> References: <EuZLqJATKJh8EwS3@little.demon.co.uk> <MPG.16efdfd3d98514899896d0@news-central.giganews.com> <tfob8u08b1ki0aj37odct94f5naflt5vt1@4ax.com> <1015457895.3495.1.nnrp-10.c2de3c6e@news.demon.co.uk> <goUi7KAqufi8Ewut@little.demon.co.uk> <k7dk8uso968031p0mqd3olu1uopc46lt6e@4ax.com> <b3ud6a.qc.ln@sis-domain.demon.co.uk> <s30e6a.ae.ln@sis-domain.demon.co.uk> NNTP-Posting-Host: lintilla.demon.co.uk X-NNTP-Posting-Host: lintilla.demon.co.uk:158.152.47.197 X-Trace: news.demon.co.uk 1015721573 nnrp-13:16907 NO-IDENT lintilla.demon.co.uk:158.152.47.197 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27