System tuning on Android
Posted: Tue Feb 04, 2014 8:19 pm
I just came across this oldish Google I/O video again:
http://www.youtube.com/watch?v=d3kfEeMZ65c
While strictly speaking this is of course about Android, the way they're approaching things this is basically as tuning a linux system for low latency audio.
A word of warning to the (even slightly) more experienced tuners: this video will make you cringe and think "OMG how did you not see this coming a mile away" and "geez I could have told you that from the start".
Once you get past that, however, you've got to admire how they're using proper tools to detect, track down and fix problems. Granted, they might in some cases be problems they shouldn't have had in the first place, but I think this kind of methodical, evidence-based analysis is not done nearly enough. And if it's not done enough, it's because these methods are not easy enough, and/or not not documented/promoted enough.
So what are the tools under your belt that you use and recommend for these kinds of analyses?
For me, I've built and used jack_interposer in the past ( https://github.com/raboof/jack_interposer ), but I can hardly wait before getting deeper into tools like ftrace and kernelshark ( http://people.redhat.com/srostedt/kernelshark/HTML/ )
http://www.youtube.com/watch?v=d3kfEeMZ65c
While strictly speaking this is of course about Android, the way they're approaching things this is basically as tuning a linux system for low latency audio.
A word of warning to the (even slightly) more experienced tuners: this video will make you cringe and think "OMG how did you not see this coming a mile away" and "geez I could have told you that from the start".
Once you get past that, however, you've got to admire how they're using proper tools to detect, track down and fix problems. Granted, they might in some cases be problems they shouldn't have had in the first place, but I think this kind of methodical, evidence-based analysis is not done nearly enough. And if it's not done enough, it's because these methods are not easy enough, and/or not not documented/promoted enough.
So what are the tools under your belt that you use and recommend for these kinds of analyses?
For me, I've built and used jack_interposer in the past ( https://github.com/raboof/jack_interposer ), but I can hardly wait before getting deeper into tools like ftrace and kernelshark ( http://people.redhat.com/srostedt/kernelshark/HTML/ )