Slashdot Log In
Using Safari Slows Your System?
Posted by
kdawson
on Thu Mar 01, 2007 09:52 AM
from the need-for-speed dept.
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.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
OMG (Score:3, Insightful)
it's the memory stupid (Score:5, Informative)
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:it's the memory stupid (Score:4, Insightful)
Parent
Re:it's the memory stupid (Score:4, Informative)
Parent
Re:WTF (Score:4, Insightful)
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
my test case (Score:5, Funny)
Bloomin' OS X copycats (Score:4, Funny)
Re: (Score:3, Funny)
No, Apple has had this technology for years and Microsoft just copied it, as usual.
Re: (Score:3, Funny)
Re: (Score:3, Funny)
Weird... (Score:5, Informative)
Re:Weird... (Score:4, Informative)
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: (Score:3, Insightful)
While that's a nice little bundle of syllables, it isn't true. RAM isn't like cellphone minutes. Here's some more nice sounding syllable collections (with editorial commentary), but they aren't true either:
Unused harddrive space is wasted harddrive space, so start ripping!
Unused bandwidth is wasted bandwidth, so make sure you're constantly downloading.
Unused car seats are wasted car seats, so never drive a sedan without four passengers!
Unused sleeping pills are wasted sleeping pills
Re: (Score:2, Redundant)
Re: (Score:3, Informative)
Er, it does. Switch them on from the menubar.
Re:Weird... (Score:4, Insightful)
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: (Score:3, Informative)
Give Camino [caminobrowser.org] a try. It's a nice mix between Firefox and Safari.
Re: (Score:3, Informative)
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 a
Known Annoyance (Score:4, Informative)
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.
Re: (Score:2, Insightful)
Re: (Score:2)
Running Nighlty code (Score:4, Interesting)
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.
Re: (Score:3, Informative)
Re:Running Nighlty code (Score:5, Informative)
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.
Parent
Re: (Score:3, Insightful)
Re: (Score:3, Insightful)
Java issues (Score:2)
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.
Depends on content of page? (Score:2)
Firefox is a better browser. (Score:2, Interesting)
Safari incorrectly renders lots of sites. Firefox seems to be better about most sites.
And....it's free.
-ted
Re: (Score:3, Insightful)
Not only that, but the number of plugins available for Firefox make it really worth it. Adblock and Greasemonkey and Web Developer and Firebug give me functionality that's simply not available with Safari or WebKit.
Re:Firefox is a better browser. (Score:4, Informative)
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.
Parent
Re:Firefox is a better browser. (Score:4, Informative)
Parent
Err, can't have it both ways (Score:2)
I concur (Score:3, Informative)
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)
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: (Score:3, Interesting)
Can anyone give a concise explanation of what "kernel_task" actually is? I have seen some broad chatter and an overview [bleepsoft.com], but nothing significant. I too notice it going banannas from time to time. Then again I use MATLAB and various other memory eaters quite a lot...
Re: (Score:3, Informative)
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
Re: (Score:3, Insightful)
Memory is a real problem on OS X, especially with Apple programs. After Safari and Mail have been open for a while (say, a day or two), they get sluggish. Measuring memory is tricky, but Safari is almost always one of the first two or three processes in top sorted by rsize or vsize. (Is it bad if vsize for a single application exceeds the total RAM?)
I suspect that some programs have been conservative in their use of autorelease pools, causing garbage to lie around longer than necessary. I ran across t [mikeash.com]
Re: (Score:3, Funny)
They must be using code from Firefox...
(ducks)
Of course it slows your system (Score:2, Funny)
Safari or Firefox? (Score:2)
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
Re: (Score:3, Informative)
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
Re: (Score:3, Interesting)
It didn't help because the people who gave you that advice are imbeciles who believe in voodoo. [daringfireball.net] It was able to help with occasional problems caused by Classic and bad installers circa OS X 10.1, but there are hardly any circumstances where it will make any difference to anything on more recent versions, as explained here. [unsanity.org]
But I wonder (Score:3, Funny)
Re: (Score:2)
That got a chuckle out of me, though I'll be darned if I know why.
"We've already fixed that in the next version" (Score:2)
Nokia have solved this ..... (S60 Webkit) (Score:2, Informative)
proof (Score:2)
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.
wasn't the slowdown natural?? (Score:3, Interesting)
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...
Hmm (Score:5, Insightful)