From owner-freebsd-mips@FreeBSD.ORG Fri Feb 19 19:08:18 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B5B1065679 for ; Fri, 19 Feb 2010 19:08:18 +0000 (UTC) (envelope-from gonzo@launchpad.bluezbox.com) Received: from launchpad.bluezbox.com (launchpad.bluezbox.com [195.137.202.161]) by mx1.freebsd.org (Postfix) with ESMTP id B9E078FC1B for ; Fri, 19 Feb 2010 19:08:17 +0000 (UTC) Received: from [76.77.86.2] (helo=[10.80.5.136]) by launchpad.bluezbox.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NiYCy-000NVo-27; Fri, 19 Feb 2010 19:08:16 +0000 Message-ID: <4B7EE17B.8040702@bluezbox.com> Date: Fri, 19 Feb 2010 11:07:39 -0800 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: smeagle@bsdler.de, freebsd-mips@freebsd.org References: <1266442999.2149.42.camel@brain.lan.terror.local> <4B7C64D6.8070905@bluezbox.com> <1266604253.2149.55.camel@brain.lan.terror.local> In-Reply-To: <1266604253.2149.55.camel@brain.lan.terror.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@launchpad.bluezbox.com X-Spam-Level: ---- X-Spam-Report: -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -0.5 AWL AWL: From: address is in the auto white-list Cc: Subject: Re: hifn support X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2010 19:08:18 -0000 Florian Kruegl wrote: > Hi, > > On Wed, 2010-02-17 at 13:51 -0800, Oleksandr Tymoshenko wrote: >> Florian Kruegl wrote: >>> Hi, >>> >>> got hands on a hifn, think it's a nice possibility to check the >>> performance of the interrupt handler :) >>> Was more than puzzled when I saw it didn't generate any... >> Try this patch: >> http://people.freebsd.org/~gonzo/hifn.diff >> > > made no difference, removed my faulty hints but no change. it shows up > as hifn0 again but still uses irq0 and openssl engine -vvv shows no HW > accel. IRQ numbering is a little messy on MIPS. And there were no IRQ counters in AR71XX PCI code. Try this patch too: http://people.freebsd.org/~gonzo/patches/ar71xx_pci_intrcnt.diff You'll need the first one too. Also try running /usr/src/tools/tools/crypto tool for performance testing. I don't have RS Pro setup at the moment, so can't test it myself right now :( But will do over weekend.