Re: TreeAllocFactor

From: Yves Revaz <yves.revaz_at_epfl.ch>
Date: Thu, 04 Dec 2008 08:43:22 +0100

micic_at_physics.usyd.edu.au wrote:
> Hi,
>
>
> TreeAllocFactor should be at least 0.65, recommended is 0.8, if
> necessary it can go up to 1.5 (from previous threads on this subject). I
> would like to know is there an upper limit for the value of this factor.
> How is the performance of the code affected if this factor goes to 2.0 or
> even higher? The way I see it, at some maximum value, we end up with a
> particle per node, right?
>
> Miroslav
>

Hi Miroslav,

TreeAllocFactor is used to allocate memory to the tree, at the beginning
of the run.
It does not mean that a large tree will be created (the structure and
size of the tree
is always determined by the particle distribution and OpeningCriterion
parameter).
However, in some cases (particles at very large distances or clumpy
structures),
the tree needs to be extended and will consume more memory. In that
cases, a larger
TreeAllocFactor is necessary.

So, a higher TreeAllocFactor does not affect the code performance.
Except, obviously,
if you are out of memory ;-) .

Cheers,

yves


> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>


-- 
                                                 (o o)
--------------------------------------------oOO--(_)--OOo-------
  Yves Revaz
  Laboratory of Astrophysics EPFL
  Observatoire de Sauverny     Tel : ++ 41 22 379 24 28
  51. Ch. des Maillettes       Fax : ++ 41 22 379 22 05
  1290 Sauverny             e-mail : Yves.Revaz_at_epfl.ch
  SWITZERLAND                  Web : http://www.lunix.ch/revaz/
----------------------------------------------------------------
Received on 2008-12-04 08:43:23

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST