Tamarin:WeeklyUpdates

From MozillaWiki
Jump to navigation Jump to search
These updates concern Tamarin and related projects only.

Meeting Details

  • 2:00pm Pacific Time (21:00 UTC) on Tuesdays
    • (5PM Eastern US, 11PM Oslo, 6AM (Wed) Seoul, 7AM (Wed) Melbourne)
  • Location: Tel: 866 705 2554 (us), 913 227 1201 (int’l)
    • Passcode: 9140087
  • Duration: 60 minutes
  • join irc.mozilla.org #tamarin for attendence taking and questions
  • Next week's Agenda Items:
    • (Scott/Adobe)- Discuss new "updating agenda items" plan
    • (Moh/Intel)-
      • We have prototyped a routine for fast scanning of memory and skipping large blocks of zeros. This routine seems particularly useful for TT's ZCT::PinStackObjects hot loop on a number of benchmarks.
      • A similar, but slightly different, pattern in the hot loop of _pcre_valid_utf8 also benefits from this optimization and results in 15% to 25% performance gain in Sunspider/string-unpack-code.
      • AvmCore::use_sse2() needs to cache the CPUID information as done in TC. Sunspider/string-fasta improves by 10% as a result.
    • (Edwin/Adobe)- Discuss ABC->Forth generation @runtime, preliminary #s


15th April 2008

Attendees

  • Adobe: Ed, Jennifer, Scott, Rick, Steven
  • Mozilla: Graydon, Brendan
  • Intel: Moh, Shengnan, Karthik

Action Items

  • ACTION: Assign someone to create a patch for flag in AVM core
  • ’’’ACTION:’’’ Jim from Mozilla to work with Moh on strings

Previous Action Items

  • ACTION: Edwin/Scott/or Jennifer to send out call for action items each Monday- these will be posted on the wiki
  • ACTION: Benjamin needs tom to review bug 423692
  • ACTION: Edwin: raise the priority of fixing string implementation -- The TT string optimization bug is https://bugzilla.mozilla.org/show_bug.cgi?id=411163 DONE
  • ACTION: Graydon: Per "callgrind" (call-graph profiler derived from "valgrind") - as hotspots are found, log bugs for them with profile data


Updates

‘’’Moh’’’

  • Working on performance opportunities w/ tracing. Have prototyped a routine for fast scanning of memory and skipping large blocks of zeros. This routine seems particularly useful for TT's ZCT::PinStackObjects hot loop on a number of benchmarks
    • Is there any plan for major changes w/ garbage collection, etc., that would make these new changes irrelevant?
      • Ed says that Garbage collector is stable and they will continue to want to look into this (could go into central as well)
  • A similar, but slightly different, pattern in the hot loop of _pcre_valid_utf8 also benefits from this optimization and results in 15% to 25% performance gain in Sunspider/string-unpack-code
  • No person is yet assigned to strings, but Adobe/Mozilla will want to coordinate with Moh on this
    • Jim from Mozilla will be working on this when he is back.
  • CPUID Instruction: Need a flag in AVM core: Ed thinks we should just create a patch and do it. No one is assigned to this yet.


Ed

  • ABC->Forth generation @runtime, preliminary #s. Ed is working on change to tracking, working on Forth codebase. Interpreter of ABC’s are compiled into IL. This gives us a place to put static optimizations. Thus, the interpreter runs faster as is only keeping track of one location and are optimizing the code before interpreting it.
    • Because of this, is working on code for managing the IL cache. It’s a change in body plan for tamarin tracing
    • Creates no real change to Forth language and is focused on single pass

Older meetings