Difference between revisions of "User:Stevex Janus"

From Second Life Wiki
Jump to navigation Jump to search
Line 7: Line 7:
** The GCC compiler has a flag which adds extra code to the binary during compilation.  The purpose of the extra code is to record the entry and exit from a procedure.  When the program exits the information is written to a file. (usually call gmon.out)  This information is then post processed to show you how much process time is spent in each routine.
** The GCC compiler has a flag which adds extra code to the binary during compilation.  The purpose of the extra code is to record the entry and exit from a procedure.  When the program exits the information is written to a file. (usually call gmon.out)  This information is then post processed to show you how much process time is spent in each routine.
** "Gprof"  calculates  the  amount  of time spent in each routine.  Next, these times are propagated along the edges of the call  graph. Cycles are  discovered, and  calls into a cycle are made to share the time of the cycle.
** "Gprof"  calculates  the  amount  of time spent in each routine.  Next, these times are propagated along the edges of the call  graph. Cycles are  discovered, and  calls into a cycle are made to share the time of the cycle.
** The end goal of course is to speed up the code.


= The system I use to run Second Life =
= The system I use to run Second Life =

Revision as of 00:31, 17 June 2007

Contact info

Max Okumoto <okumoto@ucsd.edu>

Projects

  • Profiling the Second Life client code on Linux.
    • Profiling is use to determine how much CPU cycles are being used by parts of your code.
    • The GCC compiler has a flag which adds extra code to the binary during compilation. The purpose of the extra code is to record the entry and exit from a procedure. When the program exits the information is written to a file. (usually call gmon.out) This information is then post processed to show you how much process time is spent in each routine.
    • "Gprof" calculates the amount of time spent in each routine. Next, these times are propagated along the edges of the call graph. Cycles are discovered, and calls into a cycle are made to share the time of the cycle.
    • The end goal of course is to speed up the code.

The system I use to run Second Life

  • Hardware
    • Pentium 3.8GHz
    • 1G byte ram
    • ATI Radeon X300 (PCIE)
    • Two LCD panels (1280x1024)
  • Software
    • Works-2
      • SecondLife_i686_1_17_9 (build from src)
      • Fedora Core 6 (2.6.20-1.2952.fc6)
      • ATI binary driver (ati-driver-installer-8.36.5-x86.x86_64.run)
    • Works-1
      • SecondLife_i686_1_16_0_5 (built from src) and SecondLife_i686_1_16_0_6 (binary)
      • Fedora Core 6 (2.6.20-1.2952.fc6)
      • ATI binary driver (ati-driver-installer-8.36.5-x86.x86_64.run)
    • Works-0
      • SecondLife_i686_1_16_0_5 and SecondLife_i686_1_16_0_6 (binary)
      • Fedora Core 6 (2.6.20-1.2948.fc6)
      • ATI binary driver (ati-driver-installer-8.36.5-x86.x86_64.run)
  • Build tools
    • compat-gcc-34-3.4.6-4
    • scons-0.97-1.fc6