26.08.2012 17:24, KP Kirchdoerfer пишет:
> Am 26.08.2012 12:46, schrieb Andrew:
>> 26.08.2012 13:37, KP Kirchdoerfer пишет:
>>> Hi Andrew;
>>>
>>> Enabling zswap in leaf.cfg does not work.
>>>
>>> + chmod 1777 /var/lock
>>> + chmod 1777 /tmp
>>> + [ 10M -ge 0 ]
>>> sh: 10M: bad number
>>>
>>> The line in leaf.cfg is
>>>
>>> zswap=10M
>>>
>>> kp
>>>
>> Hi.
>> Yes, I missed suffix support. I fixed this into git.
>> You can use zswap=0 to make zswap = size of tmpfs disks, or specify size
>> in bytes.
> Hi Andrew,
>
> works pretty well now.
> I'm still contemplating how to make it useful - at least in my case, I
> never ran out-of-memory. Maybe I miss something here.
It may ber handy on heavy-loaded servers with a lot of logs (50-100M per 
day), for ex., PPTP/PPPoE/L2TP servers, with frequent SNMP polling. Also 
ospf, if logging is enabled, produced a lot of logs in production - 
hundreds of MB per day.
> That said, the separation of initrd and initrd-mod was extremly handy
> while testing changes unrelated to kernel and modules - and vice versa.
>
> kp
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

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

Reply via email to