Re: Large mem disk with not very recent current
From: Scott Long (scottl_at_samsco.org)
Date: 09/13/04
- Previous message: Mike Tancsa: "Re: ichwd working for anyone ? (and watchdog vs watchdogd)"
- In reply to: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Next in thread: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Reply: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Reply: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Sep 2004 09:21:49 -0600 To: Roman Kurakin <rik@cronyx.ru>
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?
>>>
>>
>>
>> Please provide more information. It's likely you're trying to create
>> a md that is too big, though.
>>
>>
> It is about 800Mb. But system panics while I try to extract source tree.
> It is not very recent
> current. The intent of my question was to get some hints how to set up
> such build area, I
> belive it should help to make compilation much faster than using hard
> drive. My home system
> is not ready for panic investigation now. I'll update it to current and
> set console to it and will
> try again.
>
>
> PS. Sorry to all for my last posts to current that are so weak in
> "technical" details, the debug
> technique I used before was without remote debugging since most of
> problems were very
> near my code and it was enough for me anlo three things: my mind,
> printed sources, and printf.
> So now I am in stage of adaptation to/setting up remote debugging.
>
> rik
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.
Scott
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Mike Tancsa: "Re: ichwd working for anyone ? (and watchdog vs watchdogd)"
- In reply to: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Next in thread: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Reply: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Reply: Roman Kurakin: "Re: Large mem disk with not very recent current"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|