This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: gcc 3.3 garbage collector defaults
On Mon, Jan 27, 2003 at 01:51:46PM -0600, Benjamin Kosnik wrote:
>
> >One has to be careful. e.g. many people run make with -j2 on principle on
> >single CPU systems to hide IO latencies [anybody interested in POSIX aio prefetch
> >for gcc btw ?;] Also when I have a multi CPU box I need enough memory
> >for -j$[2*nrcpus] (or [4*nrcpus] with hyperthreading) and still not swap
> >out my window manager and editor. All these cases should not suddenly start to swap.
> >
> >Rough proposal:
> >
> >Main memory < 512MB: 16MB
> > < 1GB: 64MB
> > > 1GB: 128MB
>
> Well, not quite sure memory over 16MB helps, actually:
In your test case... I guess libstdc++ has mostly small functions, right?
>
> >Also it would be nice to make it settable via an environment variable.
>
> Is that necessary if there is already a flag?
At least for a shared build box I would see it as a system wide
configuration option. Having a special env variable for that would
make it easier to set for sysadmins. Another way would be an /etc/gcc.conf
or similar.
-Andi