From owner-freebsd-arm@FreeBSD.ORG Wed Sep 5 03:07:01 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15766106564A; Wed, 5 Sep 2012 03:07:00 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A5B58FC0A; Wed, 5 Sep 2012 03:07:00 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so184527pbb.13 for ; Tue, 04 Sep 2012 20:07:00 -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 :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=G/kkzvt6+mSEyhu95mT6Vickjqa3J2ISwbxd14cYE3I=; b=L/x0qXuZRg5qpp8AIL9lhgTh/PN408IbZ+zbajYhXiNBa9KyUMhXX0xv6XCmHxbf9B Ztl1zsT4vYcquKXf/HZ7BhkimSQyYafQREHPXlHCX4Kc93OsfGsoeN7isrrGm5PYT/Q2 vzPoHbxHuKlk6I5Ls4t4nPKD+j7c6nhtPH7cgqjgisU9CRQMBf2s+ueUA4BYnYN1bQ7c c3yKy+i5ugBJxpp9MYk7gBZ0vn30dirmsxXMPGLCV6Y/Ql2xQPtML4wctcFmkDu/jTLR HavN/qnkYD6ygRFTOHCV32RUT64P1K3JAF3uybnBibAaOCUXPSS0eo8vQeJYfJcX/A5K fNEA== MIME-Version: 1.0 Received: by 10.68.138.169 with SMTP id qr9mr50593434pbb.27.1346814420323; Tue, 04 Sep 2012 20:07:00 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 4 Sep 2012 20:06:59 -0700 (PDT) In-Reply-To: <1346803062.59094.27.camel@revolution.hippie.lan> References: <1346777897.1140.633.camel@revolution.hippie.lan> <1346803062.59094.27.camel@revolution.hippie.lan> Date: Tue, 4 Sep 2012 20:06:59 -0700 X-Google-Sender-Auth: qmYOCfuOZlOdFRKayfgTq13CIbY Message-ID: From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org, freebsd-mips@freebsd.org Subject: Re: busdma buffer management enhancements - call for review and test 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: Wed, 05 Sep 2012 03:07:01 -0000 I just want to make sure that you don't assume individual memory access costs are the same regardless of how big the allocations are. Ie, if you have a bunch of scattered L1-sized allocations, versus them all being nearby in the same 512/1024 byte page; the underlying memory architecture may be doing memory transactions at a slightly larger size than your L1 assumption. Damn these hierarchicial memory systems. Adrian