RE: Getting rid of SHMMAX/SHMALL ?

From: Chen, Kenneth W
Date: Thu Aug 04 2005 - 18:05:41 EST


Andi Kleen wrote on Thursday, August 04, 2005 3:54 PM
> > This might be too low on large system. We usually stress shm pretty hard
> > for db application and usually use more than 87% of total memory in just
> > one shm segment. So I prefer either no limit or a tunable.
>
> With large system you mean >32GB right?

Yes, between 32 GB - 128 GB. On larger numa box in the 256 GB and upward,
we have to break shm segment into one per-numa-node and then the limit
should be OK. I was concerned with SMP box with large memory.

> I think on a large systems some tuning is reasonable because they likely
> have trained admins. I'm more worried on reasonable defaults for the
> class of systems with 0-4GB

Sounds reasonable to me.

- Ken

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/