Processor Thrashing

pjpreilly's Avatar

pjpreilly

22 Feb, 2013 07:58 PM

When I load this page: http://www.usatoday.com/ the processor will thrash at near 100% until the RIGHT NOW section (top right) is loaded. In Safe Mode load the page with the screen sized so the Right Now section does not automatically load unless clicked on. Observe processor thrashing, click on the Right Now section and observe it load & the thrashing ends. This happens on the current TFF as well as the current Nightly (17.02esrpre) and the current Aurora (20.0a2) builds for PPC.

  1. 1 Posted by pjpreilly on 22 Feb, 2013 08:03 PM

    pjpreilly's Avatar

    ....does not happen on current webkit or the Intel versions.

  2. Support Staff 2 Posted by Chris (chtrusch... on 22 Feb, 2013 08:36 PM

    Chris (chtrusch)'s Avatar

    Not sure if I can reproduce this completely. The website uses about 50% CPU initially, and drops to 6% when the Right Now section is loaded after clicking on the blue left arrow thingy. So, I do see a difference.

    But it never "thrashes" (which I interpret as "100% CPU always"(?)), so this doesn't look especially problematic to me. What processor/speed does you Mac have? If you're able to run Aurora, I figure it should be at least 800 MHz G4, right?

    TFF 17.0.3 & 19.0 with G4 PowerBook 1.33 GHz (reduced to 667 MHz in Energy Saver).

  3. 3 Posted by pjpreilly on 22 Feb, 2013 09:23 PM

    pjpreilly's Avatar

    Model Name: PowerBook G4 17"
    Model Identifier: PowerBook5,9 Processor Name: PowerPC G4 (1.5) Processor Speed: 1.67 GHz

    My istat pro widget shows it above 85% until Right Now is loaded & it fluctuates higher.

  4. 4 Posted by pjpreilly on 22 Feb, 2013 09:30 PM

    pjpreilly's Avatar

    firefox above 90% and cpu above 95%......that's THRASHING baby!

  5. Support Staff 5 Posted by Chris (chtrusch... on 22 Feb, 2013 09:41 PM

    Chris (chtrusch)'s Avatar

    Weird, tried it again, and now it's only using ~30% initially, dropping to 6-7% when clicking "Right Now". Maybe it's different depending on which ads are loaded, or some other stuff that I don't get to see here in Europe?

    Also, it doesn't make a difference if JavaScript is enabled or not (only that clicking Right Now with no JS doesn't have an effect, of course), so that's even weirder.

  6. 6 Posted by pjpreilly on 22 Feb, 2013 10:05 PM

    pjpreilly's Avatar

    Yep, JS don't matter. It's not in webkit either...even weider. What processor speed are you using?

  7. Support Staff 7 Posted by Chris (chtrusch... on 22 Feb, 2013 10:20 PM

    Chris (chtrusch)'s Avatar

    I use a 1.33 GHz PowerBook G4, throttled to 667 MHz.

  8. Support Staff 8 Posted by Cameron Kaiser on 22 Feb, 2013 10:34 PM

    Cameron Kaiser's Avatar

    I can actually see what Phil is referring to, but I think this is due to a large number of layers and I don't think I can fix that. This is not issue 193.

  9. 9 Posted by pjpreilly on 22 Feb, 2013 10:45 PM

    pjpreilly's Avatar

    You guys always say that....& then you fix it!

  10. 10 Posted by pjpreilly on 23 Feb, 2013 12:47 AM

    pjpreilly's Avatar

    Same result on:
    Machine Name: iBook G4 Machine Model: PowerBook6,7 CPU Type: PowerPC G4 (1.5) Number Of CPUs: 1 CPU Speed: 1.42 GHz L2 Cache (per CPU): 512 KB Memory: 1.5 GB Bus Speed: 142 MHz

    TFF 17.03 & TFF 19 running Tiger

  11. 11 Posted by Eugene on 27 Feb, 2013 10:04 PM

    Eugene's Avatar

    I am not sure if this is relevant here but I could not find a more relevant topic. My issue is that CPU utilization by TenFourFox is kind of high. I have 3 tabs open (Gmail, Wired and this one) and the CPU use is between 90 and 100 %. TenFourFox works fine, it is just not very responsive. I have tried TenFourFox 17.0.2 and 17.0.3 with similar outcomes (I think 17.0.2 might be slightly less CPU intensive but I am not sure). I use a PowerMac G5 11,2 (dual 2.3 Ghz, 5 GB RAM, OS X 10.4.11).

  12. 12 Posted by pjpreilly on 28 Feb, 2013 05:34 AM

    pjpreilly's Avatar

    I want my processor back!
    http://www.usatoday.com/sports/

  13. 13 Posted by pjpreilly on 01 Mar, 2013 05:28 PM

    pjpreilly's Avatar

    I have the same issue on lubuntu with FF 19. Processor usage hangs at 35% until RIGHT NOW is loaded, then after loading it idles at 4%. Looks like something in the FF code for these legacy implementations.

  14. Support Staff 14 Posted by Chris (chtrusch... on 01 Mar, 2013 09:14 PM

    Chris (chtrusch)'s Avatar

    Phil, maybe your Intel Mac or Windows PC is just so fast you don't notice it over there?

    Eugene, again, I don't see this here (with Wired and Tender), but I don't use Gmail which may be a bit heavy on the JavaScript side. Do you see the same load in Safari with these three websites? You could also try TenFourFox 19 (unstable branch) to see if it's faster for you.

  15. 15 Posted by Eugene on 01 Mar, 2013 09:42 PM

    Eugene's Avatar

    Chris, Safari works just fine with Gmail. I opened the three tabs in Safari 4.1.3 and the CPU utilization is less than 10%. I will try TenFourFox 19 in the near future.

  16. 16 Posted by dron on 11 Jul, 2013 01:04 AM

    dron's Avatar

    Hi guys,

    have the same problem with our page, where I'm even using CSS compression:
    http://www.seaplane.aero/en/
    Ok, on the Home page there's a flash video background, which 10.4Fox doesn't know.
    But what about the rest? Try sliding over the menu - its buttons are supposed to go smoothly down. And what about the slideshows under Versions?

    Apart from that the HTML5 videos of youtube are unwatchable! How exactly do you see surfing without watching vids? Is it woth ditching Flash?
    There's also a guy, who fixed the flash update issue so you can fool the websites that you use Flash 11.5! Using this with Safari makes the youtube videos FLY on my
    iMac G5 2GHz, 2GB RAM, 128MB VRAM, OS X 10.5.8.

    I appreciate your work for keeping us safe with this browser, but is it really an option - using two browsers in order to surf safely and watch youtube normally?

    Also: my system is pretty clean after using onyx, ifreemem and the HDD has 85 GB free space.

    Looking forward to hear what's the matter with browsing our website! ;)

    Cheers!

  17. Support Staff 17 Posted by Chris (chtrusch... on 11 Jul, 2013 07:07 AM

    Chris (chtrusch)'s Avatar

    Hello dron,

    to be honest, I'm frustrated as well sometimes about the loss of plugins in TenFourFox, but it can't be helped. It's either option one: using Flash and staying at an outdated and insecure html rendering core, or option two: offering the most recent html/css/javascript.

    Since there is Safari/Camino/Omniweb/Opera 10 where Flash still works, I'm actually glad there's TenFourFox that goes for the second option. And of course you can use a two-browser strategy. If you use Safari for stuff that needs Flash, and do your online banking and other stuff that needs security and more modern html features with TenFourFox, that perfectly fine to me. By the way I do use html5 video for YouTube. It's not exactly the smoothest experience on my PowerBook G4,but it's tolerable. If there's no html5 option for a specific video, I download it and watch if offline.

    I tried loading http://www.seaplane.aero/en/, however I'm getting an Internal Server Error repeatedly, so I can't reproduce your problem with this page right now. Have you tried using a fresh Firefox profile or disabling add-ons to see if it loads quicker?

    Your iMac G5 is a single core Mac, so it shouldn't be affected by the speed problem described here http://tenfourfox.blogspot.de/2013/07/useful-tips-making-threads-ou... Of course, if it is affected, this would be a very useful hint for fixing this problem.

  18. 18 Posted by dron on 11 Jul, 2013 09:34 AM

    dron's Avatar

    Hi again,

    my iMac has one G5 processor indeed. Besides, I experience performance problems only on some websites, which also include our www.seaplane.aero, and the rest – not more than in safari.
    Sometimes our webhosting sucks, therefore maybe will work again later or just by typing in "seaplane.aero". I can open the site any time now, sitting in Germany.
    If it doesn't work, could you please give me your location and browsing data so that I can kick our hosting provider's ass? ;)

  19. Support Staff 19 Posted by Chris (chtrusch... on 11 Jul, 2013 10:21 AM

    Chris (chtrusch)'s Avatar

    The website loads now, it takes about 5 seconds. The menu to the left works, and the buttons go down smoothly. They're not pressed instantly, but this effect rather looks like intended to me, a sort of quick animation of the buttons. It's very smooth, and it looks cool. The slide show is also played normally, with a new picture every 5 seconds. I see no processor thrashing or slowness whatsoever. I'm on a PowerBook G4 1.33 GHz.

  20. 20 Posted by dron on 11 Jul, 2013 11:05 AM

    dron's Avatar

    Oh man, can't believe the older G4 handles it better than a G5 with the OS Leopard!
    I've just installed the unstable 22.0 release and had unfortunately to discover...
    1. that the problem with the menus is still there and the CPU is literally freaking out when hovering over it, even the cursor is getting slower and the CPU fan nose tells me that my iMac is just about to take off! Same happens with slideshow and also its controls on the right, and...
    2. there is no language files available for v. 22.0 yet. I think that if you gather usage data about 22.0, it will be very useful to offer language files - this way you could reach much more people and gather more data.

    You're right, the animation in the menu is intended to be smooth, as one of the contact form fields.

    Maybe the difference is that you use 10.4Fox for G4 and mine is for G5? I mean, they seem to be kind of different programs.

  21. 21 Posted by dron on 11 Jul, 2013 11:17 AM

    dron's Avatar

    Sorry, the cursor doesn't really get slower, was just a misinterpretation of mine.
    But the buttons' "follow" the cursor slowly and inadequately, also the submenu opens pretty laggy.

  22. Support Staff 22 Posted by Chris (chtrusch... on 11 Jul, 2013 11:39 AM

    Chris (chtrusch)'s Avatar

    My PowerBook is also on Leopard. I don't have a G5 here to test with, however on my G3 Pismo (400 MHz(!), Tiger) the website, once it's loaded (after about 35 seconds), the menu is a bit laggy, but I see the same smooth animation for the buttons, and the website is usable.

    Unless it's a G5 specific issue, I'm pretty sure the website will be fine if you try a fresh user profile. The easiest way to test this quickly is this:

    1) quit TFF, and make sure it's really quit, which may take a while
    2) in the Finder, go to your user Library/Application Support and move the Firefox folder to your desktop. This folder contains your profile with bookmarks, add-ons etc.
    3) start TFF. It will act like it's never been started before.
    4) visit the site in question and observe performance
    5) Now quit TFF and move the Firefox folder from your desktop back into Application Support. There will be a new Firefox folder in there, which can be replaced. Make sure you're replacing the right thing. If unsure, back up you Firefox folder to another harddrive beforehand.

    If the site loads normal now, you know you probably have an add-on that slows stuff down, or a whacky preferences configuration. If this is the case, we'll see what we can do later.

    We don't offer localizations for beta versions, however if you want to test a bit, here's a test version (German only): http://code.google.com/p/tenfourfox/issues/detail?id=61 Scroll down to the bottom.

  23. 23 Posted by dron on 11 Jul, 2013 02:33 PM

    dron's Avatar

    Hi Chris,

    2) there's no Firefox folder, instead a Mozilla folder. Probabyl should have mentioned "user" before /library/application support ;)
    4) don't know how to start this mode, couldn't find it. If you simply meant that I should look how the site works now and test the mentioned instances, then I did it and it's still the same.

    The only add-on I use is the AdBlockPlus 2.2.4, which was during this last test disabled everywhere before action (1).

    The animation of the buttons is smooth as is should be, if you hover just a single menu item, but the CPU load is up to 75% an the iMac starts wheeping. If you go up and down the menu bar, the processor load reaches 78% sometimes and the average is around 60%. The most annoying lagg happens while hovering Versions, making the submenu fold out.

    What do you mean by "whacky preferences configuration"? The browser's prefs? How should they be best?

    Cool! The German language installation worked! Many thanks!

  24. Support Staff 24 Posted by Chris (chtrusch... on 11 Jul, 2013 03:12 PM

    Chris (chtrusch)'s Avatar

    If it's still the same with a fresh profile, then there may indeed be a difference in the G5 version. My PowerBook doesn't go over 50% CPU hovering up and down the menu, which I would consider normal. However, >70% istn't completely unusable. In Safari, I see exactly the same slight lag between buttons.

    If you click "Help", then "Troubleshooting Information", you'll get a list of modified preferences. But it's not necessary. There's not much I can do right now. It needs to be tested on another G5.

  25. 25 Posted by dron on 11 Jul, 2013 09:23 PM

    dron's Avatar

    When you do, could you please write about it here, so I'll get a notification via email?
    Thx!

  26. Support Staff 26 Posted by Cameron Kaiser on 13 Jul, 2013 02:49 AM

    Cameron Kaiser's Avatar

    I was away on business, so sorry I couldn't look at this sooner. On my own G5 I do see what you are referring to, but because of known threading problems on 10.4, I can't really distinguish between those and anything specific to your 10.5 system. The first thing is to upgrade the allocator, which is issue 218, and then to see what remains. However, the highest priority for version 24 is to get the JavaScript JIT working again with IonMonkey and BaselineCompiler, so I cannot make any guarantees about when that can be updated.

  27. 27 Posted by Sam Spastic on 28 Sep, 2017 07:13 PM

    Sam Spastic's Avatar

    10.5.8 Dual 2 GHz PowerPC G5 TenFourFox maxes out both processors.
    10.5.8 Dual 1.25 GHz PowerPC G4 TenFourFox maxes maxes out both processors.
    10.5.8 Dual 1.8 GHz PowerPC G5 TenFourFox maxes out both processors

    This guy should be fast but runs slow as molasses on ALL dual processor PowerPCs

    HELP please.

  28. Support Staff 28 Posted by Cameron Kaiser on 29 Sep, 2017 05:36 AM

    Cameron Kaiser's Avatar

    Please note you've responded to a four year old ticket.

    However, on both my Quad G5 and 1GHz iMac G4, TenFourFox idles at around 1-2% CPU. Without more information on what you're doing, I don't see what you're seeing.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac