This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernel 3 CONFIG_PM_RUNTIME=y + CONFIG_MMC_CLKGATE=y (the write speed is not costant, many speed drops) | |
clkgate_delay: 200 500 700 1000 | |
Read Speed: 12.7 MB/s 13.3 MB/s 13.3 MB/s 14.2 MB/s | |
Write Speed: 9.6 MB/s 10.9 MB/s 8.8 MB/s 9.5 MB/s | |
-------------------------------------------------------------------------------------------------------------------------- | |
kernel 3 CONFIG_PM_RUNTIME=n + CONFIG_MMC_CLKGATE=y (the write speed is not costant, some speed drops) | |
clkgate_delay: 200 350 500 525 550 600 700 1000 2000 | |
Read Speed: 13.5 MB/s 13.8 MB/s 13.8 MB/s 13.4 MB/s 14.0 MB/s 13.6 MB/s 12.8 MB/s 12.9 MB/s 12.8 MB/s | |
Write Speed: 9.6 MB/s 10.2 MB/s 11.2 MB/s 9.9 MB/s 9.6 MB/s 10.2 MB/s 11.5 MB/s 10.3 MB/s 10.2 MB/s | |
-------------------------------------------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c | |
index b3d96cd..04d7756 100644 | |
--- a/drivers/mmc/host/msm_sdcc.c | |
+++ b/drivers/mmc/host/msm_sdcc.c | |
@@ -2913,6 +2913,7 @@ static void msmsdcc_enable_sdio_irq(struct mmc_host *mmc, int enable) | |
} | |
#endif /* CONFIG_MMC_MSM_SDIO_SUPPORT */ | |
+#undef CONFIG_PM_RUNTIME | |
#ifdef CONFIG_PM_RUNTIME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@cooper:/ # cat /proc/latency_stats | |
Latency Top version : v0.1 | |
31032 16366922 85970 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
23869 20012150 5000 futex_wait_queue_me futex_wait do_futex sys_futex ret_fast_syscall | |
1484 3123526 59205 binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
1811 3126667 5000 sys_epoll_wait ret_fast_syscall | |
2804 5245963 4998 adreno_waittimestamp kgsl_ioctl_device_waittimestamp kgsl_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
2301 12023947 10857 mdp_lcdc_update mdp_dma_pan_update msm_fb_pan_display fb_pan_display fb_set_var do_fb_ioctl fb_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
6637 5184500 5000 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
243 312411 4153 hrtimer_nanosleep sys_nanosleep ret_fast_syscall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c | |
index 094ba54..d13c704 100644 | |
--- a/drivers/mmc/host/msm_sdcc.c | |
+++ b/drivers/mmc/host/msm_sdcc.c | |
@@ -5238,6 +5238,8 @@ static int msmsdcc_runtime_idle(struct device *dev) | |
return 0; | |
/* Idle timeout is not configurable for now */ | |
+ | |
+ pr_info("MSM_MMC_IDLE_TIMEOUT: %d", MSM_MMC_IDLE_TIMEOUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latency Top version : v0.1 | |
1433 1167833 4903 poll_schedule_timeout do_select core_sys_select sys_select ret_fast_syscall | |
1724 1356479 4861 unix_stream_recvmsg sock_aio_read do_sync_read vfs_read sys_read ret_fast_syscall | |
22822 9153457 5000 futex_wait_queue_me futex_wait do_futex sys_futex ret_fast_syscall | |
705 864802 4148 hrtimer_nanosleep sys_nanosleep ret_fast_syscall | |
9199 3772487 72976 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
4807 1154813 4991 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
1714 4763653 4990 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
1130 1289405 4969 adb_read vfs_read sys_read ret_fast_syscall | |
661 1227888 4990 sys_epoll_wait ret_fast_syscall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latency Top version : v0.1 | |
1 141 141 wait_answer_interruptible.isra.11 fuse_request_send fuse_do_getattr fuse_update_attributes fuse_getattr vfs_getattr vfs_fstat sys_fstat64 ret_fast_syscall | |
223168 63380819 4998 futex_wait_queue_me futex_wait do_futex sys_futex ret_fast_syscall | |
1882 2966641 5000 sys_epoll_wait ret_fast_syscall | |
7134 4576705 93829 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
339 548407 33151 binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
1050 866066 4970 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
559 971503 4327 adreno_waittimestamp kgsl_ioctl_device_waittimestamp kgsl_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
587 3158208 10828 mdp_lcdc_update mdp_dma_pan_update msm_fb_pan_display fb_pan_display fb_set_var do_fb_ioctl fb_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall | |
437 1176173 4995 binder_thread_read binder_ioctl vfs_ioctl do_vfs_ioctl sys_ioctl ret_fast_syscall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<4>[ 5876.562531] [TSP] synaptics_ts_resume- | |
<6>[ 5876.562574] msm_batt_late_resume(): going to resume | |
<6>[ 5876.562624] msm_batt_send_event() : Resume event ocurred.events = 00000002 | |
<6>[ 5876.562674] msm_batt_send_event(): Battery call Back thread not Started. | |
<6>[ 5876.562722] msm_batt_late_resume(): Handled Late resume event. rc = 0 | |
<4>[ 5878.187896] [BACLKIGHT] : 0 | |
<4>[ 5878.187911] Platform V:0, Find V:0 | |
<4>[ 5878.191371] LCD Backlight OFF. tune:0,lcd:0 | |
<6>[ 5878.197664] request_suspend_state: sleep (0->3) at 5878197997245 (2014-12-06 21:29:29.855673335 UTC) | |
<6>[ 5878.197726] msm_batt_early_suspend(): going to early suspend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latencies across all processes: | |
Maximum Average Count Reason | |
1227.71 ms 24.99 ms 1956 sleep_on_page | |
786.17 ms 1.01 ms 43158 binder_thread_read | |
765.15 ms 6.35 ms 1319 binder_ioctl | |
692.90 ms 23.47 ms 256 sleep_on_page_killable | |
670.69 ms 19.05 ms 205 sleep_on_buffer | |
442.29 ms 10.87 ms 824 sys_mprotect | |
441.71 ms 5.01 ms 1567 do_page_fault | |
373.21 ms 346.95 ms 434 refrigerator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<6>[ 0.000000] Initializing cgroup subsys cpu | |
<5>[ 0.000000] Linux version 3.0.31-androidarmv6 (handymenny@handyarch) (gcc version 4.7 (GCC) ) #7 PREEMPT Fri Dec 19 15:44:15 CET 2014 | |
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387d | |
<4>[ 0.000000] CPU: VIPT aliasing data cache, unknown instruction cache | |
<4>[ 0.000000] Machine: GT-S5830 Board | |
<6>[ 0.000000] Partition (from atag) mibib -- Offset:0 Size:6 | |
<6>[ 0.000000] Partition (from atag) qcsbl -- Offset:6 Size:2 | |
<6>[ 0.000000] Partition (from atag) oemsbl -- Offset:8 Size:3 | |
<6>[ 0.000000] Partition (from atag) amss -- Offset:b Size:64 | |
<6>[ 0.000000] Partition (from atag) efs2 -- Offset:6f Size:24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<6>[ 0.000000] Initializing cgroup subsys cpu | |
<5>[ 0.000000] Linux version 3.0.31-androidarmv6 (jenkins@piripiri209) (gcc version 4.8 (GCC) ) #3 PREEMPT Thu Dec 18 16:51:44 CET 2014 | |
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387d | |
<4>[ 0.000000] CPU: VIPT aliasing data cache, unknown instruction cache | |
<4>[ 0.000000] Machine: GT-S5830 Board | |
<6>[ 0.000000] Partition (from atag) mibib -- Offset:0 Size:6 | |
<6>[ 0.000000] Partition (from atag) qcsbl -- Offset:6 Size:2 | |
<6>[ 0.000000] Partition (from atag) oemsbl -- Offset:8 Size:3 | |
<6>[ 0.000000] Partition (from atag) amss -- Offset:b Size:64 | |
<6>[ 0.000000] Partition (from atag) efs2 -- Offset:6f Size:24 |