From owner-freebsd-hackers@freebsd.org Fri Sep 4 10:43:41 2015 Return-Path: Delivered-To: freebsd-hackers@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 83D4C9CA2B2 for ; Fri, 4 Sep 2015 10:43:41 +0000 (UTC) (envelope-from noname.esst@yahoo.com) Received: from nm4-vm1.bullet.mail.ne1.yahoo.com (nm4-vm1.bullet.mail.ne1.yahoo.com [98.138.91.44]) (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 53F388AA for ; Fri, 4 Sep 2015 10:43:41 +0000 (UTC) (envelope-from noname.esst@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1441363052; bh=3YXjyDVxosqhgiKrw6+4y5eHt9KyXAmAlUfvAcYn3Cs=; h=Date:From:Reply-To:To:Subject:From:Subject; b=QGxbJtmXPih7VwMd/5YqigktekAjDp3zSbQXQUddZfV5XIIbqGKpJ3CDLke9dDCK7gTfHOs6s5kNHDIsmS7yxwrAdTZ33JXSs+A78To1xqCjhIjH9LKAo91+xYoQVkAVo1ZtSzCKRT8ZU/Z0YGkBt3eeZFQqH2stIhp4i9kzXIcrOvAh3uL+X7qpDQpdlL2eSu2NNr5ZQFnfHGsHCVmGbHFGACIZD9nAz+ekp9R1FZ21MlPnWnMeSdmpZE0nany9JqbrvY3HemOavRLWPf2KLcuxJeF8NLrx39TlDqYo63CQ0nnur08NrQspTO/VZyqwUmhsGhqqaoFxRUOZXYnU5g== Received: from [98.138.101.132] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 04 Sep 2015 10:37:32 -0000 Received: from [98.138.87.5] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 04 Sep 2015 10:37:32 -0000 Received: from [127.0.0.1] by omp1005.mail.ne1.yahoo.com with NNFMP; 04 Sep 2015 10:37:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 176579.64844.bm@omp1005.mail.ne1.yahoo.com X-YMail-OSG: ymxtVEQVM1np.37CbZ1Ys8NXXC.st3CmV2qBc76lqrg9.U2higFhK2ljyok.1D0 b8wcF__acyeVBBlSe_ENxkMVXbz481jQ2esW48lCnCmL2DbjVXlj9vP2rZNWs6u8Sb9AXoOD5GiM phPuGTKwUqwhpSjQrvkSlef8MUzBhl_tSTpq_j5rr7_WApXRpLgKyAvjRv1nGr4tY.OscrreIdXz ViprMdG9cqiwU7CR9exkmBrGzHVr6lrln3Pml87EdiTrh2FqkOAtuqDx_cNz72pJyEd3rHt.bS4F QwyEwO.LnaEW69SA.pmgZIVqm7H2n0LKr1PQ5k6NA_CYkO5gd3GpHNh8bQF1O7suOkYOq7ubgOW1 XKHDLLBTFkXQ5QEKfrWLc_tUt4ZKA3pRd.oLhV_fsLoRNPTFDAUaziztDofahY11WErSx8X8E.rL Wj9b9mSnzcQyWtef7pjox3aE16RhWmckoGR0Ugx51nWi6qsSHMi6kA34- Received: by 98.138.105.193; Fri, 04 Sep 2015 10:37:31 +0000 Date: Fri, 4 Sep 2015 10:37:31 +0000 (UTC) From: Nomad Esst Reply-To: Nomad Esst To: "freebsd-drivers@freebsd.org" , FreeBSD Net , Freebsd Hackers List Message-ID: <740628555.1564144.1441363051289.JavaMail.yahoo@mail.yahoo.com> Subject: FreeBSD em, igb driver question 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-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 10:43:41 -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. From owner-freebsd-hackers@freebsd.org Fri Sep 4 10:55:41 2015 Return-Path: Delivered-To: freebsd-hackers@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 D738A9CA85F for ; Fri, 4 Sep 2015 10:55:41 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm21-vm0.bullet.mail.bf1.yahoo.com (nm21-vm0.bullet.mail.bf1.yahoo.com [98.139.213.137]) (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 9A37BFE0 for ; Fri, 4 Sep 2015 10:55:41 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1441364011; bh=vokRPgGs8QMq7P/gVVSpkUKxfJVZGlPc2bHD+gv6LrA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=l0FfhOP0tZXQn5BS6qNYcmw+0AJsUa4gQ1LuQ9/wn1UaUyauodnmyRPaiYPS827n9m2QNxq2xCTRFCY1YK1p0xGwEJU29zzoIdgIU2TP/aVklMFJvycz+dI+XLCNZfTjfIUWI1/Wh6H29eEQN0ZLELeMtpET514Iwab/OeYtbaZ41rwrsmmuLVbpHv2m7yo8pUgnUO6qHmIo6jL7kVLAoA/ZnIlsh0nx+IJR9ZVVy+NLAMgfwbeDQDhS7hddYtpmUBWaxQbYWK+4iBYUM56fG6VQmKvE9SrQ7lWYWOh+vD0OgPVXfEdBU5czgqnuq0ZaIBUnc/nhtWxvuYokSkSufA== Received: from [98.139.215.143] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 10:53:31 -0000 Received: from [98.139.212.228] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 10:53:31 -0000 Received: from [127.0.0.1] by omp1037.mail.bf1.yahoo.com with NNFMP; 04 Sep 2015 10:53:31 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 359345.97791.bm@omp1037.mail.bf1.yahoo.com X-YMail-OSG: ZLzivxUVM1nlHpkss3Lk58cDU7KnO8h5t_WToxKhfGt5PQZFyXemkQQSN4EhDN3 9cJfYO7g3L8SyNZbSgfwp3sXqGHUBG5gO9QuA4TuqAjwedqHe5q9geFNV6n97Hxuslrz.6qJH4FE fHnBvjtU7DR0_c6AKrEBbxm3DLgeUfX4oYhNNVKYuEGQthemhezREQGtTDOsJyZy8lAcGl9iiXdd fO8TH9nDbdWf.zyR4WmzrZAyWw2jed7sdetrbnEspkgJ52Wsejmyq7moSD9n1jx.iITA0f6lbyCJ p61Ng8c5xzcKngepsmKiDRSAzL0gb9fl5UtEBkkAyvz0lzaqH4He1OaAgzamiBqK5SpA3Vphi1Q9 QHxFbk7lPAn8tcqN2NNjI62q0ELGeoc67m7Km4jMRw25ERg7eFJdLruuvNiEBPvoRjYWJar3LtNe 540oTtLpXLWOspVrgu9y7Oa8en8KIK3FxSnyLw5VHGOpCPam8gYVR0Q-- Received: by 66.196.80.121; Fri, 04 Sep 2015 10:53:30 +0000 Date: Fri, 4 Sep 2015 10:53:30 +0000 (UTC) From: John Dison Reply-To: John Dison To: Steven Hartland , "freebsd-hackers@freebsd.org" Message-ID: <1660801547.1426758.1441364010636.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <55E97248.80009@multiplay.co.uk> References: <55E97248.80009@multiplay.co.uk> Subject: Re: Kernel crash dumps and swap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 10:55:42 -0000 So if I use dumpdev="/path/to/dev" I can have kernel crash dumps without swap enabled?This should be clarified in documentation IMO, right now I have an impression that swap is mandatory for crash dumps to work. From: Steven Hartland To: freebsd-hackers@freebsd.org Sent: Friday, September 4, 2015 1:28 PM Subject: Re: Kernel crash dumps and swap That's correct as the default for dumpdev="auto" in rc.conf is for dump to use swap devices, so in order for dump to locate a device to dump to in this case swap must be enabled. From owner-freebsd-hackers@freebsd.org Fri Sep 4 12:32:33 2015 Return-Path: Delivered-To: freebsd-hackers@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 F34579C9F97 for ; Fri, 4 Sep 2015 12:32:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84BEDB74 for ; Fri, 4 Sep 2015 12:32:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id t84CWSR6064804 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 4 Sep 2015 15:32:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua t84CWSR6064804 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id t84CWSuJ064803; Fri, 4 Sep 2015 15:32:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 4 Sep 2015 15:32:28 +0300 From: Konstantin Belousov To: John Dison Cc: Steven Hartland , "freebsd-hackers@freebsd.org" Subject: Re: Kernel crash dumps and swap Message-ID: <20150904123228.GI2072@kib.kiev.ua> References: <55E97248.80009@multiplay.co.uk> <1660801547.1426758.1441364010636.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1660801547.1426758.1441364010636.JavaMail.yahoo@mail.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 12:32:34 -0000 On Fri, Sep 04, 2015 at 10:53:30AM +0000, John Dison via freebsd-hackers wrote: > So if I use dumpdev="/path/to/dev" I can have kernel crash dumps without swap enabled?This should be clarified in documentation IMO, right now I have an impression that swap is mandatory for crash dumps to work. Swap and dump uses are separate. You can put dump on swap, but you can not put it as well. On my test machines I usually do not mix them, because crash dumps are precious during testing.