



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.
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.
Re:it's the memory stupid (Score:4, Insightful)
Re:it's the memory stupid (Score:4, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2, Funny)
Re: (Score:2)
Re:it's the memory stupid-Simple Trade (Score:2)
So it's a simple speed-for-memory tradeoff. The same sort of thing programmers have been making since the dawn of computing.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
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.
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:2, Funny)
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.
cache vs. leak (Score:2)
Re: (Score:2)
The GP is correct, Safari has a memory leak.
Re: (Score:2)
quote (Score:2)
Prepare to die.
Re: (Score:2)
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: (Score:2)
I think the latest version of IE does this, and didn't some old versions of firefox do that? I do agree it's silly, since tabbed browsing is awesome.
On the other hand, it is perfectly consistent with Apple's simplicity first mantra. But still... It took Apple 10 years to add right click functionality to the OS
I'm pretty sure OS X has always had right click functionality, that is if you install a two b
Re: (Score:2)
MacOS supported multi-button mice back in the 90s.
Multi-button mice are, what, 10 bucks at Wal-mart? You're not stuck with a one-button mouse if you don't want it.
Right-click menus are a complete interfac
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.
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
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I disabled Pithhelmet, and tried Saft which works with
It seems that we need
Re: (Score:2)
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.
Re: (Score:2)
Re: (Score:2)
It's gotten much better lately, probably because of the rise of Firefox and the cleanup of IE.
Re: (Score:3, Insightful)
Re: (Score:3, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Some nightlies will have crash or freeze ("beachball") bugs, but the one I'm currently using is rock-stable. Hasn't crashed yet, and I've had it running constantly for 2-3 weeks. The last time I did have a buggy version of Webkit, I just logged onto the #webkit IRC channel and one of the developers suggested a different build (which was just the ticket).
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.
Plugins? (Re:Java issues) (Score:2)
Depends on content of page? (Score:2)
Re: (Score:2, Interesting)
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: (Score:2, Interesting)
All that Firefox lacks is password storage in the keychain and bookmark sync across multiple machines.
Between the two, it doesn't matter where I am, Safari has the same stuff in it.
Which is handy 'cause my stupid G4 iBook has a thermal fault somewhere around the NVRAM and I really should call the repair centre and see how they're getting along.
It's not like the G3 iBook had 6 bad main logic boards put in it....
(And yet I still can't stand to use Windows as a primary OS. Maybe I'll get one of those
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.
Re: (Score:2)
--Ng
Re: (Score:2)
Are you sure that's Safari's fault, and not the site's fault? I've seen a lot more mangled websites than browser bugs (yes, even counting IE)...
Re: (Score:2)
Well, IE.
If I wanted to backport security patches for Grandma's Win98 box, I'm SOL.
Re: (Score:2)
Opera has been free (of charge) for quite a while now.
Re:Firefox is a better browser. (Score:4, Informative)
Re: (Score:2)
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
Re: (Score:2)
Firefox on OS X is nice. Except it doesn't support middle-click for opening/closing new tabs, for whatever reason. Which is kinda stupid if you use multibutton mice (yes, they work) on OS X. For single button usage, CMD-Click works, but it's a poor substitute since CMD-Click on a tab doesn't close it like middle click does.
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:2)
The short and simple answer is: Kernel_task is the kernel.
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:2)
Re: (Score:3, Funny)
They must be using code from Firefox...
(ducks)
Re: (Score:2)
Re: (Score:2)
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.
In general, I find 10.4 to be a minor annoyance. I consider it growing pains. 10.4 added TONS of new stuff, but this new stuff is, well, ne
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:2)
Re: (Score:2)
While I agree that this is less mac like behavior I prefer it. I like to think of tabs as windows. I guess if you use individual windows to group together similar tabs and that is part of your web browsing habits that might be different.
I often found myself closing tabs I didn't want to close in safari. It doesn't happen as often in firefox.
Still, not very mac like I will freely admit.
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:2)
Another
I'll just have to make sure not to hit the back button after posting this.
Re: (Score:2)
Re: (Score:2)
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.
Re: (Score:2)
Re: (Score:2)
"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.
Also, Dashboard widgets would slow things down (Score:2)
Re: (Score:2)
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...
To MY Mind... (Score:2)
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)
<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 yo
I get it... (Score:2, Funny)
How much of a leak? (Score:2)
Is it normal that at startup my powerbook has over a gig of virtual memory?
Hmm (Score:5, Insightful)