Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 00:44:34 +0200
From:      Stefan `Sec` Zehl <sec@42.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/27259: md causes hang with make world
Message-ID:  <20010524004434.C20596@matrix.42.org>
In-Reply-To: <53079.990656529@critter>; from phk@critter.freebsd.dk on Thu, May 24, 2001 at 12:22:09AM %2B0200
References:  <20010524001702.A20596@matrix.42.org> <53079.990656529@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

first, I thank you for your time explaining that to me.

On Thu, May 24, 2001 at 12:22:09AM +0200, Poul-Henning Kamp wrote:
> In message <20010524001702.A20596@matrix.42.org>, Stefan `Sec` Zehl writes:
> >The machine in question has 1G of physical ram and the Malloc disk (md)
> >is 600Megs big.
> 
> and that is simply not possible.

Ok, thanks for clarifying that. I assumed that by increasing MD_NSECT i
had done everything necessary for a such big ram disk.
I will draft up a note for the md manpage, and submit it, as soon as I
understand this matter, so others can be warned.

> the Malloc disk is limited by the amount of RAM malloc(9) can allocate
> in one bucket.   Use vmstat(8) to see how much that is for your machine.

I'm not sure which number you exactly mean. After a bit of digging, I
think this is the 'Limit' column of 'vmstat -m'

| Memory statistics by type                          Type  Kern
|         Type  InUse MemUse HighUse  Limit Requests Limit Limit Size(s)
|    MD sectors 24424 12212K  93593K102400K   310558    0     0  512

which appears to be 100M on my machine.

Is this right? If so, is there a way to increase that significantly, or
is this an inherent limitation of the FreeBSD kernel?

CU,
    Sec
-- 
I know I've got it great, really, good job, good friends, loving family,
total freedom, and long bubblebaths. what else could there be? 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010524004434.C20596>