kernel panic with memory disks

Stefan Lambrev stefan.lambrev at moneybookers.com
Wed Aug 22 07:46:56 PDT 2007


Hello,

Kris Kennaway wrote:
> On Wed, Aug 22, 2007 at 09:56:05AM +0300, Stefan Lambrev wrote:
>
>   
>>> No, you should use -o swap.  Where did it tell you to change the
>>> sysctls?
>>>
>>> Kris
>>>  
>>>       
>> Nowhere just guessing.
>>     
>
> OK, often not a good idea :)
>
>   
>> I just needed one big file in the memory to ignore the slowness of hard 
>> drives, to run few small benchmarks :)
>> I did this using tmpfs, but it act just like "-t swap" :)
>>     
>
> Yes, when you don't have enough RAM to do the thing you want.
>
>   
>> Btw the confusion comes from the manual of mdconfig where it states:
>>
>> swap     Swap space is used to back this memory disk.
>>
>> and I thought that type swap is always stored on the hard drives.
>>
>> and md(4) explains it a lot better:
>>
>> swap     Backing store is allocated from buffer memory.  Pages get pushed
>>              out to the swap when the system is under memory pressure, 
>> other-
>>              wise they stay in the operating memory.  Using swap backing is
>>              generally preferable over malloc backing.
>>     
>
> OK, that could certainly be improved.  Can you please submit a PR?
>
> Kris
> _______________________________________________
> 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"
>   
Ok sent. Should be visible at some point here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=115721


-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-current mailing list