12.10.2012 11:54, Erich Titl пишет:
> Hi Yves
>
> at 12.10.2012 09:22, Yves Blusseau wrote:
>> Hi all,
>>
>> i was reading some articles about zram.
>> I have retained that it is recommended to use one zram swap device for
>> each CPU core. So what do you think about upgrading our initrd scripts
>> to take this into account ?
> I don't see any swap device enabled. Do we have swap at all?
zram swap is disabled by default, try to set zswap variable into 
leaf.cfg to 0 (auto size = sum of ramdisk sizes) or fixed size.
>
>> Also, for low ram embedded system, perhaps it will be prefered to used
>> zram disk (formated in ext3/ext4) instead of tmpfs for /tmp and /var/log ?
> Does zram have the same functionality as tmpfs? I _believe_ tmpfs has
> the capability to grow and shrink depending on it's usage. It may also
> be resized at any time. This might not be necessary in our case though,
> but I found it useful to grow, for example, the log directory, without
> restarting my box.
>
> Can that be done in zram?
>
> my 0.02 €
>
> Erich
No, zram is fixed-size block device.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to