tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Autotuning of kern.ipc.shmmaxpgs

Joerg Sonnenberger <> wrote:
> currently the maximum size of SysV shared memory is limited by a static
> MD limit. The attached patch allows platforms to not specify such a
> limit. If the kernel config doesn't specify one either, the kernel will
> compute a limit on startup based on physmem. Platforms with limited KVA
> can also set SHMMAX_AUTO_LIMIT, which places an upper boundary on the
> auto-tuned value.

- I tend to think that removing MD definitions of SHMMAXPGS (or SHMMAX)
  would be the right thing to do.

- Why do you think KVA is the issue here?

- SHMMNI would also need tuning. Unlike SHMMAX, it has a direct effect to
  the memory consumption.

Best regards,

Home | Main Index | Thread Index | Old Index