Advertisement
Guest User

Untitled

a guest
Jun 10th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. # General parameters
  2. general{
  3. renice=1 # Run the renice script to inprove call answering
  4. }
  5.  
  6. #compcache related parameters
  7. compcache{
  8. compcache_en=0 # enable(1) or disable(0)20 compcache
  9. cc_disksize=75 # Ram swap disksize - any number between 1 to 98 should work; default is 1/4 of the RAM (24)
  10. cc_memlimit=64 # Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)
  11. cc_backingswap_en=0 # enable(1) or disable(0) backing swap
  12. cc_backingswap=/dev/block/mmcblk0p4 # pointing to the backingswap partition device, swap
  13. }
  14.  
  15. #create swap file for compcache or linux swap
  16. swap_file{
  17. swap_file_en=0 # set to 1 to create swap file
  18. # set to 0 to del the swap file
  19. linux_swap_file_size=32 # swap file size in MB
  20. linux_swap_file=/sdcard/swapfile # pointing to the swap file location ( must be /system/sd/)
  21. }
  22.  
  23.  
  24. #Linux swap parameters
  25. #
  26. # linux swap can only be enabled if cc_backingswap_en is set to "0"
  27. #
  28. linux_swap{
  29. linux_swap_en=0 # enable(1) or disable(0) linux swap
  30. linux_swap_partition=/dev/block/mmcblk0p4 # swap partition device
  31. }
  32.  
  33. #virtual memory
  34. sys_vm{
  35. sys_vm_en=1 # enable(1) or disable(0) virtual memory configurations
  36. swappiness=0 # default 60
  37. page_cluster=0 # default 3, (0 since CM3.9.6+)
  38. laptop_mode=5 # default 0
  39. dirty_expire_centisecs=3000 # default 3000
  40. dirty_writeback_centisecs=1500 # default 500
  41. dirty_background_ratio=3 # default 5
  42. dirty_ratio=5 # default 10
  43. vfs_cache_pressure=200 # default 100 (tendency of the kernel to reclaim cache memory)
  44. overcommit_memory=1 # default 0 (0=Heuristic 1=Always overcommit 2=Don't overcommit)
  45. overcommit_ratio=80 # default 50 (% of Physical+Virtual memory to allow allocation)
  46. }
  47.  
  48.  
  49. # custom shell commands, these commands run last
  50. custom_shells{
  51. rm -f /sdcard/FSCK*.REC
  52. mount --bind /sdcard/libhtcgeneric-ril.so /lib/froyo/libhtcgeneric-ril.so
  53. echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio
  54. echo 8192 > /proc/sys/vm/min_free_kbytes
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement