From owner-freebsd-bugs Wed May 23 15:44:45 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from matrix.42.org (matrix.42.org [194.246.250.200]) by hub.freebsd.org (Postfix) with ESMTP id 617B737B422 for ; Wed, 23 May 2001 15:44:40 -0700 (PDT) (envelope-from sec@42.org) Received: (from sec@localhost) by matrix.42.org (8.8.8/8.8.5) id AAA21894 (sender ); Thu, 24 May 2001 00:44:34 +0200 (CEST) Date: Thu, 24 May 2001 00:44:34 +0200 From: Stefan `Sec` Zehl To: Poul-Henning Kamp Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/27259: md causes hang with make world Message-ID: <20010524004434.C20596@matrix.42.org> X-Current-Backlog: 642 messages References: <20010524001702.A20596@matrix.42.org> <53079.990656529@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <53079.990656529@critter>; from phk@critter.freebsd.dk on Thu, May 24, 2001 at 12:22:09AM +0200 I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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