Disk optimization (the Disk Defragmenter utility) modifies the layout of files on the disk to reduce the amount of disk head motion required to load files. This improves performance because disk latency is the largest contributor to program load times.
After you have run WinAlign on some program files, you will subsequently want to run the Windows 98 Disk Defragmenter utility at some point. This is because WinAlign will likely have moved the program files to another location on the disk that is no longer optimal. If you have run Maintenance Wizard, Disk Defragmenter will be run for you automatically as part of your Scheduled Tasks.
There are two utilities that Microsoft offers to align programs. The first, Walign, is part of the standard Windows 98 distribution and resides in the Windows System directory. This is a special-purpose tool. It only aligns a small number of files and only works if Microsoft Office is present on your system. The Windows 98 Resource Kit has a utility called WinAlign, but you must purchase the Resource Kit to obtain this utility. The WinAlign How-To provides another way to align files using a batch file that we have written.
What Windows 98 aligns
Most of the applets and utilities that ship with Windows 98 have already been aligned, so you don't need to align those files. Most of your existing applications will be unaligned, since they shipped before Windows 98. The Walign.exe program that comes with Windows 98 aligns a few files that it finds on your hard disk, but only if it finds a copy of Microsoft Office (95 or 97) installed. If Office is not present on your disk when Windows 98 is installed, the setup program creates a scheduled task that runs occasionally. (See the Task Scheduler icon on the system tray.) If you install Office, the scheduled task will detect this and run Walign, then remove itself from the scheduled tasks list. (See the FAQ for details on the list of files.)
Align your own
Since Microsoft only took care of its own programs with WAlign, some of your most commonly used applications probably aren't getting the benefit of the Windows 98 aligned code optimizations. However, you can align the applications yourself if you have a bit of skill.
What should you align? The best candidates are your most frequently executed programs, especially those that you start and exit many times a day. Program loading is the situation where WinAlign really helps. One good example, and the one used in our own performance tests, is Netscape Navigator. Complete instructions for aligning your own programs can be found in ourWinAlign How-To.
Our performance tests have shown that aligning a large application (in our case, Netscape Navigator 4.05) can reduce program launch times by about 20 percent. Since aligning applications reduces the amount of memory thrashing, it should also be beneficial for power users who start and run many applications at once.
Pros and Cons of WinAlign
Reduces program load times
Increases disk cache efficiency
Improves overall RAM usage
Increases program file size
Some programs can't be aligned
Aligned files can't be patched