Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Using Safari Slows Your System?

Posted by kdawson on Thu Mar 01, 2007 09:52 AM
from the need-for-speed dept.
sandoz writes "Macenstein has up an interesting article with some evidence that running Safari seems to slow down unrelated programs. While the speed with which a browser renders a Web page is an important measure, the difference between browsers is usually a matter of a few seconds at most. To my mind, a more important measure of speed is how a browser affects the overall speed of your system." Some responses to the article suggest that memory handling in WebKit may be the culprit. The Safari developers have already responded to this article on the webkit.org blog. They explain why the slowdown might be occurring and how it's (probably) already been fixed in the nightly build. And they request more minimal test cases.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • OMG (Score:3, Insightful)

    by cowscows (103644) on Thursday March 01 2007, @09:54AM (#18193980)
    (http://shawn.redhive.com/ | Last Journal: Thursday May 26 2005, @09:04AM)
    Hey wow, a piece of software isn't perfect, and the developers are trying to fix it. This is an exciting new paradigm for programming. Thanks for keeping me updated!
    • it's the memory stupid (Score:5, Informative)

      by goombah99 (560566) on Thursday March 01 2007, @10:23AM (#18194352)
      I'v already tested this on my computer. here's the facts. 1) at idle on normal web pages safari consumes much LESS cpu time than other browsers 2) if you run a cpu intensive script background it is not slowed by safari in any measurable way.

      in the macenstein article they too noted that cpuintensive tasks like quicktime were not slowed but memory intensive tasks like photoshop were. Also they noted that the in memory and virtual memory footprints were several fold higher for safari than for firefox.

      clearly this is a no brainier. Safari is using more memory and doing so in a demanding way. I don't know why but I assume it probably has something to do with how it handles the back-forward cache, fast page compoaition, and images. Maybe there's some memory leak too, since safari's offtprint grows during the day.

      But this is utterly unsurprising. If you run a big memory app like photshop you already know better than to be running other apps that consume memory.

      The only problem I've had with safari is not this but there are just some webpages that don't seem to comlicated that make it grind to a halt and use 60% of the cpu. One example is pricegrabber.com.

      [ Parent ]
    • Re:OMG by ArsonSmith (Score:2) Thursday March 01 2007, @10:32AM
    • Re: Things that slow the system by mrbluze (Score:1) Thursday March 01 2007, @04:12PM
    • Re:WTF (Score:4, Insightful)

      by cowscows (103644) on Thursday March 01 2007, @03:26PM (#18198680)
      (http://shawn.redhive.com/ | Last Journal: Thursday May 26 2005, @09:04AM)
      This story isn't about some exciting new program, or some cool technology, or even an updated version of a popular piece of software. This is a report about a non-critical bug for a web browser. A web browser with limited market share and a number of good alternatives. Oh, and the developer has already acknowledged it, explained it, and described some of the progress being made to fix it. This isn't about technology, it's about a minor decision in the production of a web browser not being the optimal solution.

      Slashdot covers a huge range of topics, a lot of information goes through it each day. It's constantly bring in new editors, and they get craploads of submissions each day. Keeping all of that in mind, I just fail to see how anything in this article was worthy of a front page spot on the site. I'm not calling for the firing of the editors or anything, just making fun of them a little bit for posting something silly.

      [ Parent ]
    • 1 reply beneath your current threshold.
  • my test case (Score:5, Funny)

    by gEvil (beta) (945888) on Thursday March 01 2007, @09:55AM (#18193986)
    (http://evil.google.com/)
    I have a 5-1/2 year old iBook. Running anything slows my system down... : p
  • Bloomin' OS X copycats (Score:4, Funny)

    by tttonyyy (726776) on Thursday March 01 2007, @09:58AM (#18194028)
    (http://www.cooldark.com/ | Last Journal: Monday April 26 2004, @05:31PM)
    Don't you realise Windows has this technology already - it's been slowing down unrelated programs for years! (Sorry, I know it's cheap, but I couldn't resist!)
  • Weird... (Score:5, Informative)

    by avalys (221114) on Thursday March 01 2007, @10:00AM (#18194050)
    A few months ago, I switched to Firefox because I was convinced Safari was slowing down my system. Just this morning, I fired up Safari again - and it is at least three times as fast as Firefox. Don't know what I was thinking...

    • Re:Weird... (Score:4, Informative)

      by peragrin (659227) on Thursday March 01 2007, @10:19AM (#18194312)
      Safari has a memory leak. run safari for several days. Then close all but the last tab. Safari is use several hundred megs of ram. now I simply close safari when i am done browsing or when i am about a launch a memory intensive app. The new app kicks out all of safari's crud and it launches instantly.

      Firefox is the same speed no matter what, but it too has an occasional memory leak when you open and close lots of tabs.

      [ Parent ]
    • Re:Weird... by JavaLord (Score:2) Thursday March 01 2007, @10:20AM
      • Re:Weird... by Fyre2012 (Score:1) Thursday March 01 2007, @10:35AM
        • Re:Weird... by troc (Score:3) Thursday March 01 2007, @10:52AM
          • Re:Weird... by Fyre2012 (Score:1) Thursday March 01 2007, @10:22PM
          • Re:Weird... (Score:4, Insightful)

            by Afecks (899057) on Thursday March 01 2007, @12:32PM (#18196098)
            The ENTIRE OS works perfectly. Everything.

            This was modded insightful? This is the "perfect" example of fanboy behavior. One zealot makes a broad sweeping claim that nobody in their right mind would dare to make and then another comes along and mods him insightful. Only a self-delusional fool would think perfection is attainable and there is nothing insightful about deluding yourself.
            [ Parent ]
            • Re:Weird... by Anonymous Coward (Score:1) Thursday March 01 2007, @01:19PM
            • Re:Weird... by Afecks (Score:1) Thursday March 01 2007, @02:50PM
              • 1 reply beneath your current threshold.
            • 1 reply beneath your current threshold.
          • Re:Weird... by stewbacca (Score:1) Thursday March 01 2007, @12:51PM
            • Re:Weird... by Moofie (Score:1) Thursday March 01 2007, @01:13PM
            • Re:Weird... by drsmithy (Score:2) Thursday March 01 2007, @11:27PM
              • Re:Weird... by stewbacca (Score:1) Friday March 02 2007, @05:51PM
                • Re:Weird... by drsmithy (Score:2) Friday March 02 2007, @10:03PM
                  • Re:Weird... by stewbacca (Score:1) Saturday March 03 2007, @06:16AM
                    • Re:Weird... by drsmithy (Score:2) Saturday March 03 2007, @07:02AM
                      • Re:Weird... by stewbacca (Score:1) Saturday March 03 2007, @07:18AM
                        • Re:Weird... by drsmithy (Score:2) Sunday March 04 2007, @03:55AM
                        • Re:Weird... by stewbacca (Score:1) Sunday March 04 2007, @05:39AM
              • Re:Weird... by stewbacca (Score:1) Friday March 02 2007, @05:54PM
          • Re:Weird... by JavaLord (Score:2) Thursday March 01 2007, @12:57PM
            • Re:Weird... by blugu64 (Score:2) Thursday March 01 2007, @01:48PM
            • Re:Weird... by stewbacca (Score:1) Thursday March 01 2007, @02:38PM
              • 1 reply beneath your current threshold.
            • 1 reply beneath your current threshold.
          • Re:Weird... by Overly Critical Guy (Score:2) Thursday March 01 2007, @01:38PM
            • Re:Weird... by stewbacca (Score:1) Thursday March 01 2007, @02:33PM
              • Re:Weird... by Overly Critical Guy (Score:2) Thursday March 01 2007, @04:57PM
                • Re:Weird... by loquacious d (Score:2) Thursday March 01 2007, @07:46PM
            • Re:Weird... by drsmithy (Score:2) Thursday March 01 2007, @11:36PM
          • 1 reply beneath your current threshold.
        • Re:Weird... by NotWorkSafe (Score:1) Thursday March 01 2007, @11:11AM
    • Problems with slashdot and safari by justinbach (Score:1) Thursday March 01 2007, @10:37AM
    • Re:Weird... by moosesocks (Score:3) Thursday March 01 2007, @11:36AM
      • Re:Weird... by valkraider (Score:2) Thursday March 01 2007, @01:52PM
    • Re:Weird... by suv4x4 (Score:3) Thursday March 01 2007, @12:42PM
      • Re:Weird... by alphamugwump (Score:1) Thursday March 01 2007, @04:27PM
        • Re:Weird... by suv4x4 (Score:2) Thursday March 01 2007, @08:51PM
    • Re:Weird... by TeamSPAM (Score:2) Thursday March 01 2007, @04:02PM
    • Re:Weird... by macron1 (Score:1) Thursday March 01 2007, @04:31PM
    • Re:Weird... by t_c_gull (Score:1) Thursday March 01 2007, @05:07PM
  • Known Annoyance (Score:4, Informative)

    by Anonymous Coward on Thursday March 01 2007, @10:01AM (#18194068)
    I have both the nightly and the original Safari version installed. The latter leaks ram like crazy which tends to slow things down. You would think they would have fixed this ages ago. But they haven't. Try closing Safari periodically.

    Another observation I have is that 1GB of ram is really only marginally adequate on my 2.16Ghz Macbook pro. If you have safari open, iPhoto open, and god forbid, a rosetta app (e.g. Word) open - you're waiting five seconds for windows to come up as disk gets paged out. Unacceptable.

  • Running Nighlty code (Score:4, Interesting)

    by failedlogic (627314) on Thursday March 01 2007, @10:04AM (#18194120)
    Just wondering what other's experiences have been running the nightly code. I've been doing it with Firefox (and when it was Firebird for 2 years). But I've not tried with WebKit. Is it fairly stable, better rending of pages and faster?

    There are a few sites that are noticeably slower on Safari. Its one of the only reasons I'm using Firefox. That and there are a few plug-ins that are better than Saaft and company.
  • Java issues (Score:2)

    by qwertphobia (825473) on Thursday March 01 2007, @10:08AM (#18194160)
    I've noticed that Safari takes a lot of CPU on my system. It happens after I have used a specific java-based web app.

    I suppose it could be Safari's fault or Java's fault, but I would sooner suspect an issue with a stale clientserver connection or something else within the Java app.
  • by ruiner13 (527499) on Thursday March 01 2007, @10:08AM (#18194162)
    (http://www.exacttarget.com/)
    I know on my core duo laptop running XP, both firefox and IE tend to bog my system down on pages that have flash animations (using 100% of a single core for 50% overall). How is this news on a techie site that running something in the background may have an impact on other processes? Do we want to go back to the OS 8 days when programs could steal all the processor? I thought SMP was a good thing?
  • Firefox is a better browser. (Score:2, Interesting)

    by zerofoo (262795) on Thursday March 01 2007, @10:08AM (#18194166)
    As a recent Mac convert, i'll be the first to admit that Firefox is a better browser for both Mac and PC.

    Safari incorrectly renders lots of sites. Firefox seems to be better about most sites.

    And....it's free.

    -ted
  • by palad1 (571416) on Thursday March 01 2007, @10:10AM (#18194182)
    Dave Hyatt actually makes it clear that safari doesn't slow the machine as much as speed up javascript / flash...
  • I concur (Score:3, Informative)

    by rattler14 (459782) on Thursday March 01 2007, @10:11AM (#18194190)
    I love safari and gladly use it over any other browser. However, since 10.4.5+, I have noticed that (as a whole) there appears to be an inability of OS X to free RAM up as efficiently as it used to. Programs like Safari, after many hours of usage, will remain as a HUGE RAM/virtual memory sink. I constantly quit Safari to try and alleviate/fix this.

    But what seems to happen is that the process "kernal task" keeps eating up more and more ram even after Safari is shut down. After a couple days of usage, I feel the need for a restart just to flush out this annoyance.

    Sure, in the grand scheme of things, It's only a minor annoyance, but it is definitely noticeable and something I hope is dealt with when 10.5 comes out.

    • Re:I concur (Score:4, Funny)

      by loafing_oaf (1054200) on Thursday March 01 2007, @10:19AM (#18194302)

      Just switch to Firefox. I'm using it right now on Windows XP, and I haven't noticed any problems with memory le*$@!!- NO CARRIER

      [ Parent ]
      • Re:I concur by tlhIngan (Score:2) Thursday March 01 2007, @11:41AM
        • Re:I concur by alanoneil (Score:1) Thursday March 01 2007, @08:11PM
        • Re:I concur by limecat4eva (Score:1) Thursday March 01 2007, @08:57PM
    • Re:I concur by StressedEd (Score:3) Thursday March 01 2007, @10:30AM
      • Re:I concur by Bastian (Score:2) Thursday March 01 2007, @11:00AM
        • Re:I concur by Guy Harris (Score:3) Thursday March 01 2007, @01:35PM
          • Re:I concur by StressedEd (Score:2) Friday March 02 2007, @04:36AM
            • Re:I concur by Guy Harris (Score:2) Friday March 02 2007, @05:52AM
              • Re:I concur by StressedEd (Score:2) Friday March 02 2007, @06:22AM
    • Re:I concur by _|()|\| (Score:3) Thursday March 01 2007, @10:39AM
      • Re:I concur by ceoyoyo (Score:2) Thursday March 01 2007, @12:22PM
        • Re:I concur by _|()|\| (Score:1) Thursday March 01 2007, @12:50PM
    • Re:I concur by Saeed al-Sahaf (Score:3) Thursday March 01 2007, @11:04AM
    • Re:I concur by ceoyoyo (Score:2) Thursday March 01 2007, @12:18PM
    • Re:I concur by hackstraw (Score:2) Thursday March 01 2007, @12:39PM
  • by Timesprout (579035) on Thursday March 01 2007, @10:11AM (#18194198)
    Going on Safari is supposed to be a chill out vacation isn't it. And because nature is so balanced, life speeds up for all the wildlife who have to run like fuck when they see you approach with your high powered rifle.
    • 1 reply beneath your current threshold.
  • Safari or Firefox? (Score:2)

    by boxlight (928484) on Thursday March 01 2007, @10:13AM (#18194222)
    Since I upgraded to 10.4.8, Safari crashes on me about once a week. Forum advice was to run "repair permissions", I did but it didn't help.

    I use Safari because I want that whole "Apple" experience, and I also like the bookmark manager. But there have been a few times when web pages didn't work quite correctly in Safari, so I had to run Firefox anyway.

    I've been thinking about formally switching to Firefox, seems like it would be less trouble, but I'd hate to have to do that somehow.

    boxlight
  • But I wonder (Score:3, Funny)

    by raynet11 (844558) on Thursday March 01 2007, @10:14AM (#18194242)
    If a train leaves Boston with an I-MAC running Safari doing 40MPH heading west and a 2nd train leaves Chicago doing 60MPH heading East with an mini MAC running Safari and Quake 4. How many I-PODS will be sold funding more "Hi I'm a MAC" comercials before: a. My Karma can be kicked down another notch b. The code will be fixed ? c. This post will be changed to flame bait d. This post is silly and you can't believe your still reading it?
  • by John Jorsett (171560) on Thursday March 01 2007, @10:17AM (#18194268)
    I have that one on a laminated pocket card they issued me the first day of Programming School.
  • The S60 webkit [nokia.com] is a port of Webkit to the Series 60 3rd edition platform. Nokia has created a memory manager for this port that can make the webkit works with low memory. If only I can have the low memory footprint browser in my Mac.
  • proof (Score:2)

    by pato101 (851725) on Thursday March 01 2007, @10:22AM (#18194340)
    (Last Journal: Tuesday June 27 2006, @03:46AM)
    Using safari slows down any system:
    1) You use Safari
    2) You state Safari slows down your system
    3) You post it
    3) Gets posted in Slashdot
    4) You get slashdotted
    5) The holding system slows down
    The funny thing is that Safari may slow down other system than yours as well.
    • 1 reply beneath your current threshold.
  • by mozumder (178398) on Thursday March 01 2007, @10:37AM (#18194502)
    Since they use the webkit as well.
  • wasn't the slowdown natural?? (Score:3, Interesting)

    by towsonu2003 (928663) on Thursday March 01 2007, @11:09AM (#18194920)
    I've been using Firefox in Linux so long, I got used to Firefox slowing down every inch of my laptop when I go to sites that use transparent PNGs or javascript (digg and sourceforge are a major slow-downers for instance - I don't go there anymore... and I can't comfortably use slashdot's new commenting system)*

    So when I read this item, I told myself "oh, so... what I'm experiencing isn't normal. it can be news in slashdot... wow." Firefox has different effects on different people I guess...


    * Using a clean profile + a nightly build doesn't help. Submitted bug reports do not get any interest from devels except tagging it with "perf" (I know, they're busy, but look - it's news on slashdot when it's Safari on Mac).


    bugs in question? so far, I was lazy enough to file just these: 366728; 368365; 368908; 369044; 369682; 370697


    pls don't reply w/ "worksforme". I spent considerable time trying to not reproduce the slow down effects, as you might guess...

  • memory leaks (Score:1)

    by johnm1019 (1070174) on Thursday March 01 2007, @11:25AM (#18195148)
    (http://www.motorcityaudi.com/)
    safari has always been horrid when it comes to leaking memory. This isn't a new phenomenon. Anyone who leaves safari open in the dock when they are done browsing is a fool.
  • Every time I've setup a Mac, I've used Safari exactly once, to download Firefox.
  • To MY Mind... (Score:2)

    by Nom du Keyboard (633989) on Thursday March 01 2007, @11:40AM (#18195380)
    To my mind, a more important measure of speed is how a browser affects the overall speed of your system.

    Well that may be to your mind. To my mind, that's nothing more than your entire rational for writing this article. For most people, when they're browsing they're not doing anything else at the time except perhaps checking for e-mail, so that the performance hit on any other applications is non-consequential.

  • Hard to take this guy seriously... (Score:2, Insightful)

    by sofla (969715) on Thursday March 01 2007, @11:57AM (#18195598)
    <p>From the article:</p>

    <quote>
    The only thing different was that I had been surfing the web a bit while the render was going on that day, where the day before I had not. "Surely surfing the web on a mulit-processor machine shouldn't add 15 minutes to a render", I thought. Well, yes it does actually, if you're using Safari.
    </quote>

    <p>Put another way: "Surely letting the computer ONLY do my render won't be any faster than letting the computer render AND surf the web". Surely you jest? Doing a standalone render vs. doing (anything else) while rendering should make your render take longer. If it doesn't, file a bug with Adobe and ask them why they aren't utilizing the hardware properly.</p>

  • by Rufty (37223) on Thursday March 01 2007, @12:14PM (#18195848)
    (http://wbh.org/)
    I use FireFox for web development. I use Safari for general surfing. I very rarely quit out (just close the MacBook's lid...)
    After a week of uptime, and a week of use of Safari, it had got reeeaaaaaaallllllllllyyyyyyyyyyyyyyyy slowwwwwwwwwwwwwwww.
    So I quit it. 17 MINUTES of thrashing like a dead whale later, it finally died. 17 minutes to quit on a 1.83GHz Core Duo with 2GB of memory. Wow. I mean really. Wow. That. App. Leaks!!! (Safari has saft installed, and RSS disabled. This box was also running mail.app, terminal, SOHOnotes, gvim and iTunes. I checked!)
  • I get it... (Score:2, Funny)

    by petermartin (999539) on Thursday March 01 2007, @12:24PM (#18195990)
    Safari slows down other programs so that it can look faster in comparison. So that's the secret of their success!
  • I'm reading people complain about 200 mb memory leaks. My Safari usually eats up 800, 900 megabytes of RAM even after just starting up. I'm running SALR but still.

    Is it normal that at startup my powerbook has over a gig of virtual memory?
    • 1 reply beneath your current threshold.
  • by ubrgeek (679399) on Thursday March 01 2007, @12:48PM (#18196318)
    (http://savewizwar.com/)
    what slowed down the system was walking Windows users through OS X *grin* (Please don't have me killed ... It's a joke :))
  • by TestNav (703388) on Thursday March 01 2007, @12:51PM (#18196352)

    For me, it's the memory issue. I tend to run Safari for days without restarting, and while I cannot confirm that there are memory leaks, I can tell you that it eventually consumes any memory that it can find. Closing all open windows has little or no effect (I did not trying clearing the cache on the odd chance that it might be affecting the situation). If I restart Safari, the memory footprint shrinks back to "normal" (whatever that is), and the entire performance of my system improves.

    When I get an overall slowdown, top shows lots of pageouts. I'm guessing the disk hits are what is actually killing much of the performance.

    Occasionally, I go to a page that sucks the CPUs dry, but that's the exception. Memory seems more of the culprit...

  • Hmm (Score:5, Insightful)

    by bill_kress (99356) on Thursday March 01 2007, @12:58PM (#18196438)
    I'm not an apple fanboy yet, but I'm really impressed with the immediate response of the Safari development team. Imagine if IE was slowing down some other program--the last group you'd expect to hear from would be the IE dev team--so far outside the realm of possibility as to be laughable.
    • 1 reply beneath your current threshold.
  • by CmdrPorno (115048) on Thursday March 01 2007, @01:41PM (#18197028)
    I've seen similar issues with Safari's memory footprint. After a while it needs to be restarted. Also, I've started manually emptying the cache at least every month, as my system once slowed to a crawl when Safari's cache got to be about 1.5 GB. Apparently, there is no way to limit the size of the cache.

    I still use Safari over Firefox or Camino as the page rendering and scrolling are much smoother on Safari. I've tried changing the scrolling settings on FF and Camino, but the scroll acceleration on Safari seems to be more refined.
  • by gig (78408) on Thursday March 01 2007, @02:35PM (#18197876)
    > While the speed with which a browser renders a Web page is an important measure, the difference between browsers is usually a matter
    > of a few seconds at most.

    That is a few seconds for every page. Here is a casual suggestion to lose a minute of your life for every 20 Web sites you visit, so that you can make background tasks go faster.
  • Safari is not one browser (Score:2, Interesting)

    by hudsucker (676767) on Thursday March 01 2007, @07:28PM (#18201508)
    What is not always realized is that there are two Safari versions.

    Safari 1.x runs on OS X 10.3 and earlier.

    Safari 2.x runs requires OS X 10.4.

    All the performance fixes go into Safari 2.x only. The only fixes for Safari 1.x are for security problems.

    I'm running OS X 10.3, and I have noticed that Safari has severe severe performance problems. I think it is caused by Flash applets, which bring it to its knees. Websites with flash applets frequently will cause 100% cpu usage. And trying to use flash based video players often can't keep up, because it is demanding more than 100% cpu.

    So now that there are so many flash ads, exploring the web is a painful experience.

      * * *

    OK, I know this is futile, but I'll try to head off the obligatory responses:

    Q. Do you really expect Apple to enhance Safari for older operating systems?
    A. I don't expect them to. But I wish they would fix the performance problems.

    Q. If Flash ads are the problem, why don't you block them?
    A. The ads pay for the web sites.

    Q. Why don't you upgrade to OS X 10.4?
    A. Because that would break certain other software needed for work.

    Q. Why don't you use another browser?
    A. I do.

    Q. Why don't you just get a get a new, faster computer?
    A. Because I keep expecting Apple to release a new model, in between a Mac mini and a Mac Pro.
  • I agree with a lot of the comments here. The GUI design of Safari is good; however, the low level functioning needs an overhaul.

    I also find the persistent "memory leak" problem referred to by others. In addition, when an page is slow to load - and the "beachball" is going - I often cannot cancel the page load by clicking the "X" button; the application will not respond.
  • 8 replies beneath your current threshold.