Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
OS X Operating Systems Businesses Apple

Using Safari Slows Your System? 242

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.

Using Safari Slows Your System?

Comments Filter:
  • Weird... (Score:5, Informative)

    by avalys ( 221114 ) on Thursday March 01, 2007 @11: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...

  • Known Annoyance (Score:4, Informative)

    by Anonymous Coward on Thursday March 01, 2007 @11: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.

  • I concur (Score:3, Informative)

    by rattler14 ( 459782 ) on Thursday March 01, 2007 @11: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.

  • by sxtxixtxcxh ( 757736 ) on Thursday March 01, 2007 @11:14AM (#18194238) Homepage Journal
    i've been a fan of NightShift [mac.com] for downloading the latest safari/webkit nightly builds. it leaves your current install alone, while giving you the ability to test the latest webkit. unfortunately, the current build doesn't like my safari plugins, though i'm not sure which one. pith helmet, saft, or safari stand.
  • by yohanes ( 644299 ) on Thursday March 01, 2007 @11:18AM (#18194296) Homepage Journal
    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.
  • Re:Weird... (Score:4, Informative)

    by peragrin ( 659227 ) on Thursday March 01, 2007 @11: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.

  • by goombah99 ( 560566 ) on Thursday March 01, 2007 @11: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.

  • by ArsonSmith ( 13997 ) on Thursday March 01, 2007 @11:30AM (#18194424) Journal
    I have found Safari to be almost completely unusable. Sites like http://kbb.com/ [kbb.com] wont let you look up certain car values. some web controlled APC power strips we have wont even display the first page, and http://www.az501st.com/ [az501st.com] most of the menu's don't work.
  • Re:Weird... (Score:3, Informative)

    by troc ( 3606 ) <troc@ma[ ]om ['c.c' in gap]> on Thursday March 01, 2007 @11:52AM (#18194698) Homepage Journal

    Oh how i wish Safari had tabs

    Er, it does. Switch them on from the menubar.

  • by Anonymous Coward on Thursday March 01, 2007 @11:57AM (#18194756)
    "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. "

    That seems to be the advice given for everything by some people. I'm not sure why anyone should think it would help in this case or many others.

    I suppose you could try reinstalling the application after getting it off the install disc with Pacifist:

    http://www.charlessoft.com/ [charlessoft.com]

    before doing that you might also try removing Safari's preference file: com.apple.Safari.plist from the "Preferences" directory in your Home library, so that a new one is generated, in case there's a corruption in that causing problems. All this, again, is unspecific advice, but at least it's not Voodoo.

    You might also like to try the Camino browser. That also uses Mozilla's Gecko engine, but has far better integration with the platform. It also uses a Safari-style bookmark manager:

    http://www.caminobrowser.org/ [caminobrowser.org]

  • by Paulrothrock ( 685079 ) on Thursday March 01, 2007 @12:03PM (#18194844) Homepage Journal

    I've yet to find a solution for the keychain password storage, but there's a plugin from Google called Google Browser Sync that I use to keep Firefox on my Powerbook and the mobile Firefox on my flash drive synchronized.

  • by Serious Callers Only ( 1022605 ) on Thursday March 01, 2007 @12:15PM (#18195010)

    I have found Safari to be almost completely unusable.


    http://kbb.com/ [kbb.com] - Failed validation, 67 errors
    http://www.az501st.com/ [az501st.com] - Failed validation, 207 errors

    You're blaming the wrong people; try complaining to the people who made the broken websites and didn't test or at least validate them.
  • by Anonymous Coward on Thursday March 01, 2007 @12:18PM (#18195058)
    Camino seems to hold up best on my little ibook. Both Firefox and Safari crash when they hit big blocks of javascript, which are everywhere these days. It also is more Mac-like than Firefox; uses Cocoa for the UI.
  • Re:Weird... (Score:3, Informative)

    by moosesocks ( 264553 ) on Thursday March 01, 2007 @12:36PM (#18195312) Homepage
    Hmm. I've had the same experience actually.

    Give Camino [caminobrowser.org] a try. It's a nice mix between Firefox and Safari.
  • by bberens ( 965711 ) on Thursday March 01, 2007 @12:52PM (#18195548)
    In my experience Photoshop will chew through my 1GB of RAM quite easily. It does have a pretty advanced disk caching mechanism so usually it will perform about the same with less memory, but still. Like running a database it will consume as much memory as you let it for maximum performance.
  • by SuperMog2002 ( 702837 ) on Thursday March 01, 2007 @01:21PM (#18195944)
    Opera for Windows and Mac has been free as in beer for quite some time now. Go download it from Opera.com, it's pretty good.
  • Re:Weird... (Score:3, Informative)

    by suv4x4 ( 956391 ) on Thursday March 01, 2007 @01:42PM (#18196248)
    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...

    Same experience on Windows. I have lots of RAM, so let's say I don't care it wants to eat 100-200 MB ram for a few tabs. But I can't help the CPU problem. Not only it slows everything down terribly when loading pages (I frequently launch task manager to see what process eats my CPU and usually Firefox is that process), but it's still slow and unresponsive.

    Many Firefox users will think I'm just imagining or having system specific issue, but it's the same experience on any system I tried so far: people, you've forgotten what a fast browser means. Safari/IE/Opera are all few *times* faster than a bare bones firefox install.

    I'm still using Firefox though.. FireBug/WebDev Toolbar have no viable alternatives on the other browsers :( /I know about IE webdev toolbar and it's cool, but come on../.
  • Re:I concur (Score:3, Informative)

    by Guy Harris ( 3803 ) <guy@alum.mit.edu> on Thursday March 01, 2007 @02:35PM (#18196958)

    The short and simple answer is: Kernel_task is the kernel.

    And a more correct answer is "kernel_task is the Mach task to which all kernel threads belong".

    Each user-mode process has a Mach task corresponding to it; each pthread in that task has a Mach thread corresponding to it. Those threads can be executing kernel code if they're in the middle of a system call, so not everything done by the kernel is done in a kernel_task thread.

    The kernel has threads of its own, not started within a user-mode process's task; those threads run in the kernel task.

So you think that money is the root of all evil. Have you ever asked what is the root of money? -- Ayn Rand

Working...