At 04:37 PM 1/16/00 +0100, Hrvoje Niksic wrote:
"Kirill 'Big K' Katsnelson" <kkm(a)dtmx.com>
writes:
> A question: does mmap gives any performance benefits over read when
> loading the dump file?
Well, mmap() allows you to read only the parts of the file you're
interested in. If call with MMAP_SHARED, such memory doesn't need
additional space on swap either.
I was also going to ask Olivier - is it possible to just tack xemacs.dmp
onto the end of the xemacs executable? Then you wouldn't have to care about
installation directory or copying two files around. I think the current NT
unexec does something morally equivalent to this.
Of course you could argue it the other way ....
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd