From owner-freebsd-mips@freebsd.org Mon Nov 2 06:50:31 2015 Return-Path: Delivered-To: freebsd-mips@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 8B118A2409A for ; Mon, 2 Nov 2015 06:50:31 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F07B91E1E; Mon, 2 Nov 2015 06:50:30 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id tA26oIKE058170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 2 Nov 2015 07:50:20 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id tA26o8XZ002381; Mon, 2 Nov 2015 13:50:08 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: CPU underload To: Adrian Chadd References: <56348063.3090508@grosbein.net> <56348239.3050701@grosbein.net> <563500FC.8020201@grosbein.net> <5635148B.2070307@grosbein.net> <56351AA6.80903@grosbein.net> <563523CA.3040207@grosbein.net> <56367686.4090801@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <563707A0.3040700@grosbein.net> Date: Mon, 2 Nov 2015 13:50:08 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, T_DATE_IN_FUTURE_96_Q autolearn=no version=3.3.2 X-Spam-Report: * 0.0 T_DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: * date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 06:50:31 -0000 On 02.11.2015 03:47, Adrian Chadd wrote: > Yeah, I'll poke at it tomorrow. > > I should just be able to fire up this in gdb and figure it out. > > How's it all looking so far? Is it still stable and still performing OK? I do not use the device in practice yet, only for experiments. There are lots of things to be done before I can use it for real. First, the kernel in head it way too big. It should be possible to compile out lots of unneeded but large subsystems like JAIL support etc. Then, routing performance is still low and pmcstat shows lots of memcpy too many locking for uniprocessor kernel comparing with bridging. Next, USB flash support is not very stable as I have written before, lots of USB i/o can easily panic the kernel. Also, I need to think of reliable way to perform freebsd image upgrade over IP, without having physical access to device. I think recently introduced 're-root' feature could help. And I have not tested wifi yet because wifi support takes lots of flash space. I still need to figure out how to fit all its bits and other binaries I need (like openssh, routing daemons etc.) using just 8M flash.