Coda File System

Re: rdsinit death

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 31 Jan 2000 22:14:22 -0500
On Mon, Jan 31, 2000 at 05:07:23PM -0800, Tom Tarka wrote:
> Jan Harkes wrote:
> > Try to figure out where shared libraries and such are mapped. I believe
> > we use 0x20000000 as the base address for RVM data, and it sounds like
> > something else could be in your memory map about 150MB above this point
> > (around 0x25000000). On linux, /proc/<pid>/maps should give all the info
> > about which addresses are already used up.
> 
> well, for the codasrv process, it looks like 0x20000000-0x27100000 is
> taken
> 
> (for my Data size of 130M) and then a whole bunch of other stuff
> starts in the 0x2aabxxxx range, so it would look as though that's
> where the overlap is happening.

Ah yeah, I see. I was off by a power of two or so. 0xaab0000 is about
170MB. That's your current limit unless we initialize RVM to start above
the shared libraries.

> Does this mean I have to pick a custom range for my RVM Data mapping, and
> if so, how should I go about this?  The same way that was mentioned
> a week or so ago when discussing setting up RVM for a 42 Gig server,
> with a start address of 0x41000000 (checking, of course that this is free
> by checking  /proc/{pid}/maps)?

Yeah, 0x50000000 could be a good choice, is also used by NetBSD 1.3/14
and FreeBSD. RVM stores the startaddress in the header of the RVM data
file during initialization and will always remap to that address.

Jan
Received on 2000-01-31 22:15:31