Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: cache optimization?

Author: Robert Hyatt

Date: 20:26:10 12/15/01

Go up one level in this thread


On December 15, 2001 at 00:46:29, martin fierz wrote:

>aloha,
>
>there was a post by christophe theron recently where he said he had put all
>most-used functions of his program in one file, stopping once the .obj of that
>file got 32K large. the idea was that then this is somehow making better use of
>the cache.
>does this sound like a good idea to you? and if yes, how good? does this make a
>noticeable difference? i could reorganize my program a bit, my largest .obj with
>most of the often-used functions is 44K, but there is also quite a lot of
>initialization code in there...
>
>cheers
>  martin


It won't make a huge difference.  The "right" 32K will end up in L1 anyway,
and L2 is at least 256K on newer processors...



This page took 0.15 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.