From owner-freebsd-arm@FreeBSD.ORG Tue Sep 9 13:33:37 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19F2D106566B for ; Tue, 9 Sep 2008 13:33:37 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id C87B28FC1B for ; Tue, 9 Sep 2008 13:33:36 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by gxk10 with SMTP id 10so10390880gxk.19 for ; Tue, 09 Sep 2008 06:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=enJuPypZdciP0RFWbCDL/cOmukwgDVohaEI292XGi8I=; b=vD1DENOpkUnqApHx6U8tNqcM0h/oRjhSGPxvDqWHYa2m/ekz2RxkNslQW/+YFOvSHH 5x6n3UMkrGg4vE10/OZPedKQt+125net3IQF57eZHafa5VapN9+tCP7FMQUmqkf/k49O s9lmnrvCtUC7AsWWzzfU3Yu29owjWxGvm2Gmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=UOt1CKfG4OijbpWTQ2QogC30DBc30MAS8x+Bi0OyL6Bo09r1LRUkAeQZscgM4xRiUf ocq4MyWS5nCS1wKJnRPk52inE4Xu1T8IqsVWcfCssyVjSeG4um7DXeTNS8ohF/H78URc oaVkVMRwjPPJMy8qUHUI6/U8oyBzH0OtAzIkY= Received: by 10.103.212.20 with SMTP id o20mr748284muq.22.1220967210214; Tue, 09 Sep 2008 06:33:30 -0700 (PDT) Received: by 10.103.17.17 with HTTP; Tue, 9 Sep 2008 06:33:30 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 15:33:30 +0200 From: "Jacques Fourie" To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Routing benchmarks X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2008 13:33:37 -0000 Hi, I've performed some benchmark tests on my Gumstix Connex 400 (Intel Xscale PXA 255 CPU clocked at 400MHz) with a netDuo expansion board. This board has two smc network interfaces. I configure the gumstix as a router and measure network throughput with netperf running on seperate boxes on either side of the gumstix. My initial tests showed a TCP throughput of 2Mbit/s. After adapting the smc driver to use DMA this figure went up to 7Mbit/s. Although this is a significant improvement, it still seems to be a bit slow. Does anyone have any tips on how I can go about to try and figure out where the bottleneck lies? Initial profiling showed that a significant amount of time was spent doing memory to memory copies of data, but after the DMA change profiling does not show any obvious culprits. Jacques