From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 3431E3086F for ; Mon, 23 Oct 2000 12:47:29 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9NGlT022334 for axp-list@listman.redhat.com; Mon, 23 Oct 2000 12:47:29 -0400 Received: from toronto.sigma6.com (toronto.sigma6.com [204.176.48.147]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9NGlRD22330 for ; Mon, 23 Oct 2000 12:47:28 -0400 Received: from appnet.com (IDENT:jsturm@localhost.localdomain [127.0.0.1]) by toronto.sigma6.com (8.9.3/8.9.3) with ESMTP id MAA18245 for ; Mon, 23 Oct 2000 12:56:58 -0400 Message-ID: <39F46DDA.52908FA6@appnet.com> Date: Mon, 23 Oct 2000 12:56:58 -0400 From: Jeff Sturm Organization: Commerce One X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: API perfomance patches on ev56 ?? References: <051DFF3BBA73D3119A5800A0C95BD0217C9EFC@barracuda.api-networks.com> <39F0A569.95BFD85A@appnet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Stig Telfer wrote: > I was writing a memory fill routine. When implemented in the style > you have below the WH64 didn't have any effect. Then I changed the > loops so that there was a WH64 loop over a consecutive 32K region of > memory then a fill loop over the same region. This got me 77% of > peak memory bandwidth sustained over hundreds of megabytes. Thanks. That's just what I was looking for. It seems to me that a 16K region aligned on a page is the largest guaranteed to be resident at once in 2-way associative L1 cache, assuming a random virtual-to-physical mapping. Is there any good reason you chose 32K? > Also it > was using kernel-mode (kseg) addresses which bypass page faults. So > you might not be quite so fortunate. Good point. The type of problem I am considering is e.g. a copying GC. I tend to favor non-moving collectors over copying/compacting due to better cache interaction... however special cache instructions might improve the situation, this is what I am attempting to research. After the first collection or so, few page faults should occur in normal use. TLB misses are another matter. I looks like the 21264 is capable of clustering pages in the TLB... don't know if Linux supports it, but that's a whole 'nother topic. -- Jeff Sturm jeff.sturm@commerceone.com