* Matt Dillon <[EMAIL PROTECTED]> [010930 02:53] wrote:
> 
> :  Second, application not always grows to 1G, most of the time it keeps
> :  as small as 500M ;). Why should we precommit 1G for 500M data? Doing
> :  multi-mmap memory management is additional pain.
> 
>     Why not?  Disk space is cheap.  For a problem like this I would simply
>     throw in two 30G+ hard drives and partition them with 16G of swap each,
>     giving me 32G of swap for the machine.  If you needed to do it cheaply
>     you could even use IDE, though personally I would use SCSI for 
>     reliability.  Depending on the amount of real memory in the machine
>     you might have to tweek a few kernel options (like matching NSWAP to
>     the actual number of swap devices), but basically it should just work.
> 
>     Even using file-backed memory is fairly trivial.  You don't need to
>     do multi-mmap memory management or do any kernel tweaking.  Just
>     reserve 1G and use a single mmap() and file per process.

What he needs is a system to inform him that things aren't looking
so good, check my email for what I think is a pretty good solution.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to