[Android Software/Hacking General [Developers Only]] otterbvrn:
exec /system/bin/sh '/storage/primary/legacy/V6/ksm2.sh.pdf'
legacy/V6/ksm2.sh.pdf' <

================================================
Data DeDuping UKSM savings - 40.67 MB!
================================================
74.57 = Benefit/Cost Ratio -> HIGHER IS BETTER!
29.83 Benefit Ratio x Shared 1.36 MB = 40.67 MB
0.40 Cost Ratio x 40.67 MB = 16.27 MB (Unique)
2 - Full Scans SINCE BOOT.
8 min 56 secs (536 seconds) Needed Per Scan
UKSM Executes 5360.00 Times Per Full Scan
================================================
UKSM Per Minute Summary (Based on Awake Time)
UKSM Executes 600 Times.
4.55 MB - Scanned Beneficially Per Minute.
1.82 MB - Scanned Wastefully Per Minute.
================================================

Current UKSM Values:
===================

abundant_threshold - 10
cpu_governor - [full] medium low quiet
cpu_ratios - 20 40 MAX/4 MAX/1
ema_per_page_time - 23580
eval_intervals - 1000 500 200 50
full_scans - 2
hash_strength - 64
max_cpu_percentage - 95
pages_scanned - 32557
pages_shared - 349
pages_sharing - 10411
pages_unshared - 4167
run - 1
sleep_millisecs - 100
sleep_times - 1852
thrash_threshold - 50

================================================
System Awake Time is 0:17:52
================================================
System Idle Time is 0:06:38
================================================
System Deep Sleep Time is 0:20:39
================================================
System Up Time is 0:38:31
================================================

u0_a41@android:/ $ stat /sys/kernel/mm/uksm/*
File: '/sys/kernel/mm/uksm/abundant_threshold'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10424 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/cpu_governor'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10413 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/cpu_ratios'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10425 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/ema_per_page_time'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10415 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/eval_intervals'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10426 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/full_scans'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10419 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/hash_strength'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10421 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/max_cpu_percentage'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10411 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/pages_scanned'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10420 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/pages_shared'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10416 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/pages_sharing'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10417 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/pages_unshared'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10418 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/run'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10414 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/sleep_millisecs'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10412 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:50.000000000
Modify: 2013-08-03 16:12:50.000000000
Change: 2013-08-03 16:12:50.000000000
File: '/sys/kernel/mm/uksm/sleep_times'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10422 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
File: '/sys/kernel/mm/uksm/thrash_threshold'
Size: 4096 Blocks: 0 IO Block: 4096 regular file
Device: bh/11d Inode: 10423 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-08-03 16:12:51.000000000
Modify: 2013-08-03 16:12:51.000000000
Change: 2013-08-03 16:12:51.000000000
u0_a41@android:/ $ busybox date
Sat Aug 3 16:16:48 WIT 2013
u0_a41@android:/ $