aloksinha2001 / Linux3188

Linux Source - RK3188 - PicUntu
Other
99 stars 98 forks source link

bcm40181 + zcache fix #9

Closed blu3bird closed 10 years ago

blu3bird commented 10 years ago

bcm40181 is needed for various wireless chips for instance AP6xxx and zcache is a must have for systems with slow I/O but fast CPU.

blu3bird commented 10 years ago

I also added fbcondecor 0.9.6, which allows us to have nice framebuffer decorations.

aloksinha2001 commented 10 years ago

Bluebird,

  1. You need to help understand - how do we use/test the zcache ability? Additionally - please also provide a working .config file, - you can put it under config/ for the time being to be able to test it out...
blu3bird commented 10 years ago

Hi,

these are the relevant part's of the config:

CONFIG_CLEANCACHE=y
CONFIG_ZCACHE=y

Now simply add zcache to the kernel boot command line and you are good to go.

To verify it works check dmesg for:

zcache: cleancache enabled using kernel transcendent memory and compression buddies
zcache: created ephemeral tmem pool, id=0

Note: This only works with cleancache-enabled filesystems, for instance ext4. A new zcache pool will be created for every filesystem you mount(id=0 is the root filesystem) and destroy upon umount:

zcache: created ephemeral tmem pool, id=1
EXT4-fs (mtdblock8): mounted filesystem with ordered data mode. Opts: (null)
zcache: destroyed pool id=1
aloksinha2001 commented 10 years ago

Kindly also share the exact boot command line parameter for the .config file - Thanks.


http://www.linkedin.com/profile/view?id=12406006&trk=tab_pro http://aloksinha2001.blogspot.in

On Sun, Jul 21, 2013 at 10:11 AM, blu3bird notifications@github.com wrote:

Hi,

these are the relevant part's of the config:

CONFIG_CLEANCACHE=y CONFIG_ZCACHE=y

Now simply add zcache to the kernel boot command line and you are good to go.

To verify it works check dmesg for:

zcache: cleancache enabled using kernel transcendent memory and compression buddies zcache: created ephemeral tmem pool, id=0

Note: This only works with cleancache-enabled filesystems, for instance ext4. A new zcache pool will be created for every filesystem you mount(id=0 is the root filesystem) and destroy upon umount:

zcache: created ephemeral tmem pool, id=1 EXT4-fs (mtdblock8): mounted filesystem with ordered data mode. Opts: (null) zcache: destroyed pool id=1

— Reply to this email directly or view it on GitHubhttps://github.com/aloksinha2001/Linux3188/pull/9#issuecomment-21310590 .