Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2009 22:11:14 +0300
From:      Igor Sysoev <is@rambler-co.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: hw.bge.forced_collapse
Message-ID:  <20091204191114.GB76992@rambler-co.ru>
In-Reply-To: <20091204173243.GC16491@michelle.cdnetworks.com>
References:  <20091204075440.GH14822@rambler-co.ru> <20091204173243.GC16491@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 04, 2009 at 09:32:43AM -0800, Pyun YongHyeon wrote:

> On Fri, Dec 04, 2009 at 10:54:40AM +0300, Igor Sysoev wrote:
> > I saw commit introducing hw.bge.forced_collapse loader tunable.
> > Just intresting, why it can not be a sysctl ?
> 
> I didn't think the sysctl variable would be frequently changed
> in runtime except debugging driver so I took simple path.

I do not think it's worth to reboot server just to look how various
values affect on bandwidth and CPU usage, expecially in production.

As I understand the change is trivial:

-          CTLFLAG_RD
+          CTLFLAG_RW

since bge_forced_collapse is used atomically.


-- 
Igor Sysoev
http://sysoev.ru/en/



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