perl malloc slow?

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jan 8 01:37:59 PST 2004


In message <20040108042816.GA1813 at VARK.homeunix.com>, David Schultz writes:

>FWIW, you can do the required gymnastics with mmap() as long as
>the mapped region is backed by a file.

There has been a lot of talk about using file backing instead of
swap backing.  The typically proposed scenario is for each process
to open "$HOME/.backingstore/$$" or some such.

There are a lot of interesting applications, good ideas and nifty
tricks enabled by this, but there are also some nasty details, a
few security concerns and probably a performance impact.

All in all it has not happened yet, and given the size of fish
we are currently catching in other areas, I don't see it happening
anytime soon.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-stable mailing list