Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 10:37:31 +0000 (UTC)
From:      Nomad Esst <noname.esst@yahoo.com>
To:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>,  FreeBSD Net <freebsd-net@freebsd.org>,  Freebsd Hackers List <freebsd-hackers@freebsd.org>
Subject:   FreeBSD em, igb driver question
Message-ID:  <740628555.1564144.1441363051289.JavaMail.yahoo@mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-hackers@freebsd.org>
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 <freebsd-hackers@mailman.ysv.freebsd.org>;
 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 <freebsd-hackers@freebsd.org>; 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 <jdison16@yahoo.com>
Reply-To: John Dison <jdison16@yahoo.com>
To: Steven Hartland <killing@multiplay.co.uk>, 
 "freebsd-hackers@freebsd.org" <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
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=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 <killing@multiplay.co.uk>
 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: <owner-freebsd-hackers@freebsd.org>
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 <freebsd-hackers@mailman.ysv.freebsd.org>;
 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 <freebsd-hackers@freebsd.org>; 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 <kostikbel@gmail.com>
To: John Dison <jdison16@yahoo.com>
Cc: Steven Hartland <killing@multiplay.co.uk>,
 "freebsd-hackers@freebsd.org" <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
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=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.



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