10 Things Apple Did To Make Mac OS X Faster
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."
Check this: http://developers.slashdot.org/article.pl?sid=04/0 6/03/130214
VMS is not even remotely related to Unix. See History of Unix and VMS wikipedia articles.
thisnukes4u.net
somebody made a list about ten things that don't work as well as they should (and as a mac admin I agree) : Ten More Things I Hate About Mac OS X
Um... VMS is definitely NOT "some form of *nix".
Unlike Windows, OS X is composited on the video hardware, and the effort to produce most of those visual effects is done by the GPU, hardware that would otherwise be idle. Turning them off wouldn't give you any speed gains on the CPU, from what I understand.
He who lights his taper at mine, receives light without darkening me.
OS 9 screamed in comparison to OS X. It had its problems, sure, but at the time it was the only mainstream OS that was not built on technology besides itself.
It was also the only mainstream OS that could not handle filenames more than 31 letters long, the only mainstream OS that didn't have protected memory, and the only mainstream OS that didn't have any form of preemptive multitasking.
The first of these is the most ironic. Back in 1999, Mac users were still ridiculing "Micros~1", while in fact it was their operating system, not Microsoft's, which could not handle adequately long filenames!
But it was the second and third, the lack of basic features essential for the stability of modern desktop applications, which led to it being such an unreliable system. No surprise that Apple were so keen to ditch the whole crufty thing in favour of the modern platform that became OS X. OS 9 was totally failing to salvage their rapidly declining reputation. OS X was their salvation.
So, yes, OS 9 screamed in comparison to OS X. But so did its unfortunate users... loudly and regularly.
And if you bitch about having to buy an adapter to drive your Cinema with your new Mac, they may give you a 99 dollar discount right over the phone. They did for me when I bought my Quad.
If I didn't have absolutely NOTHING to do, I wouldn't be here.
Anyone who spent any time trying to debug extension conflicts did not shed a tear for OS 9.
OS 9 seemed faster because the first iteration of OS X, which people tended to run on the same hardware, was dog slow.
I'm not wrong. You haven't thought about it hard enough.
"Even MS is originally based on VMS, so in fact, everything is based on some form of *nix."
For the short of memory...
There were a LOT of operating systems before *nix. One of the main creaters of OSses was Digital Equipment Corporation. They had an OS for each of their different computer systems (PDP-1 through PDP-20, also known as DECsystem-20). All these OSses had a different architecture, because they wer built for different purposes. However, DEC standardised the CLI on these OSses. The CLI was called DCL (Digital Command Language).
ATT (Bell Labs) were using DEC systems with when they decided to create their own OS. IIRC they used a PDP-7, and later PDP-11's running RSX-11. So, instead of everything being based on *nix, it's the other way around. All the *nixes are "inspired" by the other OSses at the time, in particular RSX-11 and DCL.
VMS (later OpenVMS) was the world's first commercial computer using a virtual memory system. That's why it's called VMS. It was meant as a successor to RSX-11, and it ran on VAX computers (Virtual Address eXtention). The chief VMS architect Dave Cutler was hired by Microsoft to help create Windows NT. Windows NT later became W2K, WXP etc.
So, also Windows is NOT based on *nix.
As far as I can tell, actually only Linux is based on *nix.
Anybody know any other OS that is based on or inspired by Unix?
I have two slower Macs, A G3 500 MHz iBook running 10.4.5 and a Blue and White G3 400 MHz running 10.3.9. The iBook is a bit faster for everyday tasks and that hasnt always been the case (the tower has a faster bus, faster graphics card, faster disk etc...). One thing you MUST do on older macs running Tiger OR Panther is upgade your RAM to a reasonable level, which usually means maxing it out. Even then I had to turn off dashboard on the iBook (I dont really use it on any of my macs anyway).
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.
OS9 supported more than 31 characters. Only the Finder was limited to 32 characters.
WebObjects URLs with a "/wo/" are session-based; in fact that " zf5gxeMdPL3E3KJeQG51ahhwsC4" stuff is the session ID so you can't go pasting them in places and expecting people to be able to use the URL. If they've got a "/wa/" then they're so-called direct action links, which are fine and can be transferred.
That's the number of the app instance - and is quite high in this case :-)
Damn ADC interface.. what am i to do with this big ass cinema display?!?!!?
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.
I work for the Department of Redundancy Department.
> In Windows land, the desktop eye-candy isn't hardware accelerated.
This is wrong. What little Windows eyecandy there is (menu fade-in etc) is accelerated on virtually every video card.
What you people are ignoring is that the basic OSX eyecandy (genie effect, etc) is 100% done on the CPU on older Macs. The advanced eyecandy (expose effect, etc) just doesn't happen on those machines.
BS. My parents ran ME and I run 2000, so I have a reasonable amount of experience with both. To summarize Win2k vs. WinME, all you need to look at is the number of times I've seen a blue screen:
Win2k: 0
WinME: Countless
People put down ME and praise 2k because I'm not alone in this experience. Sure, there's bells and whistles and things, but this alone should convince anyone.
Telltale Games: Bone, Sam and Max
Before OSX, the mac had the reputation of the machine that crashed all the time. By comparison, Windows was actually pretty reliable (this was before all the spyware/malware/crap that affects it recently, remember). Linux was best, of course...
Now you're just displaying your ignorance
newsflash:when you need to do more work because you're in a far-more-capable and complex environment, it can take more machine-instructions to perform the task. This is just griping - the world has moved on from buggy, insecure, crappy-old OS9. Move with it.
They didn't throw any babies away, they did what they needed to do (ditch the abortion that was OS9) and move onto a new platform which provided the security, flexibility, and reliability that any modern OS provides. A brave decision, under the circumstances, and one well-conceived and executed.
Simon
Physicists get Hadrons!
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.
(%i1) factor(777353);
(%o1) 777353
Keep it. All you need is an ADC to DVI Adapter
I have a 5 year old 17" and a 4 year old 20" Cinema ADC display that look just as good as the day I got them.
I'm typing this from a Dell C810 laptop running Win2K, SP4, and every freaking hot fix know to man -- and it's every bit as fast as it was when I bought it four years ago (used) from Dell.
Review this graphical history of unix.
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.
Get EasyFind from http://www.devon-technologies.com/products/freewar e/applications.php. It works without Spotlight.
First off, the PowerPC does not have a PC register.
Mac OS X never did anything with its ABI for 68k compatbility. Mac OS X's ABI differed from OS 9's ABI in that OS X did not dedicate the R2 register to TOC register. Without doing anything special this resulted in a slight slow down in relocatable code, and a slight increase in leaf function code that was register limited (less frame spills). That would have hurt on Mac OS 9 (where everything is relocatable, and in one big address space), but was not a big deal on OS 9 where all applications are located at address 0 and are non-relocatable.
Additionally, if you really care you can ignore ABI pretty blatantly so long as none of the functions are exposed, or you provide thunk entry points. You could setup R2 based entry points, maintain your R2 pointer, and then have wrapper entry points that setup R2. That results in using exactly the same code sequence as OS 9, except the code that sets up the TVector in OS 9 is now in the wrapper entry point (and I mean basically instruction identical).
Dropped. The last few revisions of PowerMacs don't have ADC ports, and the G5-styled Cinema Displays don't use ADC either. It's been that way for over a year now, I believe. Mostly, I think, because they realized there were lots of DVI monitors out there that weren't Apple that cost less and people had to buy adapters for. They figured "ah hell, it's cheaper for us to just use DVI anyway."
QUICKSILVER
:( )
Get it
Use it
Good
( P.S. Caps Lock would have been autopilot for COOL, but the lameness filter caught me
I can't argue about OSX, because I have zero experience using it. But:
:)
You can argue about the legality of using an MP3 encoder/decoder on Linux all day long, but the fact is that if you spend all of your time trying to get your system to work with the files and software you want, it's NOT productive, in any meaning of the word.
Never had a problem with it. I use xmms. But in ubuntu, it's as easy as getting DivX support in windows. Actually, with mplayer, I have observed that it comes with more codecs than windows ships with. It plays quicktime movies right out of the box. I also have heard good words about VLC but haven't found the time to give it a chance. About the legality: patents are a stupid way to make money on software. I could agree with a better patent law with a short period of applicability, but as it is today, it is just stupid. It promotes parasite tactics and discraces us computer scientists.
As I said, I'm not qualified to argue about OSX vs Ubuntu, but I am more productive in linux than windows as a computer science student myself. OSX could be better, but I'll stick with Free over shiny wherever possible, thank you very much!
Apple has been contibuting to GCC too you know. Objective C support, PowerPC optimizations, etc (scroll down to optimizations). Another advantage of OSS. The improvements on their hardware were due to their own efforts, and much more radical than the increases to x86 Linux.
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.
Lies about crimes
* SMB can't network share anything but user directory (what about mounted disk images, CD's, single folders?)
I believe you can change this with NetInfo Manager
GUI: Red "close" button has inconsistent behavior: hide (Mail)/close (Safari)/quit app (iPhoto)
The way this is supposed to work is that the Window (Cocoa Document Object) is closed, but the application stays open. Safari and Mail behave properly for me; I agree iPhoto's behavior is annoying.
If "Show Item Info" is selected for the Desktop view, the volume icons only update their free space at restart (or when Finder crashes).
This (as well as the bit about the size of all documents in a directory) has to do with the way faux-unix filesystem behavior is done in OS X; the total size of the contents of a directory cannot be determined except by traversing the directory tree and adding them up, which can take quite a bit of time. Also, getting info from multiple items works as desired for me since at least 10.2, but I know that an earlier version would open several Get Info windows.
Inconsistent installation of applications. Some are dragged to the apps folder, others have an installer. Many things added with an installer have no uninstaller anywhere, so you're stuck with them (how do I cleanly get rid of X11? and XCode? Without using the command prompt?). Also, when removing an application it is difficult to remove its traces (in the Library folder and others).
For the most part, only sucky applications use installers for precisely that reason. Some things like XCode have a legitimate need to put things in various places in /usr or /Library, but if they are well behaved they're easy to get rid of. X11 lives in /usr/X11{R6} and /etc/X11{R6}, while most of the XCode stuff lives in /Developer. The command-line tools (gcc) and the system headers (/usr/include) are harder to get rid of, and you probably shouldn't anyway.
There is no easy way to categorize applications. Everything is bundled up together in the "Applications" folder. You can add subfolders manually, but that makes updating and installing new applications more complicated.
Well, there's the Dock, and there's the distinction between /Applications, ~/Applications, and /Network/Applications, but I suppose those don't really solve your problem. I can't really say I feel for you, though, since I start every Application that doesn't reside in the Dock with open(1) -a, which saves time and brainspace.
Many cross-platform apps such as Firefox, Azureus, aMule have an extremely sluggish GUI, and are far slower than their Windows equivalents. MacMAME runs intensive games at slideshow pace, compared to full framerate on MAME on a Win2K machine. (The Mac has higher system specs than the Windows machines I'm comparing with.)With the exception of Firefox (which sucks on Mac, use OmniWeb or Camino if you don't like Safari) and aMule (which I've never used), these (and NeoOffice/J) are all Java apps, which can't compare with natively compiled code for performance. Well-coded java will run decently on OS X provided you have enough memory, but bloatware like NeoOffice/J are basically hopeless.
StuffIt expander will choke on RAR files containing Hebrew file names. Says "Invalid File Format".
Remember what I said above about sucky apps? Stuffit is one of the worst offenders. My advice is to not use them for anything but .sit files, since there's nothing else that can open them. I use unzip for zips, tar for tar files, and UnRaRX for rars.
ask any a+ student who's passed in the past couple of years, they don't cover ME. basically, don't use it. it sucks. it is not recgonized as an actual opertating system. they used to test based on win98, win98SE, win2000sp2-sp4, and winXP. inherient stability in ME is bad.
however, don't bash the system restore point utility, sure it created a backup of a lot of system files for emergency rollbacks, but i don't know of anyone who complained about it in win2000sp4 or winXP. and as for the disk recovery, you can get a copy of win2000 with the same ability, or winXP has it on all the versions (i believe).
and as for windows ME eating souls, yes it does. it likes a bit of ketchup to go along, they are kindof dry anymore.
...in OS X uses a sharper acceleration curve than on Windows. Nudge the mouse, and the pointer moves a couple of pixels. Jerk it the same distance, and it'll fly across a hi-def Cinema display. It can actually move much faster than the Windows pointer.
It's a matter of re-learning your hand-eye-mouse coordination. If the USB Overdrive behavior were the default, millions of graphic artists, and anyone who needs fine control, would cry out in anguish.
The US free market: two halves of a government-granted duopoly are free to set the market price.
Nope, OS 9 used cooperative multitasking, not pre-emptive.
or better yet, get Quicksilver http://quicksilver.blacktree.com/, and do more than just search/find. In fact, add Desktop Manager http://desktopmanager.berlios.de/ and use virtual desktops to keep your clutter clean. But what do these have to do with the thread? I find they both simplify and enhance the OS. Quicksilver is so much faster at finding files, applications, contact, music than any of the other built in methods within OS X no matter which cat you use (Panther or Tiger). Additionally, Quicksilver can start up your applications much faster than going into the Applications folder in finder (yes, I am aware that there is a dock at the bottom of my screen but I try to minimize the number of icons in there to conserve screen space.) Speaking of Screen Space, Desktop Manager is a program for Mac that gives you virtual desktops similiar to the manner of Linux. Keystrokes or a page allows you to switch desktops, and you can move applications from one to the other, and if you like the eyecandy there are some nice effects for switching as well, I turn them off most of the time, cause I just like to change desktops not have a Broadway show everytime I want to change from doing Graphic Design to Web Browsing.
For some reason my fountain pen doesn't work here.
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) 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.