All of lore.kernel.org
 help / color / mirror / Atom feed
From: Beezly <beezly@beezly.org.uk>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Dropped packets on SUN GEM
Date: 12 Mar 2002 23:36:21 +0000	[thread overview]
Message-ID: <1015976181.2652.30.camel@monkey> (raw)
In-Reply-To: <20020312.151443.03370128.davem@redhat.com>
In-Reply-To: <1015974664.2652.10.camel@monkey>  <20020312.151443.03370128.davem@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 4462 bytes --]

Hi David,

On Tue, 2002-03-12 at 23:14, David S. Miller wrote:
> What I believe happens is that when the RX overflow condition occurs,
> there will be some packets that will be corrupted as a result.

Yep, I expected that, but wouldn't this only be packets which had
*already* entered the RX buffer? These packets are being transmitted at
a rate of one every .1/.2 seconds, so I guess it's unlikely that all
these packets have entered the RX buffer and been zapped. OTOH - I'm
just stabbing away wildly in the dark so I most likely wrong ;)

> I find it really odd that you can reproduce this condition so readily.
> Does it happen under normal usage or do you have to issue a ping flood
> or some other packet intensive job to trigger the problem?  Also, are
> you getting Pause enabled on the link consistently?

I'm not getting the Pause enabled message *at all*. The other host is
100Mbit (I've not got another gigabit host to test against yet).

If I stop doing the ping I notice that I loose TCP/IP connectivity for a
while, but it usually comes back after a period of time (sorry to be so
vague, but I haven't been able to tell how long it takes to come back
exactly).

Interestingly, whilst writing this e-mail, I've been running a ping with
a 1 second interval and no options (so we end up with 84 bytes in the
packet). It did the same thing, but took a lot longer than 14 packets to
recover... (FYI: 195.195.14.1 is across an ADSL link from me -
explaining the high rtt :) )

64 bytes from 195.195.14.1: icmp_seq=258 ttl=239 time=33.0 ms
64 bytes from 195.195.14.1: icmp_seq=259 ttl=239 time=32.4 ms
64 bytes from 195.195.14.1: icmp_seq=260 ttl=239 time=63.1 ms
64 bytes from 195.195.14.1: icmp_seq=261 ttl=239 time=32.3 ms
64 bytes from 195.195.14.1: icmp_seq=262 ttl=239 time=33.2 ms
64 bytes from 195.195.14.1: icmp_seq=263 ttl=239 time=33.8 ms
64 bytes from 195.195.14.1: icmp_seq=264 ttl=239 time=33.4 ms
>From 10.0.0.12 icmp_seq=309 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=310 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=311 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=313 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=314 Destination Host Unreachable
<snip>
>From 10.0.0.12 icmp_seq=370 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=371 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=373 Destination Host Unreachable
>From 10.0.0.12 icmp_seq=374 Destination Host Unreachable
64 bytes from 195.195.14.1: icmp_seq=375 ttl=239 time=1036 ms
64 bytes from 195.195.14.1: icmp_seq=376 ttl=239 time=38.2 ms
64 bytes from 195.195.14.1: icmp_seq=377 ttl=239 time=29.4 ms
64 bytes from 195.195.14.1: icmp_seq=378 ttl=239 time=32.1 ms

So I had another brainstorm, perhaps this is related to the amount of
data transfer /rather/ than packets.

If I do ping -i .1 10.0.0.15 (i.e. an 84 byte packet), I get the
following very interesting results.

64 bytes from 10.0.0.15: icmp_seq=298 ttl=255 time=0.223 ms
64 bytes from 10.0.0.15: icmp_seq=299 ttl=255 time=0.209 ms
64 bytes from 10.0.0.15: icmp_seq=300 ttl=255 time=0.233 ms
64 bytes from 10.0.0.15: icmp_seq=301 ttl=255 time=0.210 ms
64 bytes from 10.0.0.15: icmp_seq=302 ttl=255 time=0.220 ms
64 bytes from 10.0.0.15: icmp_seq=303 ttl=255 time=0.208 ms
64 bytes from 10.0.0.15: icmp_seq=304 ttl=255 time=0.213 ms
64 bytes from 10.0.0.15: icmp_seq=630 ttl=255 time=0.214 ms
64 bytes from 10.0.0.15: icmp_seq=631 ttl=255 time=0.212 ms
64 bytes from 10.0.0.15: icmp_seq=632 ttl=255 time=0.202 ms
64 bytes from 10.0.0.15: icmp_seq=633 ttl=255 time=0.201 ms


i.e. it takes the card 325 packets to recover, yet with 1500 byte
packets... I get, 

1480 bytes from 10.0.0.15: icmp_seq=499 ttl=255 time=0.558 ms
1480 bytes from 10.0.0.15: icmp_seq=500 ttl=255 time=0.561 ms
1480 bytes from 10.0.0.15: icmp_seq=501 ttl=255 time=0.550 ms
1480 bytes from 10.0.0.15: icmp_seq=502 ttl=255 time=0.557 ms
1480 bytes from 10.0.0.15: icmp_seq=503 ttl=255 time=0.547 ms
1480 bytes from 10.0.0.15: icmp_seq=518 ttl=255 time=0.566 ms
1480 bytes from 10.0.0.15: icmp_seq=519 ttl=255 time=0.551 ms
1480 bytes from 10.0.0.15: icmp_seq=520 ttl=255 time=0.552 ms
1480 bytes from 10.0.0.15: icmp_seq=521 ttl=255 time=0.552 ms
1480 bytes from 10.0.0.15: icmp_seq=522 ttl=255 time=0.548 ms

14 packets missing.

325*84  = 27300
14*1500 = 21000

Are these number relevant?

Beezly


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2002-03-12 23:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12 23:11 Dropped packets on SUN GEM Beezly
2002-03-12 23:14 ` David S. Miller
2002-03-12 23:36   ` Beezly [this message]
2002-03-12 23:52     ` David S. Miller
2002-03-13  0:08       ` Beezly
2002-03-13  0:10         ` David S. Miller
2002-03-13  0:36           ` Beezly
2002-03-13  0:56             ` David S. Miller
2002-03-13  1:07               ` Beezly
2002-03-13  1:15                 ` David S. Miller
2002-03-13  1:24                   ` Beezly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1015976181.2652.30.camel@monkey \
    --to=beezly@beezly.org.uk \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.