Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 10:15:19 -0700
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: does if_vr export true packet error statistics?
Message-ID:  <20100727171519.GA6209@michelle.cdnetworks.com>
In-Reply-To: <5610530046.20100727091422@serebryakov.spb.ru>
References:  <5610530046.20100727091422@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 27, 2010 at 09:14:22AM +0400, Lev Serebryakov wrote:
> Hello, Freebsd-net.
> 
>     I   have   huge   losses ("netstat -s -p tcp" shows 4% of packets, but
>  35% of bytes are retransmitted) on my intenret connection, which is PPPoE over
>  100Mbit  ehternet  link.  Provider  claims, that it is physical level
>  problem, and I should fix my cables in my network. But `netstat -i' shows
>  0  input  errors  /  0  output  errors  /  0  collistion  on physical
>  interface, which is if_vr.
> 
>    Could  I  belive  in  these  stats?  Does  if_vr  export proper error
>  statistics?
> 

I think so. You can also check more detailed statistics of vr(4)
with sysctl(8).
#sysctl dev.vr.0.stats=1

But I guess you wouldn't see errors there. To me, your issue looks
like wrongly advertised MSS which could be triggered by incorrect
MTU/MRU configuration of PPPoE. Check your PPPoE configuration.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100727171519.GA6209>