From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: API perfomance patches on ev56 ??
Date: Mon, 23 Oct 2000 12:56:58 -0400 [thread overview]
Message-ID: <39F46DDA.52908FA6@appnet.com> (raw)
In-Reply-To: p0433010bb619f669aaec@[192.233.59.204]
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
next prev parent reply other threads:[~2000-10-23 16:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-20 18:13 API perfomance patches on ev56 ?? Tom Morris
2000-10-20 20:04 ` Jeff Sturm
2000-10-23 14:18 ` Stig Telfer
2000-10-23 16:56 ` Jeff Sturm [this message]
2000-10-23 22:42 ` Richard Henderson
2000-10-24 11:17 ` Stig Telfer
2000-10-25 21:29 ` Richard Henderson
2000-10-31 4:58 ` Jay Estabrook
-- strict thread matches above, loose matches on Subject: below --
2000-10-19 20:42 Reinier Bikker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox