OLPC tuning thoughts

Jim Gettys jg at laptop.org
Wed Mar 28 11:26:44 EDT 2007


Will,

Thank you very much!  This is a big help.

You should also note Memphis, in the developer activity.  It gives a
better reflection of actual memory used by applications than simple ps,
top, and the like.
                             Best regards, and thanks!
                                     - Jim


On Wed, 2007-03-28 at 10:30 -0400, William Cohen wrote:
> Hi All,
> 
> 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. I have been 
> adding material to http://wiki.laptop.org on the experience of using tools on 
> OLPC machine and software when possible. There are two broad categories been 
> looking at: memory use and processor use.
> 
> Processor Utilization tools:
> 	-sysprof (haven't personally tried this)
> 	-OProfile (http://wiki.laptop.org/go/Oprofile_setup)
> 	-Python profiling (http://wiki.laptop.org/go/Python_profiling)
> 	-SystemTap (http://wiki.laptop.org/go/Systemtap)
> 		(http://www.mail-archive.com/devel@laptop.org/msg03436.html)
> 	-Valgrind's callgrind tool to get call graph information
> 		(http://www.valgrind.org/)
> 
> Storage Utilization
> 	-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)
> 	-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/)
> 
> Looking through the wiki pages there currently wasn't a nice clearing house of 
> this type of information so that people can quickly get up to speed on how they 
> might tune code on the machine. I decided to add one:
> 
> http://wiki.laptop.org/go/Performance_tuning
> 
> Any commments or additions to it would be appreciated.
> 
> -Will
> _______________________________________________
> Devel mailing list
> Devel at laptop.org
> http://mailman.laptop.org/mailman/listinfo/devel
-- 
Jim Gettys
One Laptop Per Child





More information about the Devel mailing list