How to enable zramfs in android...

sandeep kumar coolsandyforyou at gmail.com
Thu May 22 06:58:52 EDT 2014


Dear All,

we are trying to make use of zramfs. In our android based board,
we are seeing this output,

*root at sandeep:/sys/block/zram0 # ls*
*ls*
*alignment_offset*
*bdi*
*capability*
*compr_data_size*
*dev*
*discard_alignment*
*disksize*
*ext_range*
*holders*
*inflight*
*initstate*
*invalid_io*
*mem_used_total*
*notify_free*
*num_reads*
*num_writes*
*orig_data_size*
*power*
*queue*
*range*
*removable*
*reset*
*ro*
*size*
*slaves*
*stat*
*subsystem*
*uevent*
*zero_pages*

*Does this mean zram is activated ?*

we are trying to do the operation to set disk size,
*echo $((50*1024*1024)) > /sys/block/zram0/disksize*

but still num_reads, num_writes is still zero.
Can you pls let us know how to enable zramfs?

-- 
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140522/4c76b48f/attachment.html 


More information about the Kernelnewbies mailing list