From owner-freebsd-net@FreeBSD.ORG Sat Sep 7 19:30:07 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2D05E265; Sat, 7 Sep 2013 19:30:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F3B442113; Sat, 7 Sep 2013 19:30:06 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id ma3so4496498pbc.7 for ; Sat, 07 Sep 2013 12:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=8DYCLTHlJzGdrNtOACKu21/6Gi148ctm04t8saE3DYM=; b=qakw+0c+JRQwm6xtA0F31Z0qA6ez2fr1VqLaAdahlQbzX1FCi2i1T+uHwglOTyakVq gOBSVMFlX6/RiThyZgAe3yjqgyZdSDFLC30PMO/XpC2sXu15KUHKLcJ2HN2JeWoqkAxJ Qv6+RjVpt2H1J+k1VI0ipJcLqZaU89I1M+9qivGYSGEVDcaJCennrQfnas0dXPG5ipel gIDfsKBKBDb1qiAyQh68hBfuos5+5ZCBy9JM4RZ5hhq37p7wKmJL3zXW2BdWYn1EMEVQ 5WKt+pwW05Ik6TpxQPNcLl7rRa2UOwQ5MOgveLdigUxfWijlSAn46rNzdiyRBRHKk6zq uaXg== MIME-Version: 1.0 X-Received: by 10.68.26.202 with SMTP id n10mr9817581pbg.97.1378582206659; Sat, 07 Sep 2013 12:30:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.70.126.71 with HTTP; Sat, 7 Sep 2013 12:30:06 -0700 (PDT) In-Reply-To: References: <9CBFAD35-D651-4E28-BEBB-DC3717F38567@bsdimp.com> Date: Sat, 7 Sep 2013 12:30:06 -0700 X-Google-Sender-Auth: NcbzLF7OMyP40qAOT8X-d7vbC8Q Message-ID: Subject: Re: mbuf autotuning effect From: Adrian Chadd To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net , "freebsd-mips@freebsd.org" , Warner Losh X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 19:30:07 -0000 On 7 September 2013 12:21, hiren panchasara wrote: > > On Sep 6, 2013 8:26 PM, "Warner Losh" wrote: > > > > > > On Sep 6, 2013, at 7:11 PM, Adrian Chadd wrote: > > > > > Yeah, why is VM_KMEM_SIZE only 12mbyte for MIPS? That's a little low > for a > > > platform that has a direct map that's slightly larger than 12mb :) > > > > > > Warner? Juli? > > > > All architectures have it at 12MB, except sparc64 where it is 16MB. This > can be changed with the options VM_KMEM_SIZE=xxxxx in the config file. > > Right. Does that mean for any platform, if we do not have nmbclusters > pre-set in kmeminit() than we will always have pretty low value of > vm_kmem_size. And because of that, if maxmbufmem is not pre-set (via > loader.conf) inside tunable_mbinit() , we will have very low value for > maxmbufmem too. > > I hope (partially believe) that my understanding is not entirely correct. > Because if its correct, we arw depending on loader.conf instead of actually > auto tuning. > > Thanks, > Hiren > > .. so how's this work on i386? ARM? -adrian