From owner-freebsd-mips@freebsd.org Mon Nov 2 07:04:27 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 B0A0BA243D1 for ; Mon, 2 Nov 2015 07:04:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 667D31469 for ; Mon, 2 Nov 2015 07:04:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkcl124 with SMTP id l124so51539787qkc.3 for ; Sun, 01 Nov 2015 23:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp_com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jyb3niZG/nEkYIcFfpWvrsGYpmwnzb0Hgw5ICw1FMhY=; b=jdFCCy5qOQREZ9qKm/jwkUAAc4jopgQm8+oB083N/h+pPM9CR6gM0mtv03Vy1CWcRg vxUVb/ZJPfIiuVJQITj1HSlCgK6MlKI/r2YpaVleoRWTR9suTgI5w7esfkxBXUibIfg4 AUqMqF0fl47N5FuLtrRe8XdEkBP2mOWd6pDIqAwvybaKfMz7Yu1iT1qtWPSb8MdwhFS6 8qAwlVXw3rUnMBZnmQbNiAUjTvgXXNgYT3qtUtEsTSbrCCmf9TTJ6EKtXSKP+ffm3wYI 0t0S0ZJu7jWTQe7rpGpWmo+evcABGY7VsYfsc7RZ0OmSNWmHekAdNlbYrOdFdtmt31Jm 68vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jyb3niZG/nEkYIcFfpWvrsGYpmwnzb0Hgw5ICw1FMhY=; b=Z7H0ek3a5trK4H6KEWZejAhQJFS4SRi6JaziEow7ev5A/dOE9GZpRr6qfexoEWBPxK 6yAcio03PY+JYnud5SCNs/8dWGfMSgZQFBTXpkwE9T4BeFls1k3synnBEtl1FXpCy18t +mf15ks0Ht3XV8zZ4DqL9/cWJR9ADCZkrE1uVpJp3KsQLv2PV4WwOW3gpDwqIZWviWFW h5fQd50qkbKLJGxlErZQuOtzMh6gkCp+Bwd42OYuv1BNUDvF+sFYGvh8pGcvAJ9XyiMP v4LWEBRmiYO5w5es/JgoGbw61iEkN+AjLLS+w3tdIVKZUZ2ZbN0GB4beRsLvbeeHIzF4 wcgw== X-Gm-Message-State: ALoCoQmY3k/18Cq3uvxJSho/63whkBV7oLMiapjarKyQebuQwKJVXzgGmUXkHDjgaFlaUMfyQvEj MIME-Version: 1.0 X-Received: by 10.55.33.40 with SMTP id h40mr19239879qkh.77.1446447866277; Sun, 01 Nov 2015 23:04:26 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.104.226 with HTTP; Sun, 1 Nov 2015 23:04:26 -0800 (PST) X-Originating-IP: [69.53.245.6] In-Reply-To: <563707A0.3040700@grosbein.net> 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> <563707A0.3040700@grosbein.net> Date: Mon, 2 Nov 2015 00:04:26 -0700 X-Google-Sender-Auth: QqsXxE_V1r0FZy1EfRt56o7YGs0 Message-ID: Subject: Re: CPU underload From: Warner Losh To: Eugene Grosbein Cc: Adrian Chadd , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 07:04:27 -0000 On Sun, Nov 1, 2015 at 11:50 PM, Eugene Grosbein wrote: > 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. > Does your flash device support trim / delete? Warner > 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. > >