Tweaking Extensions To Boost System PerformanceApple NotesPublished in SOS July 2003 Technique : Apple Notes
Extensions are additions to the core system designed to add functionality and enable and enhance communication with both built-in and third party hardware. Many parts of Mac OS 9 are supplied by Apple as extensions, such as QuickTime, for example, and third-party hardware and software manufacturers provide other extensions to add the necessary functionality for their products. As an example, to use a Lacie Firewire drive, you simply plug it in, and the Mac OS Firewire extension will allow the drive to mount and be formatted with Apple's disc drivers, which wouldn't happen if the extension was absent. Installing the Lacie software adds a Lacie Firewire support extension to augment Apple's own Firewire extension, providing communication between the Lacie disk utility, Silver Lining Pro, and any Firewire discs. Catching Conflicts Although extensions don't make permanent changes to the operating system stored on your hard disk, they can cause conflicts with the operating system and with each other when loaded into memory by the OS at start up. Even if you think you've got your extensions co-existing amicably, it's quite possible for an upgrade to either the operating system (if you're not already running the last version of Mac OS 9) or the extension to cause a conflict. Obviously, the default set of extensions supplied with any machine is thoroughly tested before Apple release it, but as soon as you add third-party extensions, or an Apple extension is updated, there's the potential for a conflict. Apple supply a utility for organising the list of enabled extensions called Extensions Manager, which can be found in the list of Control Panels in the Apple Menu. With a freshly installed system, Extensions Manager will list three sets of extensions under the Selected Set pop-up menu: 'Mac OS All', 'Mac OS Base' and 'My Settings', the name of the unlocked set that's active by default.
In the real world, however, installations occur without this zealous housekeeping. An extension conflict (which could be between hardware and extension, extension and extension, or extension and OS) could reveal itself gradually, as an emerging pattern of 'soft' crashes (requiring Command/Apple-Alt/Option -Escape-to force-quit the application) or full freezes of the computer, requiring Control- Command/Apple-Power button to restart (newer machines will power down if you hold the power button in for about five seconds). Using Extensions Manager, choose 'Mac OS Base' or 'Mac OS All' as the extension set and restart. If the problem still occurs, then restart with the Shift key held down. This disables all extensions (disabling them all in Extensions Manager only disables those that EM recognises, but this may also do the trick, since third-party extensions are usually in this group). If your problem still doesn't disappear at this stage, it can't be down to an extension conflict a fresh install of your OS is then recommended. If the fault does disappear when restarting with a locked set, duplicate and name it. The procedure is then to re-enable extensions in small groups (restarting each time) until the problem reoccurs. This step can be made easier to track and understand if you use the 'View as Packages' option, which shows the extensions grouped according to function and/or install source. Having found the suspect group (or package) you can narrow your search until you have found the offending extension. If you're lucky, the conflicting extension is not vital to the operation of your system and can simply be disabled. However, if the offending extension is related to the operation of vital software or hardware, there may be an update available on the Internet. Many extensions get updated as a result of reported conflicts arising from hardware/software combinations unforeseen by the manufacturer. If this brings no joy, then contact your supplier and the manufacturer's technical support as to possible fixes, such as suggestions as to which extensions may be in conflict. The ultimate solution would be to abandon that piece of hardware, but it is extremely rare that an extension conflict cannot be resolved.
Third-party Cover If the method for extension management just described makes wet paint watching sound like the more enticing activity, there are many third-party utilities that can assist and automate the extension-conflict identification process. Perhaps the best known of all third-party extension managers is Casady and Greene's Conflict Catcher (available from www.conflictcatcher.com), which can find duplicate extensions and is a really good source of information as to the role of each extension. Extension OverLoad (from www.extensionoverload.com) allows you to see and control extensions that exist in the Extensions folder but are not visible to Extensions Manager. There are good reasons, however, why Extensions Manager might exhibit this limitation. For example, Text Encoding Converter is not visible to Extensions Manager, but is to Extension Overload. Turning it off, however, will render the System Folder unusable in some versions of the Mac OS. If you wish to delve deeper than Apple's Extension Manager allows, one of these utilities might be worth investigating.
Performance Tests Fine-tuning extension sets is often thought to be one way to achieve higher performance with OS 9, especially for those with older Macs that have limited bandwidth, memory and processing resources. There are countless threads on Internet forums devoted to the ideal extension set for the many combinations of hardware and software, so I decided to test some of the suggestions to see if real gains in performance are achievable. Using a 333MHz beige G3 Power Mac and Emagic's Logic v4.8.1 as the basis of a typical older system, I tested track and plug-in count under a number of different circumstances. The purpose of trying a low CPU useage plug-in like Distortion was to confirm that the PlatinumVerb results were indeed arbitrarily different and not indicative of any trend (a four-percent change does not indicate a useful performance gain!). To begin with, I installed a new copy of Mac OS 9.1 onto the initialised system disk followed by Logic. My personal experience has proved that this is the most straightforward way to achieve a fast and stable system, since optimising a system already overloaded with unnecessary applications can often be a futile exercise. I tested this configuration with the default 'Mac OS All' and 'Mac OS Base' extension sets, along with no extensions loaded at all (by booting the Mac with the Shift key down). After that, I installed Mac OS 9.2.2 along with a collection of third-party extensions to simulate an overweight system and repeated the same tests, but with the addition of the 'My Settings' set with all the extra extensions enabled.
If you suspect that you may experience better performance from careful control of the Extension set, running tests similar to those described above will confirm any potential gains. My recommendation would always be to use your computer just for music and to install just the operating system and the required applications, plus the minimum number of additional extensions and system files to support any hardware you've installed. If you're unable (or unwilling) to return the computer to a fresh state by initialising the system disk and reinstalling from scratch, running regular disk maintenance utilities such as Norton Utilities or Alsoft's Disk Warrior is essential. The test system had plenty of memory, which is essential for the smooth running of most music and audio software, especially since the operating system used about 46MB of memory in the test system, and figures of 70MB are not uncommon with more complicated system configurations. Of course, some older computers require RAM that is now so expensive that it is not justifiable; my Power Computing clone, for example, has been relegated to email and typing duties for just this reason. For quite some time I was under the impression that it had an extension conflict that I could not isolate, which resulted in a system freeze each time Remote Access was launched after the machine had been on for more than 20 minutes. Enabling virtual memory (which I can now do, as it is no longer used for music applications) has cured this problem, serving once again as a gentle reminder that extension conflicts are not the only source of problems! | Wednesday 25th November 2009 December 2009
Click image for Contents
Other recent issues: Photos too small? Click on photos, screenshots and diagrams in articles to open a Larger View gallery. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||