Skip to content

{ Tag Archives } systemtap

fighting oranges with systemtap probes, latency fighting; step 2

Recap from step 1: Sometimes unit test failures on the mozilla tinderboxen are (allegedly, per me) due to insufficiently constrained asynchronous processes.  Sometimes the tests time out because of the asynchronous ordering thing, sometimes it’s just because they’re slow.  Systemtap is awesome.  Using systemtap we can get exciting debug output in JSON form which we […]

Also tagged

fighting non-deterministic xpcshell unit tests through causality tracking with systemtap; step 1

It’s a story as old as time itself.  You write a unit test.  It works for you.  But the evil spirits in the tinderboxes cause the test to fail.  The trick is knowing that evil spirits are a lot like genies.  When you ask for a wish, genies will try and screw you over by […]

Also tagged

work-in-progress tooling: feeding GWT SpeedTracer systemtapped mozilla performance data

Now that Thunderbird 3.1 is string/feature-frozen it’s time to focus on performance.  This post is just to make sure that people who are also working on similar things know what I’m up to.  For example, there’s some very exciting work going on involving adding a startup timeline to mozilla-central that everyone keeping up-to-date with mozilla […]

Also tagged ,

a systemtap script to attribute JS string memory costs to the creating JS functions

—– js_GC data pages: 96731 total vm pages: 234849 ### KiB 11376 839 BF_format log4moz.j:487 15906 725 mime_emitter_writeBody jsmimeemitter.j:381 148 576 MimeMessage_coerceBodyToPlaintext mimemsg.j:341 4460 492 gloda_ds_queryFromQuery datastore.j:2988 9655 387 <MYSTERIOUS> <BEYOND THE VEIL>:0 911 237 gloda_content_quoted connotent.j:267 1723 144 gloda_indexMessage index_msg.j:2597 187 141 gloda_content_content connotent.j:290 170 108 gloda_content_getContent connotent.j:166 1917 73 gloda_identity_toString datamodel.j:785 1775 69 […]

Also tagged

performance annotated SQLite EXPLAINation visualizations using systemtap

For the Thunderbird 3.1 release cycle we are not just fixing UX problems but also resolving various performance issues.  The key to defeating performance problems, like the key to defeating bad guys in movies, is to make sure they are dead.  If you want to fight the bad guy again, you can just assume that […]

Also tagged , , ,

more systemtap mozilla event loop awareness

====================                                             ms    # —– Event Loop: nsInputStreamReadyEvent                                      7119   11 —– Input Events: nsInputStreamPump                                            7119   11 —– Pump Events: thunk:nsNNTPProtocol::QueryInterface(…)                    7119   11 ====================                                             ms    # —– Event Loop: nsInputStreamReadyEvent                                      6284   15 nsTimerEvent                                                  242  123 —– Timers: nsUITimerCallback                                             121    2 —– Input Events: nsInputStreamPump                                            6284   15 —– Pump Events: thunk:nsNNTPProtocol::QueryInterface(…)                    6283   15 As of late, I’ve noticed […]

Also tagged

Using systemtap to figure what your mozilla app’s event loop is up to

==================== ms # —– Event Loop: nsTimerEvent 1233 31 nsProxyObjectCallInfo 19 44 nsStreamCopierOB 1 48 nsStreamCopierIB 0 18 nsProxyCallCompletedEvent 0 44 nsProxyReleaseEvent 0 27 nsTransportStatusEvent 0 19 nsSocketEvent 0 18 nsHttpConnectionMgr::nsConnEvent 0 1 —– Timers: OnBiffTimer(…) 1129 3 nsGlobalWindow::TimerCallback(…) 70 10 nsAutoSyncManager::TimerCallback(…) 29 6 nsExpirationTracker::TimerCallback(…) 1 1 nsIdleService::IdleTimerCallback(…) 0 5 nsExpirationTracker::TimerCallback(…) 0 1 nsHttpHandler 0 […]

Also tagged