tech-kern archive

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

Re: Bumping default data size limit on amd64?

On 2017-02-03 06:52, Thomas Klausner wrote:
> When testing security/scrypt, the self tests fail with the default
> ulimits because one of the test needs 256MB. (After raising the data
> size ulimit, the test succeeds.)
> Colin Percival suggests that we change the port's defaults here.
> DFLDSIZ in arch/amd64/include/vmparam.h was last bumped back in 2004.
> He suspects that this would have been increased a long time ago if it
> weren't for the fact that malloc allocates pages via mmap.
> Anyway, opinions?

Digging through my archives, I just found this email from two years ago.
It looks like nobody had any opinions at the time -- maybe we can take a
lack of objections as agreement and increase this value now?

For reference, FreeBSD bumped this value to 32G in 2012.

Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | | Online backups for the truly paranoid

Home | Main Index | Thread Index | Old Index