Re: Large mem disk with not very recent current

From: Roman Kurakin <rik_at_cronyx.ru>
Date: Tue, 21 Sep 2004 00:55:42 +0400
Scott Long:

> Roman Kurakin wrote:
>
>> Kris Kennaway wrote:
>>
>>> On Mon, Sep 13, 2004 at 12:56:51PM +0400, Roman Kurakin wrote:
>>>  
>>>
>>>> Hi,
>>>>
>>>>   I have the following idea/problem. I want to build world in memory.
>>>> I've put in to my system 1G of memory and tried to put on it sources.
>>>> But all times I've tried to do that system went to panic. I've used md
>>>> with malloc type.
>>>>
>>>>   Any ideas?
>>>>  
>>>
[...]

>
> What kind of panic was it?  Try using swap backing instead of malloc.
> Malloc will consume wired memory and will generally make life difficult
> for other parts of the kernel that need memory later.  Swap-backed pages
> will stay in RAM until the VM needs to push them out due to memory
> pressure. 

It works, but not like I expected.

Compilation with sources and objdir on md and on harddrive takes the same
time.
If I didn't miss smth it tells that disk cache is very effective.

rik

>
>
> Scott
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Mon Sep 20 2004 - 19:08:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:12 UTC