Performance tuning: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
m (→‎Other: markup tweak)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Performance Tuning for OLPC ==
== Performance tuning for OLPC ==


The OLPC is a very resource limited machine. Decreasing resource use on the OLPC translates into very tangible benefits such as more space on machine for user content, better system responsiveness, better better battery life. There are two broad categories been looking at: processor use and memory use.
The OLPC is a very resource limited machine. Decreasing resource use on the OLPC translates into very tangible benefits such as more space on machine for user content, better system responsiveness, better battery life. There are two broad categories been looking at: processor use and memory use.


Processor Utilization tools:
===Processor utilization tools===
*) Sysprof (haven't personally tried this)
* Sysprof (http://www.daimi.au.dk/~sandmann/sysprof/)
* [[Oprofile setup]]
*) OProfile (http://wiki.laptop.org/go/Oprofile_setup)
*) Python profiling (http://wiki.laptop.org/go/Python_profiling)
* [[Python profiling]]
*) SystemTap (http://wiki.laptop.org/go/Systemtap) (http://www.mail-archive.com/devel@laptop.org/msg03436.html)
* [[Systemtap]] (http://www.mail-archive.com/devel@laptop.org/msg03436.html)
*) Valgrind's callgrind tool to get call graph information (http://www.valgrind.org/)
* Valgrind's callgrind tool to get call graph information (http://www.valgrind.org/)


Storage Utilization
=== Storage utilization ===
* Memphis (http://dev.laptop.org/git.do?p=projects/soc-memphis)
*) Valgrind's massif tool to examine memory allocation (http://www.valgrind.org/)
* Valgrind's massif tool to examine memory allocation (http://www.valgrind.org/)
*) Reducing size of code (http://lovesunix.net/spaceoptimization.pdf)
*) Improving shared libraries (http://people.redhat.com/drepper/dsohowto.pdf)
* Reducing size of code (http://lovesunix.net/spaceoptimization.pdf)
*) Scripts to analyze file system and process memory use (http://people.redhat.com/berrange/olpc/image/)
* Improving shared libraries (http://people.redhat.com/drepper/dsohowto.pdf)
*) Scripts to analyze process memory map (http://people.redhat.com/berrange/olpc/performance/)
* Scripts to analyze file system and process memory use (http://people.redhat.com/berrange/olpc/image/)
* Scripts to analyze process memory map (http://people.redhat.com/berrange/olpc/performance/)
* Utility to analyze file sytem usage (http://www.pixelbeat.org/fslint/)
* Utility to analyze RAM usage (http://www.pixelbeat.org/scripts/ps_mem.py)

=== Other ===
* The [[Cairo]] graphics library has a trace utility upcoming, see http://www.cairographics.org/FAQ/#performance_concerns

[[Category:Software development]]

Latest revision as of 21:07, 31 December 2008

Performance tuning for OLPC

The OLPC is a very resource limited machine. Decreasing resource use on the OLPC translates into very tangible benefits such as more space on machine for user content, better system responsiveness, better battery life. There are two broad categories been looking at: processor use and memory use.

Processor utilization tools

Storage utilization

Other