Slashdot Log In
10 Things Apple Did To Make Mac OS X Faster
Posted by
CowboyNeal
on Sat Mar 25, 2006 09:14 AM
from the road-to-betterment dept.
from the road-to-betterment dept.
bariswheel writes "This kernelthread article seeks to investigate further to the inner core of OS X and the improvements therein. The subtopics are the following: BootCache, Kernel Extensions Cache, Hot File Clustering, Working Set Detection, On-the-fly Defragmentation, Prebinding, Helping Developers Create Code Faster, Helping Developers Create Faster Code, Journaling in HFS Plus, and Instant-on."
This discussion has been archived.
No new comments can be posted.
10 Things Apple Did To Make Mac OS X Faster
|
Log In/Create an Account
| Top
| 375 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
I love OS X (Score:5, Interesting)
(http://www.soonersports.com/ | Last Journal: Thursday March 13 2003, @03:39PM)
Damn ADC interface.. what am i to do with this big ass cinema display?!?!!?
Re:I love OS X (Score:5, Funny)
Re:I love OS X (Score:5, Insightful)
(http://esler.is-a-geek.net/ | Last Journal: Monday February 09 2004, @10:13AM)
Re:I love OS X (Score:4, Funny)
(http://www.ultimatemk.com/)
Re:I love OS X (Score:4, Insightful)
(http://lunarworks.ca/)
It came off my machine after a month, and I went back to Win98 SE.
Yes, it WAS that bad.
Re:I love OS X (Score:4, Interesting)
(http://central.miniinfo.net:8081/~drakino | Last Journal: Friday December 27 2002, @12:34AM)
Yep, comes in handy when the OS can't handle a day or two of uptime. Windows 2000 was so much more stable, and didn't take all that long to boot. Longer then ME, yes, but I bet you wasted more time watching the boot screen then 2000 users did.
"2. disk scan ran inside windows and was a million times faster"
Except that ME wasn't smart enough to multitask when scanning a disk. So that frequent bootup disk scan you saw was always interrupted several times when it tried to start, and if some bootup process accessed the disk say every minute or two, it would never finish. I think the majority of ME users just cancelled that any time it popped up. Of course those of us who skipped ME and went from 98 to 2000 started enjoying journaled filesystems and had no need for the disk scan to run inside windows.
"3. native
Zip support that is horribly implemented. Lets walk you through a multipart wizard to extract this file, or present it as an explorer window that lets you run things directly out of, but causes most programs to freak out when you try this. I still don't use the built in Zip support on XP even though it has been slightly improved. Running things inside a Zip directly is as bad as compressing the hard drive for more space.
ME sucked. It was simply a quick release from Microsoft for the consumer market to get something new out, since all the "consumer friendly" features didn't make it into NT 5, err, I mean Windows 2000. For MS to go completly backwards and ship another archaic 16/32 bit mess of DOS based code after Windows 2000 was just silly. I feel pitty on anyone who actually paid for a copy of ME.
Linux (Score:5, Interesting)
(http://www.pobox.com/~meta/ | Last Journal: Sunday February 29 2004, @09:19AM)
Kernel 2.4 to 2.6 was a pretty big jump in speed. I just upgraded to the latest KDE and a bunch of other updates, and got another performance jump. Once they shake the bugs out of the Radeon drivers for X.org, I'll get accelerated X, and another big speed boost.
In fact, of the major OSs, it's pretty much only Windows that keeps getting slower.
Re:Linux (Score:5, Informative)
(http://mclaincausey.com/)
OTOH the inter-version speed boosts in OS X have been due to more subtle tweakage, except perhaps for speed boosts related to launchd, and have been more incremental in nature than the anomalous 2.4-2.6 improvement.
I guess my point is that the 2.4-2.6 improvement is more of a leap than it is a trend, where OS X's improvements have been less revolutionary and more evolutionary. I hope Linux continues to improve in performance, but it's very possibly going to suffer from bloat down the road that could offset some performance improvements. It's unrealistic to expect the performance improvements to continue along the lines of 2.4-2.6, in any case. OS X is still lagging in performance, so it's even more imperative that it continue its trend. Hopefully the researchers at Apple will soon find a revolutionary improvement on the order of the 2.6 scheduler to catch up a bit.
Re:I love OS X (Score:5, Informative)
(http://vftp.net/ | Last Journal: Saturday December 09 2006, @09:52PM)
As you may or may not be aware, the ADC connection provides a DVI signal, USB port, AND power. The display has no power pack, and gets its juice from the computer. If you have only a DVI port, you will require a rather large adapter. It's not so much an adapter as it is a "power injector" that injects power into the cable whilst converting it from DVI+USB to ADC. This takes the form of what looks like a very large white power brick from a powerbook.
They are unfortunately rather expensive. ($150?) You can get them from Apple, or from Dr Bott.
The other answer is of course to find a graphics artist or developer that does not already have a second display, and sell it to them. Odds are very hight that if you bring the display over and let them "test drive" it for even five minutes they'll buy it immediately.
Re:I love OS X (Score:5, Informative)
Dupe several years later? (Score:5, Informative)
(http://rg03.wordpress.com/)
Obvious Dupe (Score:5, Insightful)
Pointless Effects (Score:4, Insightful)
I don't need high resoution icons, drop shadows, dragging window effects, minimize effects...etc. In windows land, you can turn most of these eyecandy effects off and performance is greatly improved. You'd think that Apple would have considered this when releasing a computer with 256mb of ram on the base model (G4 mac mini). I love the computer, but it is SLOW.
Re:Pointless Effects (Score:5, Insightful)
But it's not in Apple's interest to let you turn off too much of the eye-candy. They want Mac OS to have its distinct look, and they are are in the business of trying to sell you newer hardware.
Re:Pointless Effects (Score:5, Informative)
Re:Pointless Effects (Score:5, Insightful)
(http://www.clemsontalk.com/vb/member.php?u=954 | Last Journal: Thursday September 15 2005, @06:20PM)
Hopefully, Microsoft's Aero will prove this point.
Re:Pointless Effects (Score:5, Insightful)
(http://screaming.org/)
Re:Pointless Effects (Score:4, Insightful)
(http://screaming.org/)
I'm not a SO guru, but... (Score:1, Interesting)
Panther to Tiger? (Score:5, Interesting)
I still think that Panther was running a bit faster tahn Tiger, maybe it is the widgets..........
silly widgets!
This was all done on a PowerBook G4(TiBook).
Re:Panther to Tiger? (Score:4, Interesting)
Re:Panther to Tiger? (Score:5, Informative)
(Last Journal: Wednesday October 19 2005, @10:05AM)
Both machines are still great for general desktop work and light development. I bumped the iBook to Tiger (OSX) to get Tiger (Java), and I havent really bothered to upgrade the tower because I havent had the time and its not a pressing concern for me. But given the results on the iBook, I dont expect a performance hit when I do upgrade.
Re:Panther to Tiger? (Score:4, Informative)
I still think that Panther was running a bit faster tahn Tiger, maybe it is the widgets..........
silly widgets!
No, it's spotlight. My iBook would thrash like crazy until I disabled spotlight. Of course now I can't search at all.
Apple should've made spotlight optional.
Re:Panther to Tiger? (Score:5, Informative)
Ten things they should fix (Score:5, Informative)
(http://www.macnificent.be/)
rest of my reply (Score:5, Interesting)
(Last Journal: Tuesday April 20 2004, @05:02PM)
I'm not sure I agree with all or even most of his points of contention.
In issue 1 for example he complains that each open/save dialouge starts out the exact same way and then goes on to complain further in the article that the OS isn't always consistant. It's consistant for each dialouge to remain the same size by default until the user specifies a change. Furthermore since the size of the dialouge can be set per application, that size would need to be specified by the application making having a universal override obnoxious.
In his 2nd point he's descirbes a senario which is at best extremely uncommon and then describes a process which is obnoxious and complicated when it's easier for most people to either have an automator script to open specific things they want or even better for his senario and automator script which asks where he is and then opens the appropriate applications. A simple applescript for the applications one doesn't need all the time with a prompt at the begining to ask whether to launch the remaining apps and then placing that script in the login items folder seems more useful and less annoying than check boxes to enable and disable each item that you must do before loging out the previous time.
point 3 he's correct on
point 4 he's correct on the disapearing sidebar but on the issue of double clicking the boarder, it's a rather difficult task to accomplish accidently so I am sure anyone doing it would notice the dimple before and after.
point 5 he's moving away from his consistancy argument again. With the column view you set the size of the columns and the number of columns, and if you chose to physicaly change the display you can. What he's suggesting is a display system which dynamicaly changes size to fit the content of the display which while it could be benneficial to some people seems overly complicated and a major violation of the consistancy guideline. It's concieveable to see a situation there where all of a sudden you would go from having 4 collumns displayed to having 2 or 1 because you have one file in the display such as "com.apple.Components2.LocalCache.QuickTimeCompon
point 6 he's correct on
point 7 he's got a point but at the same time, with the addition of the PDF abilities and the fact that faxing IS handled with PDFs it does make sense to put it under the PDF button. In the end I don't find it much more of an abstraction than his recomendation to make it an availible printer.
point 8 I can see a method to the madness in that if the next set of startup items require the server, it's important for you to know that the server is not availible BEFORE those apps launch and fail. There may be a better way, but I don't agree that it's a failing.
in point 9 the views update for the column view I think is a good thing. While it's not 100% consistant, in this case it would be irritating for a directory I'm working with to rename and then immediately move out of my working view until I indicate being done with the directory either by being idle or moving to a new object.
The size information I would assume is an updating routine thats scheduled rather than called.
in point 10 if he cant see a situation where a user might unknowingly or mistakenly change their file extention then he needs to think harder. The checkbox would be nice though but it's also nitpicking at this point. It's a potentialy destructive action, and a user should be reminded to think before they do it. Being able to permanently dismiss such reminders is what gives viruses and other malicious programs a better chance of succeeding.
G3 (Score:1)
Ironic? (Score:5, Funny)
I'm somewhat concerned that an optimisation geek did not order his data set.
Whats up with the ABI change? (Score:2, Interesting)
(http://w1xer.de/ | Last Journal: Saturday September 09 2006, @05:55AM)
Has this been changed? Are all the registers of the PPC being used properly now? Is the PC register actually being used as a program counter, rather than one of the generic 32-bit registers?
On-the-fly Defragmentation (Score:4, Interesting)
The HFS plus approach seems like a good idea, but I'm wondering if there is a performance cost, both in CPU cycles and drive wear and tear. It also looks to me like the system could be defragging files that are already contiguous, but I may be wrong. Given that modern journaling filesystems (supposedly) are not likely to become fragmented in the first place, is this feature worth it?
I've always loved this about Apple.... (Score:2)
journalling... (Score:2)
What is a defragmentation? ;-) (Score:1)
(http://www.flickr.com/photos/7707549@N05/ | Last Journal: Monday July 23, @09:52AM)
one big thing they may have missed.... (Score:4, Interesting)
(Last Journal: Monday June 05 2006, @05:03PM)
I know gcc itself improved a very great deal over the same time period, and I have always assumed that the speed gains were (largely? mostly?) due to that, rather than wondrous new algorithms on Apple's part.
Linux and KDE sped up a lot too, over the same timeframe.
Apple and GCC (Score:5, Informative)
Unfortunately, on the Intel side, Apple is going with the Intel compiler, probably because it's faster than GCC Intel. No OSS. But maybe Apple doesn't need to contribute to that because Intel will keep doing good work.
Undocumented Number 11 (Score:2, Informative)
Get it
Use it
Good
( P.S. Caps Lock would have been autopilot for COOL, but the lameness filter caught me
"Dave: Is Dead == Everybody" (Score:3, Funny)
Helping Developers Create Faster Code
I can think of a few other useful permutations:
Helping Create Code Developers Faster
Helping Create Faster Code Developers
Helping Code Create Developers Faster
Helping Code Create Faster Developers
Helping Faster Developers Create Code
Helping Faster Code Developers Create
Helping Faster Code Create Developers
Developers Helping Code Create Faster
Developers Helping Create Faster Code
Developers Helping Code Create Faster
Developers Helping Faster Code Create
Developers Create Helping Code Faster
Developers Create Faster Helping Code
Create Helping Code Developers Faster
Create Developers Helping Faster Code
Create Code Helping Developers Faster
Create Code Helping Faster Developers
Create Code Faster, Helping Developers
Create Faster, Helping Developers Code
Create Faster Developers, Helping Code
Create Faster Code, Helping Developers
Code Helping Developers Create Faster
Code Helping Create Developers Faster
Code Helping Create Faster Developers
Code Helping Faster Developers Create
Code Developers Helping Create Faster
Code Developers Create Faster Helping
Code-Faster Developers Helping Create
Faster-Helping Developers Create Code
Faster-Helping Code Create Developers
Faster Developers Helping Create Code
Faster Developers Helping Code Create
Faster Developers Create Helping Code
Faster Code Helping Developers Create
Faster Code Helping Create Developers
Faster Code Developers Helping Create
Choose a research topic! Lucrative grants to be won! (Topics involving procreation by/of developers expected to go quickly.)
Does this fix OSX's bad Apache & Database (Score:2)
Hot File Clustering (Score:2)
(http://www.worldwidewingtour.com/ | Last Journal: Thursday November 17 2005, @08:57PM)
Where I've found OS X to be slow (Score:2)
Amusing comment about "sleep" (Score:2)
Yes, we're fully aware that Apple systems can shut down everything execept the components necessary to refresh the DRAM.
The author of the article, apparently, has never used a PC notebook or desktop. Practically every well-behaved system made in the past 5 years, from the $150 eMachines desktops to my generic Compal notebook, supports the ACPI S3 state, which does exactly what Apple's "sleep" mode.
What's really slick about Windows is that the system can wake from S3 suspend and hibernate itself after a certain period of time. My system is set for 6 hours, which means that I don't have to wait for the system to restore during the day, but if I leave my system overnight or longer, I don't have to worry about suspend draining my battery (approx. 20% per day). I can even have different settings if the system is plugged in.
Lack of hibernate hurts (Score:2)
(http://slashdot.org/)
As to why it's needed: battery life. I can hibernate my Dell, unplug it for a business trip and it's still got the same juice a day or two later when I turn it on. When I do the same with my Powerbook G4, the battery often dies while it's asleep.
I'm hoping it's one of the things they add for 10.5.
Re:Lack of hibernate hurts (Score:5, Informative)
I don't know why people try to defend Apple on this particular design decision. There's absolutely no reason why hibernation shouldn't be included in OS X.
It could be that it's because hiberation actually does exist in Mac OS X. It's just not a well known fact. OS X 10.4's "Safe Sleep" (Google cache [72.14.203.104]) saves the active memory to disk when a Mac [laptop] goes to sleep...lest the power get interrupted. If one is so inclined, they can activate it, and even choose to use it by default. I've enabled it on my Mini, and it definitely works.
However, if you're not a Mac user, you may not appreciate how good the normal "Sleep" mode is. Unlike Windows, a Mac which has been put to sleep will resume almost immediately, and be instantly usable. My iBook can stay 'asleep' in my briefcase for ages, with very little battery consumption, and as soon as I open the lid, I am good to go. This impresses me more than words can say.
Journaling? (Score:2)
(http://www.scul.org/SCUL/Pilot/Pil_Gropo.html | Last Journal: Monday May 12 2003, @07:33PM)
And then there's the fact that I just today figured out how to prevent chronic fatal drive thrashing cycles on my sidekick iMac G3 (running Tiger): format the drive HFS non-journaled.
Re:What about OSes with GNOME? (Score:3, Funny)
You don't get out much, do you? GNOME 2.14 is supposed to be extremely fast in comparison to previous releases, which were also faster than their predecessors.
Uhhh...I'm guessing if anyone's not getting out much....well, nevermind. If you can't say something nice don't say it at all.
Re:What about OSes with GNOME? (Score:1)
(http://www.geocities...atepower_gangsta.htm)
Re:What about OSes with GNOME? (Score:3, Insightful)
(http://runefox.net/)
Re:Call me weird, but... (Score:4, Informative)