From owner-freebsd-arch@FreeBSD.ORG Fri Dec 7 23:16:00 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2572AEEB; Fri, 7 Dec 2012 23:16:00 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 002818FC0C; Fri, 7 Dec 2012 23:15:59 +0000 (UTC) Received: from Alfreds-MacBook-Pro-6.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id C089D1A3C31; Fri, 7 Dec 2012 15:15:59 -0800 (PST) Message-ID: <50C278B0.3040107@mu.org> Date: Fri, 07 Dec 2012 15:16:00 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: svn commit: r243594 - head/sys/netinet References: <201211270304.qAR34PfD056691@svn.freebsd.org> <50B53ABC.1010304@freebsd.org> <50B57F46.1060207@mu.org> <50C205DC.1040701@freebsd.org> <50C23B5E.3020509@freebsd.org> <50C26BF9.1050106@mu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alfred Perlstein , Andre Oppermann , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 23:16:00 -0000 I'm sorry Adrian, the difference between installing a server OS with a CDROM/USBkey is vastly different than the type of user that is using an embedded board. The embedded user will be doing so over some weird install media, using serial and all kinds of other things. If you have tunables or compile time options you want to distribute on MIPS/arm, then by all means force TCBHASH to 512. You can easily make a "small memory kernel include file" for this. Please do it. Please make ARM/MIPS/whatever better for you. As far as some pipe-dream runtime tuning, all singing/dancing thingy to make everything happy, well that doesn't exist. So either write it, or take a pragmatic approach and fix your platforms and please stop standing in the way of server OS. -Alfred On 12/7/12 3:03 PM, Adrian Chadd wrote: > Alfred, > > I can make the same argument about "out of the box" experiences with > Linux and FreeBSD on embedded. > > If the embedded experience out of the box "isn't as good or better" > than Linux, people will go with Linux. > > I think you're only really considering the server space. The bigger > issue here is "people who are changing the algorithms are making > different but same mistakes as the earlier algorithms", which is > "works for me,". > > Solving a lot of this stuff for both small and large scale doesn't > _have_ to be too difficult. The current attempt at making things nicer > for the server space has shown it doesn't work for the non-server > space. That means the problem isn't fully understood. > > Honestly, I'd rather see a lot of this auto-tuning be done at run-time > rather than compile or boot time, with some relatively smart tools > that can look at the system specifications and current mbuf/allocator > configuration, look at some historical information about allocations, > and make suggestions about what can be tuned. > > You can _also_ make the defaults work well on the low end and the high > end. The tool(s) shouldn't be _instead_ of that, it should be _with_ > that. > > Let's try to understand the problem space a bit better before we start > changing things some more. It's obvious from the recent changes that > people don't understand the bigger picture. > > > > Adrian >