From owner-freebsd-drivers@freebsd.org Sat Sep 5 14:45:44 2015 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EA599CA043 for ; Sat, 5 Sep 2015 14:45:44 +0000 (UTC) (envelope-from noname.esst@yahoo.com) Received: from nm13-vm5.bullet.mail.ne1.yahoo.com (nm13-vm5.bullet.mail.ne1.yahoo.com [98.138.91.235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F31971BCA for ; Sat, 5 Sep 2015 14:45:43 +0000 (UTC) (envelope-from noname.esst@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1441464235; bh=AomhwY6Bl6BPwWS3hr97Zo3dOJrjtzMT5b9AybxnxCE=; h=Date:From:Reply-To:To:Subject:From:Subject; b=BelRgYnwMa+WyvENtyGHyfjJOqdK3EC8gc3RjNCiEnIU/i7Pww9yTa9xPPQpcUuYDnX5Ct9TuavQQcxMVK1Xk4ny36KVr8S/hNErpEbX2uL/JGzA9WFLkv/G//+L9AOmp/Xr8VPA/wK+amdZBElW6lkuhDxlNq567sysIKF9vUj93SJL09FHiL641kNTSLG+oVvseJ93v8z1OQbb6aa4nYj7mD75Bq6D+kU8h6kPiMwUc7t4ALBNImHc9KmNUY7AaQcBog7UZ55y6ZVbgJ5bhvOTlm4G6XucvfKNwc2WrSBzt+feo+SRXCzrq6JkViSaGd8ryXN0JU5AR/gKwg1aMw== Received: from [98.138.226.179] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 05 Sep 2015 14:43:55 -0000 Received: from [98.138.87.3] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 05 Sep 2015 14:43:54 -0000 Received: from [127.0.0.1] by omp1003.mail.ne1.yahoo.com with NNFMP; 05 Sep 2015 14:43:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 880880.74107.bm@omp1003.mail.ne1.yahoo.com X-YMail-OSG: 6X2TLusVM1k6S5EW7_v9RWYv9aYO.liX4h_0Hm4MVe.6tTUUXv4u.sTSVNarse8 dPvoi2SMWRTTYcs.AnKdzLzdHMjVtH7RehAI9NZg4A4kj8ChGHH7wlZE_wpEi2d7JbBmQtl_yeuv 2Aknm.wBIgTmy77m2n0262JinbLqVeyD1U3_yAOCXzISSN5eOoS_XCnJtSDj9oleQxZmbIAOhetX Ephb0omUehy146Y8Vw9FXDEo8jBrxSgk2z2oF1LzLlLi9_kTRxCqPkAR7jdGsmpE9eoEYk79STiq 36lBijdTAFZX4FAT4LSUcV7jcmTzfQUmpsF.hgw0aO21o9kjaERLsz1Xtkd1Phf56eDzFRFgiBVY KY_28ogwLUzawN2RaR8F3KOg5okdWoLl9Wx7dH.yatOul2fuRbiISPN0qUFsy5DlCkINbMIQS1ge UcFmr61_30.SZ3kuZyiqaCZVJbeaChBtEq_OFEPnAfauSzL9lz2F1YqI- Received: by 98.138.105.202; Sat, 05 Sep 2015 14:43:54 +0000 Date: Sat, 5 Sep 2015 14:43:54 +0000 (UTC) From: Nomad Esst Reply-To: Nomad Esst To: "freebsd-drivers@freebsd.org" Message-ID: <1725304810.2091726.1441464234074.JavaMail.yahoo@mail.yahoo.com> Subject: em, igb performance test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 14:45:44 -0000 Hi allDuring some performance tests, we found out some weird problems. We u= se a shell script that do the following : do from 1 to 10Shutdown em/igb interfacesleep 3Bring em/igb interface uptcp= replay -i em0 -l ospf_hello.pcap=C2=A0sleep3end By running this shell on one side we expect 10 ospf hello packets to get ar= rived at the other side, but tcpdump (on the other side) shows 4, sometimes= 8 and etc ... (not all 10 packets are arrived at the other side).We test t= his scenario with a Cisco router, and all packets are received at the Cisco= side. What causes this packet loss in FreeBSD (maybe in em or igb drivers)= ?I know that this scenario may not have any use in the real world, but I'm = curious, why Cisco don't have such behavior.Thanks in advance. Regards.