2014年3月12日 星期三

profiling ARM binary code

先從這下載  ARM-DS5 (好像有試用版啦)

--------------------------
網友
I don't know any free ARM profilers.
You can try ARM RVDS 4.0 Pro. It has a good profiler. And you can use emulator instead of real hardware with it. It simplifies some things, but you'll not receive information about cache-misses/memory-latency, and results may differ from tests on real hardware.
The price of RVDS is high enough. You can try trial for 30 or 45 days, maybe this will be enough to profile all you want.
---------------------------





Oprofile
可以裝一個在ARM機器上,然後跑你要profile的程式時,再同時run Oprofile去監控
和gprof不同的是:

因为gprof只是针对应用层的分析,而oprofile是通过硬件(CPU)本身支持的性能计数器进行的性能分析,贯穿内核到用户应用程序,很有参考价值    URL












2014年3月11日 星期二

idea - prefetch in SSD

把read request所要的data從快gc的channel先prefetch出來…

好處:  reduce latency

方法:1  prefetch 時 prefer 快 GC的 channel
                  → 怎麼判斷 "快GC"       (elem utilization, pended wt req)
                  →要prefetch 什麼 data ? (from history, seq ratio)