I use a lot of tabs and Firefox runs very slowly. I would like to figure out which tabs are eating up resources (cpu, memory, etc). Will the Mozilla dtrace framework be any help with this? -- This message posted from opensolaris.org
No one cares to comment? -- This message posted from opensolaris.org
Hi,> No one cares to comment?I guess not many people know Mozilla DTrace. I had to google it''s page. http://opensolaris.org/os/project/mozilla-dtrace/ announces this list as a discussion place, but apparently no-one from http://opensolaris.org/os/project/mozilla-dtrace/leaders does not respond here. You can get Brendan Greg''s and ?? (Alfred Peng)''s mail contact from the web pages, they should be able to help you. If I try to look at their proposal (https://bugzilla.mozilla.org/attachment.cgi?id=257958), I can not see tab pages mentioned anywhere, so I guess that you won''t be able to distinguish which tab does what. And if the JavaScript implementation is still single-threaded, it won''t help you either. But those are just my guesses I obtained from five minutes check of the project. I might be totally wrong. Sorry I could not help better. -- Vlad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 193 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20080522/ec0abda0/attachment.bin>
> I use a lot of tabs and Firefox runs very slowly. I > would like to figure out which tabs are eating up > resources (cpu, memory, etc). > > Will the Mozilla dtrace framework be any help with > this?Got no replies, just reposting the original question hoping for a comment. -- This message posted from opensolaris.org
On Mon, Apr 14, 2008 at 02:28:36PM -0700, Ken Mandelberg wrote:> I use a lot of tabs and Firefox runs very slowly. I would like to figure out > which tabs are eating up resources (cpu, memory, etc). > > Will the Mozilla dtrace framework be any help with this?Hi Ken, You''re asking a question about the specifics of particular application. You''ll probably have better luck asking on a forum dedicated to Firefox support. That said, DTrace almost certainly provides the facilities you''d need to investigate the problem today. You can start your investigation a couple of ways: look at what resources are consumed when you open a new tab see what functions are being called most frequently see where firefox is spending its time Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Matt.Ingenthron at Sun.COM
2008-May-23 00:37 UTC
[dtrace-discuss] Mozilla Dtrace and Tabs?
Adam Leventhal wrote:> You''re asking a question about the specifics of particular application. You''ll > probably have better luck asking on a forum dedicated to Firefox support. That > said, DTrace almost certainly provides the facilities you''d need to > investigate the problem today. You can start your investigation a couple of > ways: > > look at what resources are consumed when you open a new tab > see what functions are being called most frequently > see where firefox is spending its time > >One other thought here Ken is that you may want to have a look at a lab Angelo Rajadurai put together for JavaOne 2008 on DTrace. It turns out there is a lot of non-Java content in it (it covers Ruby, PHP, MySQL, etc.), but there is a whole section on the Firefox DTrace provider. I don''t recall if it addresses resource consumption, but just getting you started with the provider using some samples may be useful. http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-9400&yr=2008&track=1 - Matt -- Matt Ingenthron - Web Infrastructure Solutions Architect Sun Microsystems, Inc. - Global Systems Practice http://blogs.sun.com/mingenthron/ email: matt.ingenthron at sun.com Phone: 310-242-6439
Hi Ken, The link below might be helpful: http://groups.google.com/group/mozilla.dev.performance/browse_thread/thread/2bbe380927498982/277a4575fef3fe3b. Cheers, -Alfred Ken Mandelberg wrote:> No one cares to comment? > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >
it''s fairly difficult to comment on something that has no context. Ken Mandelberg wrote:> No one cares to comment? > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org
Ken Mandelberg wrote:>> I use a lot of tabs and Firefox runs very slowly. I >> would like to figure out which tabs are eating up >> resources (cpu, memory, etc). >> >> Will the Mozilla dtrace framework be any help with >> this? > > Got no replies, just reposting the original question hoping for a comment.The last time I checked the Firefox dtrace probe status, they were source-only (no usable binaries available). I don''t know if that''s still the case. Absent any actual information, I''d say static probes would be a good avenue to exploe.
Hi Dan, DTrace probes have been enabled for Firefox 3.0 nightly build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/contrib/latest-trunk/ and also the RC1 builds: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0rc1/contrib/solaris_pkgadd/. When Firefox 3.0 is delivered into OpenSolaris repository, DTrace will also be enabled. -Alfred Dan Mick ??:> Ken Mandelberg wrote: > >>> I use a lot of tabs and Firefox runs very slowly. I >>> would like to figure out which tabs are eating up >>> resources (cpu, memory, etc). >>> >>> Will the Mozilla dtrace framework be any help with >>> this? >>> >> Got no replies, just reposting the original question hoping for a comment. >> > > The last time I checked the Firefox dtrace probe status, they were source-only > (no usable binaries available). I don''t know if that''s still the case. > > Absent any actual information, I''d say static probes would be a good avenue to > exploe. > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >
Maybe Matching Threads
- how can we use libdtrace within the DTrace security restrictions?
- tracing blocks behind I/O
- getting extra characters with printf(copyin(a, b))
- dtrace: failed to initialize dtrace: DTrace device not available on system
- Is there any way to check if DTrace is running or a DTrace probe is enabled?