Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 06:52:34 +0600 (YEKST)
From:      Ilia Chipitsine <ilia@cgu.chel.su>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        questions@FreeBSD.org
Subject:   Re: why it isn't possible to put more than 20Mb on the memory-based disk ? (system simply hangs) 
Message-ID:  <Pine.BSF.4.10.10110080649040.478-100000@jane.poka.net>
In-Reply-To: <1828.1002475715@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Salut, Poul-Henning Kamp !  

On Sun, 7 Oct 2001, Poul-Henning Kamp wrote:

> >> 
> >> man md
> >
> >and what ?
> 
>      malloc   Backing store is allocated using malloc(9).  Only one malloc-
>               bucket is used, which means that all md devices with malloc
>               backing must share the malloc-per-bucket-quota.  The exact size
>               of this quota varies, in particular with the amount of RAM in
>               the system.  The exact value can be determined with vmstat(8).

it still doesn't make sense.
I can successfully create memory based disk using MD_NSECT=120000,
I'm able to mount it. "df" shows I have lots of free space on it.
But when I try to put more than 20Mb on it, system hangs.
"cp" process is in "MD sec" state with nice=-20.

what's wrong ?

$ vmstat
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad0 md0   in   sy  cs us sy
id
 1 1 0   63028  42020   72   1   2   0  40   0   0   0  538  622 554  5  6
89
$ 

(before I create and mount memory disk)

did you try to put more than 20Mb on memory based disk ?
(actually I need about 150-200Mb)

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10110080649040.478-100000>