Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 11:40:04 -0500
From:      Guy Helmer <guy.helmer@palisadesystems.com>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r223350 - head/sys/dev/e1000
Message-ID:  <EA513B0C-1B87-4D3F-B78D-01892DACBD08@palisadesystems.com>
In-Reply-To: <BANLkTi=8uBXJECU7_15wdAZBHzhvAwOTFg@mail.gmail.com>
References:  <201106202259.p5KMxT1h069297@svn.freebsd.org> <201106210907.18414.jhb@freebsd.org> <BANLkTim-_hqXBC=3oC2dwi7YxC7aSJ_BPg@mail.gmail.com> <5B6CCF15-05B9-418A-8B84-6A2FF441A39C@palisadesystems.com> <BANLkTi=8uBXJECU7_15wdAZBHzhvAwOTFg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ahh, I meant to say "global tunables".

It is nice to have flow control as a per-interface setting also - didn't =
have that back in FreeBSD 8.1.

Thanks,
Guy

On Jun 21, 2011, at 11:34 AM, Jack Vogel wrote:

> There IS a global default for flow control, its just hardcoded.. :)
>=20
> Flow control was something my validation group specifically ragged on =
me=20
> about... and was the reason I changed to a per-adapter setting.
>=20
> Let me think about it.
>=20
> Jack
>=20
>=20
> On Tue, Jun 21, 2011 at 9:17 AM, Guy Helmer =
<guy.helmer@palisadesystems.com> wrote:
> On Jun 21, 2011, at 11:07 AM, Jack Vogel wrote:
>=20
>> LOL, the old adage is true, you just can't please all the people... =
:)=20
>>=20
>> The way the code now is it assigns a default, but you could still =
have
>> a loader entry that would change it for all adapters if you wanted =
to,
>> but ok, if you prefer the older for this. What other globals do you=20=

>> think should be retained?
>>=20
>=20
> I'd like to be able to set the global default for flow control.  I'd =
also appreciate a global default for disabling TCP checksum offload, but =
that's above and beyond what we had before :-)
>=20
>> Jack
>>=20
>>=20
>> On Tue, Jun 21, 2011 at 6:07 AM, John Baldwin <jhb@freebsd.org> =
wrote:
>> On Monday, June 20, 2011 6:59:29 pm Jack F Vogel wrote:
>> > Author: jfv
>> > Date: Mon Jun 20 22:59:29 2011
>> > New Revision: 223350
>> > URL: http://svn.freebsd.org/changeset/base/223350
>> >
>> > Log:
>> >   Eliminate some global tuneables in favor of adapter-specific,
>> >   particular flow control and dma coalesce. Also improve the
>> >   sysctl operation on those too.
>> >
>> >   Add IPv6 detection in the ioctl code, this was done for
>> >   ixgbe first, carrying that over.
>> >
>> >   Add resource ability to disable particular adapter.
>> >
>> >   Add HW TSO capability so vlans can make use of TSO
>>=20
>> The tunables are useful for setting defaults for all interfaces. :(
>>=20
>> I use hw.igb.rx_processing_limit=3D-1 in loader.conf at work so that =
we can
>> ensure that all igb interfaces in a given system have that setting.   =
This is
>> more scalable than having to set the right number of entries in
>> /etc/sysctl.conf.local on different machines, etc, without spamming =
the
>> console during boot with warnings about tweaking non-existing =
sysctls, etc.
>>=20
>> Please consider keeping the tunables where the tunables are used to =
set
>> default settings for all adapters from the loader but per-device =
sysctls are
>> used post-boot to provide runtime, per-device settings.
>>=20
>> --
>> John Baldwin
>>=20
>=20
>=20
>=20



--------=0AThis message has been scanned by ComplianceSafe, powered by Palisade's PacketSure.=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EA513B0C-1B87-4D3F-B78D-01892DACBD08>