Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2011 09:29:57 +0400
From:      rihad <rihad@mail.ru>
To:        Sergey Kandaurov <pluknet@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Slow Intel 10GbE CX4 adapter behaviour
Message-ID:  <4D5377D5.80305@mail.ru>
In-Reply-To: <AANLkTimpkP64tjq1ex0nX%2Bs0sxGFJEkkUE=sSYpW6CR6@mail.gmail.com>
References:  <4D522657.10500@mail.ru>	<4D52603D.4070604@mail.ru>	<AANLkTikb28NjnFu3xf8m%2BeWPOWRtVaXt%2BJQ13K9f_iCV@mail.gmail.com>	<4D52AFAB.2030103@mail.ru> <AANLkTimpkP64tjq1ex0nX%2Bs0sxGFJEkkUE=sSYpW6CR6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/09/2011 07:27 PM, Sergey Kandaurov wrote:
> On 9 February 2011 18:15, rihad<rihad@mail.ru>  wrote:
>> On 02/09/2011 05:47 PM, Sergey Kandaurov wrote:
>>>
>>> On 9 February 2011 12:37, rihad<rihad@mail.ru>    wrote:
>>>>
>>>> Problem solved, I'm so embarrassed :) The issue on 7.2 mentioned above
>>>> with
>>>> ixgbe (tons of "fragmentation failed" errors) was real. The issue in
>>>> 8.3-RC3
>>>> was because dummynet wasn't being loaded at all... so no traffic could
>>>> pass
>>>> on it, despite dummynet_load="YES" being set in /boot/loader.conf. So I
>>>> turned it on in /etc/rc.conf : dummynet_enable="YES" and loaded it
>>>> "kldload
>>>> dummynet" in order to do without a reboot. Works like a charm so far.
>>>> Thanks
>>>> to all!
>>>
>>> Looks like loading dummynet.ko via /boot/loader.conf doesn't work because
>>> dummynet.ko depends on dummynet.ko but of the different version.
>>>
>> Would dummynet_enable="YES" in rc.conf still work? We haven't yet had a
>> chance to reboot to test that.
>>
>
> Yes, it would.
> Note that it depends on firewall_enable="YES" also present in rc.conf.
>

Thanks, I see. Now I think that changing through rc.conf is the 
"official", or "supported", way of enabling dummynet upon reboot, but 
loader.conf is a little way under the hood. I always asked myself why it 
was settable in two places, and not one. But now I know. The fact that 
dummynet can be set to load in loader.conf is more like an undesired 
effect of generality.



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