From: naohiko shimizu <nshimizu@et.u-tokai.ac.jp>
Subject: Re: Questions on performance methods
Date: Fri, 4 Dec 1998 11:39:18 +0900 (JST) [thread overview]
Message-ID: <199812040239.LAA16334@et.u-tokai.ac.jp> (raw)
In-Reply-To: <Pine.LNX.3.96.981201174956.16291A-100000@bec.physics.udel.edu>
Jonathan,
I posted that you may try the BLOCKINGSIZE from 16 to 1000, but
I checked the program again and now I think that the parameter
will hit the best performance with value 4 or 5.
(with that small value, the unrolling method of the subroutine
might be changed, but I will not mention for simplicity.)
The MAF has only 6 entries, and all the prefetch may use an entry,
then when it reaches to the 6th loop there may be some stall.
So, if you set the BLOCKINGSIZE to 5 the program will call the vectorlized
sqrti before the stall and the pending prefetch will be executed during
the calculation.
The last MAF entry can not merge same line load, then the parameter
of 4 may hit higher performance. Or if we can fully control load order
from high level language, we still can use 5 for best performance.
Naohiko Shimizu
Dept. Communication Engr./Univ. TOKAI.
1117 Kitakaname Hiratsuka 259-12 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
<URL http://shimizu-lab.et.u-tokai.ac.jp/>
next parent reply other threads:[~1998-12-04 2:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.981201174956.16291A-100000@bec.physics.udel.edu>
1998-12-04 2:39 ` naohiko shimizu [this message]
1998-11-30 14:09 Questions on performance methods Richard Gorton
-- strict thread matches above, loose matches on Subject: below --
1998-11-27 7:49 Martin Kahlert
1998-11-27 15:42 ` pshimizu
1998-11-28 12:53 ` Kazushige Goto
1998-11-28 19:28 ` Jonathan L Dubois
1998-11-29 3:40 ` Kazushige Goto
1998-11-29 18:09 ` pshimizu
1998-11-30 2:54 ` naohiko shimizu
1998-12-01 6:24 ` naohiko shimizu
1998-12-01 14:19 ` Joachim Wesner
1998-12-02 3:35 ` naohiko shimizu
1998-12-02 9:21 ` Joachim Wesner
1998-12-02 15:42 ` pshimizu
1998-12-02 16:48 ` Joachim Wesner
1998-12-07 3:24 ` naohiko shimizu
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