[mercury-users] Environment variable

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Dec 21 16:30:34 AEDT 2002


On 20-Dec-2002, Noel  Pinto <cool4life at rediffmail.com> wrote:
> In the User Guide the environment variable, MERCURY_OPTIONS with 
> the option -C is used to tell the runtime system to optimize the 
> locations of the starts of the various data areas for a primary 
> data cache of size kilobytes.

You don't need to use or understand this option.

> Plz tell me what do you mean by the starts of various data 
> areas??

The starting address used for the Mercury stacks, heap, etc.

The optimization in question consists just of placing these
addresses at locations that are different modulo the page size,
thus reducing the likelihood of cache collisions between
different data areas.  Such collisions can sometimes be a problem
for small benchmarks.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list