From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 30 12:56:57 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3DEE16A52E for ; Thu, 30 Nov 2006 12:56:57 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9265F43CC7 for ; Thu, 30 Nov 2006 12:55:10 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1904952uge for ; Thu, 30 Nov 2006 04:54:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jHFlt9R75oPcNc1VrbyRvlcLTX8V51XcZTbK+TT0zUVGsLFsxRVBAds9LYq+/tfEBzS3if/L3aqx4EVbkrMmSdAZcReWISSzo5jcS2JvhTw5PXNK0LgUiI7n0vKW9Ao0mNt/eVn5Gc4zttAvPXu9Y6NYJYTwiXURTtWtO5i1cj4= Received: by 10.66.244.10 with SMTP id r10mr5306065ugh.1164891269915; Thu, 30 Nov 2006 04:54:29 -0800 (PST) Received: by 10.66.237.14 with HTTP; Thu, 30 Nov 2006 04:54:29 -0800 (PST) Message-ID: <755cb9fc0611300454s4d28ad14rd402cba8388d49@mail.gmail.com> Date: Thu, 30 Nov 2006 12:54:29 +0000 From: "Alexandre Vieira" To: "Andrew Belashov" , carton@ivy.net, freebsd-questions@freebsd.org, freebsd-sparc64@freebsd.org In-Reply-To: <456E8D8B.8010102@orel.ru> MIME-Version: 1.0 References: <755cb9fc0611290724q127f006va84f3457c48443b6@mail.gmail.com> <456E8D8B.8010102@orel.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Netra T1 105 (sparc64) optimization X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 12:56:57 -0000 On 11/30/06, Andrew Belashov wrote: > > Hello, All! > > Miles Nordin wrote: > >>>>>> "av" == Alexandre Vieira writes: > > > > av> kernel/tunables recommendations, > > > > I suggest device polling. This will increase the pps you can forward, > > and optimistically cause the machine to drop packets rather than go > > into livelock if the pps exceeds its ability. IMHO it should be used > > on any router. and IIRC it does work with the hme driver. > > I use device polling(4) patch for hme(4): > < > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=17147+0+archive/2006/freebsd-sparc64/20060423.freebsd-sparc64 > > > > -- > With Best Regards, > Andrew Belashov. > > Hi, Thanks for the tips! I've added the patch for hme polling and I'm recompiling the kernel. I've striped the kernel a lot and I'm compiling with -pipe -O2 -fno-strict-aliasing. AFAIK there isn't any CPUTYPE available for this cpu. TIA -- Alexandre Vieira - nullpt@gmail.com