Re: changing MAXDSIZ/using more physical memory?
From: tedu (tu_at_zeitbombe.org)
Date: 06/20/05
- Next message: tedu: "Re: Openbsd 3.7 & nforce2 lan"
- Previous message: Chris Kantarjiev: "changing MAXDSIZ/using more physical memory?"
- In reply to: Chris Kantarjiev: "changing MAXDSIZ/using more physical memory?"
- Next in thread: Chris Kantarjiev: "Re: changing MAXDSIZ/using more physical memory?"
- Reply: Chris Kantarjiev: "Re: changing MAXDSIZ/using more physical memory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Jun 2005 14:27:57 -0700
Chris Kantarjiev wrote:
> I am investigating using an mmap'd file for the buffer, but would also like to
> understand if I can increase the hard limit of RLIMIT_DATA. Is this being set by
> the MAXDSIZ kernel parameter? Can I "just" raise that number in vmparam.h and
> recompile, or are there some fundamental limits based on structure sizes?
For all released versions, you can use mmap (with MAP_ANON, so you
don't need a file either) to get around the limit. You won't be able
to allocate it all at once, but with 2 or 3 calls you can come close.
Changing anything in vmparam.h is a very bad idea.
- Next message: tedu: "Re: Openbsd 3.7 & nforce2 lan"
- Previous message: Chris Kantarjiev: "changing MAXDSIZ/using more physical memory?"
- In reply to: Chris Kantarjiev: "changing MAXDSIZ/using more physical memory?"
- Next in thread: Chris Kantarjiev: "Re: changing MAXDSIZ/using more physical memory?"
- Reply: Chris Kantarjiev: "Re: changing MAXDSIZ/using more physical memory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]