[G1 Android Development] Argusi:
I don't know, I just can't get this straight in my head. This is what I wanted.

32meg compcache in memory w/ 32meg backing swap on swap partition. I'm running the later version of compcache w/ cyans 3.9.11.2 so I read that this won't work, sooo...

I'm trying to run 32meg compache w/ 32meg backing swap file in /system/sd.

Shouldn't I see something that shows or totals 64 meg or am I totally missing something? Is it one or the other? I thought I could use both and the backing swap took overflow and uncompressed swap data? I've been reading through all of this and a couple other threads and I thought I had it straight, but evidently, I'm just not getting it..

user.conf

# General parameters
general{
apps2sd=0	# this is useless here, require a modified a2sd script
media2sd=1	# moves the medias to sd if /system/sd/media exists
}

#compcache related parameters
compcache{
compcache_en=1	# enable(1) or disable(0) compcache
cc_disksize=32	# Ram swap disksize - any number between 1 to 95 should work
cc_memlimit=18	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)
cc_backingswap_en=1	# enable(1) or disable(0) backing swap
cc_backingswap=/dev/block/mmcblk0p3 # pointing to the backingswap partition device
cc_swappiness=28 # default 60
}

#create swap file for compcache or linux swap
swap_file{
swap_file_en=1	# set to 1 to create swap file
# set to 0 to del the swap file
linux_swap_file_size=32	# swap file size in MB
linux_swap_file=/system/sd/swap.file	# pointing to the swap file location ( must be /system/sd/)
}

#Linux swap parameters
#
# linux swap can only be enabled if cc_backingswap_en is set to "0"
#
linux_swap{
linux_swap_en=0	# enable(1) or disable(0) linux swap
linux_swap_partition=/dev/block/mmcblk0p3 # swap partition device
swappiness=30 # default 60
}

#virtual memory
sys_vm{
sys_vm_en=1	# enable(1) or disable(0) virtual memory configurations
page_cluster=3	# default 3, (0 since CM3.9.6+)
laptop_mode=0	# default 0
dirty_expire_centisecs=3000	# default 3000
dirty_writeback_centisecs=500	# default 500
dirty_background_ratio=5	# default 5
dirty_ratio=10	# default 10
}

#cpu clock
proc_cpu{
proc_cpu_en=1	# enable(1) or disable(0) user cpu configurations
# freqency options
# 19200
# 122880
# 128000
# 245760
# 384000
# 528000
scaling_min_freq=245760	# default 245760
scaling_max_freq=528000	# default 528000
sampling_rate=2000000	# default 2000000 depending on kernel version
powersave_bias=0	# default 0, (200 since CM3.9.6+ )
up_threshold=45	# default 40, percent cpu usage before going up a speed step
}

userinit -i

=== user.conf ===
*** general ***
apps2sd=0
media2sd=1

*** CompCache ***
compcache_en=1
cc_memlimit=18
cc_disksize=32
cc_backingswap_en=1
cc_backingswap=/dev/block/mmcblk0p3
swappiness=30

*** Swap File ***
swap_file_en=1
linux_swap_file_size=32
linux_swap_file=/system/sd/swap.file

*** Linux Swap ***
linux_swap_en=0
linux_swap_partition=/dev/block/mmcblk0p3

*** VM ***
sys_vm_en=1
page_cluster=3
laptop_mode=0
dirty_expire_centisecs=3000
dirty_writeback_centisecs=500
dirty_background_ratio=5
dirty_ratio=10

*** CPU ***
proc_cpu_en=1
scaling_min_freq=245760
scaling_max_freq=528000
sampling_rate=2000000
powersave_bias=0
up_threshold=45

=== free ===
total used free shared buffers
Mem: 97812 95772 2040 0 408
Swap: 31644 9908 21736
Total: 129456 105680 23776

=== swaps ===
Filename Type Size Used Priority

/dev/block/ramzswap0 partition 31644 9908 -1

=== rzscontrol /dev/block/ramzswap0 -s ===
BackingSwap: /dev/block/mmcblk0p3
DiskSize: 31652 kB
MemLimit: 18432 kB
NumReads: 899
NumWrites: 2785
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
NotifyFree: 254
PagesDiscard: 0
ZeroPages: 98
GoodCompress: 100 %
NoCompress: 0 %
PagesStored: 1482
PagesUsed: 324
OrigDataSize: 5928 kB
ComprDataSize: 1269 kB
MemUsedTotal: 1296 kB
BDevNumReads: 333
BDevNumWrites: 951

=== meminfo ===
MemTotal: 97812 kB
MemFree: 2004 kB
Buffers: 408 kB
Cached: 18812 kB
SwapCached: 4224 kB
Active: 37264 kB
Inactive: 41384 kB
Active(anon): 29776 kB
Inactive(anon): 29988 kB
Active(file): 7488 kB
Inactive(file): 11396 kB
Unevictable: 252 kB
Mlocked: 0 kB
SwapTotal: 31644 kB
SwapFree: 21736 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 56728 kB
Mapped: 13212 kB
Slab: 6644 kB
SReclaimable: 1000 kB
SUnreclaim: 5644 kB
PageTables: 4340 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 80548 kB
Committed_AS: 1177744 kB
VmallocTotal: 811008 kB
VmallocUsed: 58604 kB
VmallocChunk: 664572 kB

=== VM configurations ===
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 5
vm.dirty_background_bytes = 0
vm.dirty_ratio = 10
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 3000
vm.nr_pdflush_threads = 2
vm.swappiness = 28
vm.lowmem_reserve_ratio = 32
vm.drop_caches = 0
vm.min_free_kbytes = 1281
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65536
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 100
vm.mmap_min_addr = 4096
sysctl: error reading key 'net.ipv4.route.flush': Permission denied

=== CPU Configuratons ===
up_threshold: 45
sampling_rate: 2000000
powersave_bias: 0
scaling_cur_freq: 528000

=== cpu stats ===
time_in_state:
19200 0
122880 0
128000 0
245760 10852
384000 1019
528000 20370

trans_table:
From : To
: 19200 122880 128000 245760 384000 528000
19200: 0 0 0 0 0 0
122880: 0 0 0 0 0 0
128000: 0 0 0 0 0 0
245760: 0 0 0 0 0 10
384000: 0 0 0 2 0 6
528000: 0 0 0 8 8 0