From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 04:13:10 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4AE23E8 for ; Sat, 21 Mar 2015 04:13:10 +0000 (UTC) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 771DFD8D for ; Sat, 21 Mar 2015 04:13:10 +0000 (UTC) Received: by yhpt93 with SMTP id t93so48250169yhp.0 for ; Fri, 20 Mar 2015 21:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6QU00ikuUeutKgZ13mve4NLZ8qd0EJKTTq+99cP7Lk0=; b=YmINJcwW7ChO7gcAAeuNZEehufaDPt8JOWN+ENJkRtZ+EcHAJUSgRTA17GwfHSn9DG ceJYzgzsNvDMq5OL+VIZzkDS5D+Vv4KASmpzKpUWw/5lDSIU4t+G32Osmkdy1THl9Beo BdBeAS0oGs2eHEVb7XTnvPOgG8QbqlZf4maxyowWhx3xhvAiCKZ3nnZdTkuT7qh02mkv /XM4+TYjPjx50zUaEyDuqjDj4oQRCHh0R7K1p0KZqOzb5Ae2FfdQcQff3kzeJ7MDi9f+ xl9T9c8iNe+pPAnQ4SWs07DvKVrmkZPICunYGq8F1PkJJNAqlge9wPDWrDke1PyQncuQ taZw== MIME-Version: 1.0 X-Received: by 10.170.90.70 with SMTP id h67mr96339802yka.46.1426911189364; Fri, 20 Mar 2015 21:13:09 -0700 (PDT) Received: by 10.170.60.69 with HTTP; Fri, 20 Mar 2015 21:13:09 -0700 (PDT) In-Reply-To: <550CA439.7040500@digiware.nl> References: <7F780FA4-E826-4C83-98CC-549FECEDA35E@par.lt> <550CA439.7040500@digiware.nl> Date: Fri, 20 Mar 2015 21:13:09 -0700 Message-ID: Subject: Re: Troubles with 'em' driver and UDP packets From: Mehmet Erol Sanliturk To: Willem Jan Withagen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-net@freebsd.org, =?UTF-8?B?VmFpZGFzIERhbW/FoWV2acSNaXVz?= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2015 04:13:10 -0000 On Fri, Mar 20, 2015 at 3:50 PM, Willem Jan Withagen wrote: > On 20/03/2015 10:42, Vaidas Damo=C5=A1evi=C4=8Dius wrote: > > It's not cabling problem :) > > > > Another example with -b and -i : > > > > vd@v0s4:~ % iperf3 -u -c 1.2.3.4 -i4 -b1000m -P1 > > Connecting to host 1.2.3.4, port 5201 > > [ 4] local 1.2.3.3 port 10672 connected to 1.2.3.4 port 5201 > > [ ID] Interval Transfer Bandwidth Total Datagrams > > [ 4] 0.00-4.00 sec 446 MBytes 935 Mbits/sec 1761605 > > [ 4] 4.00-8.00 sec 457 MBytes 958 Mbits/sec 1809551 > > [ 4] 8.00-10.00 sec 228 MBytes 958 Mbits/sec 900740 > > - - - - - - - - - - - - - - - - - - - - - - - - - > > [ ID] Interval Transfer Bandwidth Jitter > Lost/Total Datagrams > > [ 4] 0.00-10.00 sec 1.10 GBytes 949 Mbits/sec 770.668 ms 0/35 > (0%) > > [ 4] Sent 35 datagrams > > > > Result is totaly different. > > > > >> On 20 Mar 2015, at 11:29, Mehmet Erol Sanliturk < > m.e.sanliturk@gmail.com> wrote: > >> I think you use Gigabit CROSS cable ( cat 5e or cat 6 ) . > >> CROSS cable is required if connection is from computer to computer . > >> > >> Only for remaindering . > > to the best of my knowledge: > The standard for 1Gbit requires the media interface to do crossover > automagically, thus removing the requirement for X-cables. > And that also holds for computer <> computer connections. > > --WjW > > > You are right . In case of failures this point may be checked whether it is affecting the communication or not . http://en.wikipedia.org/wiki/Crossover_cable http://en.wikipedia.org/wiki/Ethernet_crossover_cable http://en.wikipedia.org/wiki/Medium_Dependent_Interface#Auto_MDI-X In some computer related shops , they are sold separately as cables and cable connectors . If there were not any need , no one would produce , sell , and buy such two different products .