Slashdot Mirror


Making Operating Systems Faster

mbrowling writes "In an article over at kernelthread.com Amit Singh discusses 'Ten Things Apple Did To Make Mac OS X Faster'. The theme seems to be that since you won't run into 'earth-shattering algorithmic breakthroughs' in every OS releases, what're you gonna do to bump your performance numbers higher? Although the example used is OS X, the article points out that Windows uses the same approach."

16 of 667 comments (clear)

  1. Reduce Bloat by Anonymous Coward · · Score: 5, Insightful


    why does my 3ghz p4 choke on spellchecking a 50k doc with a 500mb text editor (Word2k3) ?

    why does explorer choke on listing 10,000 files ?

    why should i ever upgrade my word processing applications ? or can they type for me now ?

    bah, innovation is dead, shame

  2. One word: by swordboy · · Score: 5, Interesting

    Hard Drive

    Largest bottleneck in any modern system. If you've never had the opportunity to use a 15krpm (or something faster) system, do it now. It flies... I don't care if it is Windows or what... it doesn't matter when you've got usable bandwidth to the biggest chunk of storage out there.

    --

    Life is the leading cause of death in America.
    1. Re:One word: by tomknight · · Score: 5, Funny
      Hard Drive

      That's two words.

      Tom.

      --
      Oh arse
  3. optimizing Windows 2000/XP by xplosiv · · Score: 5, Informative

    Check out www.blackviper.com, it's one of the better sites dedicated to tuning and increasing performance of Windows 2000/XP

  4. The Only True Solution by Pike65 · · Score: 5, Funny

    More hamsters!

    --
    "If being a geek means being passionate about something, then I pity those who aren't geeks." - Pike65
  5. Re:Faster? by KoriaDesevis · · Score: 5, Insightful

    XP is CRAZY slower than 2k.

    XP is faster to come up to the desktop. However, it is still busy accessing the hard drive and loading stuff in the background. You still have to wait for the OS to quit loading itself before you can use anything. Microsoft's claim that XP is faster than 2K was based on the time to desktop, apparently not time to usability.

    Once loaded, XP has an annoying habit of wanting to refresh the desktop from time to time. That slows things down even more.

  6. Some tips on making your computer faster by wiggys · · Score: 5, Informative

    1) Don't install so much crap on your computer. 5 megapixel photos set as wallpaper along with Real Player, Gator Spyware Crap, Quicktime Task, HP scanner registration reminder sofware, webshots, Norton anything, MS office bar etc running on startup will make your nice shiny new computer run like an arthritic snail on sleeping tablets.

    2) Turn off some of the eyecandy. All those fades and whooshes and stuff don't actually do anything useful, they just consume CPU cycles and waste your time.

    3) Use Ad Aware and SpyBot regularly to keep scumware out of your computer. I had to clean up a PC this morning which had stopped working because the BASTARDS at NewDotNet wrote some software which fucked the TCP/IP stack backwards.

    4) Defrag regularly and run MSCONFIG to check what crap is sneaking back on to your Startup scripts.

    BTW, Windows 3.1 sitting on MSDOS 6.2 ran like shit of a stick on my old P133. I wonder if/how it would run on a modern system?

    --

    Sorry, but my karma just ran over your dogma.

  7. Prebinding not all good by mac-diddy · · Score: 5, Interesting
    Sure, prebinding does speed up loading, but it also breaks everything from tripwire, to backup. Since the file is changed out from under you, all traditional unix tools that use checksums or file size to determine file changes break.

    Apple, and other system vendors need to consider these types of management issues when making a change. Speed improvements are only good if they are "management friendly"

  8. Re:Haven't read the article yet .. by torpor · · Score: 5, Informative

    I dunno about all that but OS X doesn't seem slow at all to me.

    Try running LinuxPPC on your mac some day, and you will see a huge difference in general snappiness.

    I'm not saying OSX is un-usably slow, or even slow at all - heck my Rev. A tiBook, beaten and aged, is still all the computer I need, and I am very productive with it ... but I do have to admit that in all my computing experiences, OSX seems to be the one OS that is more 'acceptably mediocre', performance wise, than any other.

    On the register side of things, I can't for the life of me remember the full details, but I believe that the ABI for OSX only uses a sub-set of the PPC's full register set, and thus this means more swaps in/out ... that there are 'unutilized registers' in the PPC architecture when it is running OSX.

    This is separate from AltiVec, which is an instruction set, not just a register setup ...

    --
    ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
  9. That's 2 words. by Moderation+abuser · · Score: 5, Interesting

    Anyway... You are completely correct but...

    My 2 words are RAM DRIVE. You think you can't justify 4Gb of RAM? Course you can.

    Dedicate 2-3Gb of it to a ram drive and mount it as your root, /usr, /opt partition, whichever one you have all of your applications installed on. Copy the hard drive to the ram drive at bootup. DD can do it quickly if you just zap the whole partition across. I think there are mount options to tell the Linux filesystem buffer not to cache a particular filesystem.

    The difference in performance can be stunning.

    --
    Government of the people, by corporate executives, for corporate profits.
  10. Um, speaking of Mac OS, that's not true for it by ianscot · · Score: 5, Insightful
    People have said this before, but maybe you didn't catch it: Successive releases of OS X have actually been noticably faster, even on older machines.

    Don't take my word for it -- take Ars Technica's review of Panther for example:

    Here's another way to look at Panther's performance. For over three years now, Mac OS X has gotten faster with every release -- and not just "faster in the experience of most end users", but faster on the same hardware. This trend is unheard of among contemporary desktop operating systems.

    --
    "Fundamentalism" isn't about divine morality. It's about human authority.
  11. Re:Hello? Linux, are you there? by bheer · · Score: 5, Interesting
    -1, Misinformation. Office and IE don't keep "portions" resident in memory in either the DOS TSR sense *or* in the Mozilla Quickstart (or whatever it's called now) sense.

    The case of mshtml.dll, shdocvw.dll, urlmon.dll are a little different. These are *system DLLs* which can be used by any app, including IE (iexplore.exe) -- and the shell (explorer.exe). Explorer in particular will load urlmon if you visit FTP or WebDAV sites.

    IIRC after login on a fresh Windows 2000 install, none of mshtml, shdocvw or urlmon are loaded.

    Note that Working Set Detection/Maintenance on Windows can change this over time, but it will do so even for Firefox or any other non-MS app.

    Btw, the real reason IE and Office start up quickly is because they are better engineered that the competition -- which is typically cross-platform portable code that is not particularly optimized for Windows. Reducing startup time is not necessarily a black art:
    [...] Startup time is all about minimizing disk I/O. So analyze your startup code to death: Track every page fault and work to get rid of it. Delay initialization of everything that can be delayed. (The fastest code is code that doesn't run at all.) Take all the functions that are called at startup and put them near each other in memory so you take fewer page faults. Use the /ORDER switch to do this. If you have a large function and only half of it is used at startup, break it into two functions, the part used at startup and the part that isn't. Reorder your data so all the memory used by startup is kept near each other in memory. With CPUs as fast as they are, disk I/O is the limiting factor in app startup. [ link]


    The true measure is how fast the app runs, not how fast it opens.

    Not sure what your point is, but Open Office and Mozilla both run slower (_and_ open slower) than Office and IE on comparable hardware. Thankfully, Firefox opens slower than IE, but is almost as fast in use for most common tasks, which lets me use it for day-to-day browsing.
  12. Re:#1 thing Apple should do... by Doctor+Crumb · · Score: 5, Informative

    I know it was a joke, but apple's GUI is rendered using the video card's processing power, not your CPU's. So such fancy effects are using cycles that would otherwise be idle, giving no performance hit at all, and making it look fricking cool at the same time.

  13. Re:#1 thing Apple should do... by rworne · · Score: 5, Interesting

    Apple removed striping from everywhere in Panther. Quite a bit of it was replaced by brushed-metal. Even so, all it is doing is replacing one bitmap with another. The only possible gain is if they do not need to use alpha for transparency. Yet not all of this is by "removing" stuff. Quite a bit of tweaking is being done to speed up the OS, the most recent software update resulted in quite a few reports of faster system operation, and there was no discernable change in the featureset or operation of the UI.

    The reason X runs slowly compared to Aqua is that Apple optimizes Aqua and allows harware acceleration (Quartz Extreme) and offloads lots of tasks to the GPU. I know of no X windowing system (aside from Apple's own implementation) that does this in OS X.

    10.0 and 10.1 were dog-slow. Especially when you had a couple of hundred files in a folder. Jaguar was a huge increase in speed and performance. Quite a bit of that was due to the Quartz Extreme, but even my lowly 500MHz dual-USB iBook saw quite a boost from Jaguar and it was not able to use QE at all. Panther did very little to the iBook, except make it take forever to boot. I need to check on that bootcache issue.

    My dual 800MHz Quicksilver is now almost three years old and I am still very happy with its performance. I expected to be wanting to replace it after two years, or after clock speeds have doubled, which is what I did when I used Wintel systems. Instead, I am considering keeping it around for the 10.4 release and at least another year or two. I attribute quite a bit of this to Apple's tweaks and performance enhancements of the OS.

    --
    I tried every decent and legal way I could think of to resolve the issue w/the business before I rented the chicken suit
  14. Re:Optimize Windows... by cortez · · Score: 5, Funny

    Step 1: Buy a G5 Mac.
    Step 2: There is no step 2!!!

    --
    Paizurishitetai desu ka?
  15. More uninformed opinion on Slashdot by Overly+Critical+Guy · · Score: 5, Informative

    There are easier ways to enable these "features" than creating a ton of hoops for BOTH sides of users.

    What fucking hoops?

    Right-click My Computer->Properties->Advanced->Settings button.

    Choose either "Best Performance" or "Best Appearance." Or check each option individually. What a non-issue.

    If this was KDE, someone would have already answered with this, but because it's Windows, everyone just nods with the rest of the flock, "Baa, baa, yes, there are hoops to jump through, baa."

    Speaking of KDE, talk about fucking hoops. You've got a completely horrible control center, with three different areas for changing the looks of things like window styles, widget styles, and so on. Why the hell isn't that all integrated into one configuration dialog? Oh, I forgot, ease-of-use is a criticism we only reserve for non-issues on the Windows platform like checking a radio button to get rid of a blue theme.

    --
    "Sufferin' succotash."