PC Overclocking, Optimization, and Tuning - 2th Edition Free Open Book

PC Overclocking, Optimization, and Tuning - 2th Edition

Previous Section Next Section

Chapter 7: Optimizing RAM

Overview

In the traditional PC architecture that uses the command system of Intel processors, the first megabyte of RAM has a special function. It's no wonder that the first 640 KB of RAM within that first megabyte (which is the only part of memory available for certain types of programs) is known as the conventional (or basic) memory. Part of this memory area is used by system programs; application programs take up the rest. Often, these programs are sensitive to the conventional memory concerns. For example, certain application programs require no less than 600 KB of conventional memory to run. If the amount of available conventional memory is insufficient, such programs will not run, and a message will appear informing you that there is not enough conventional memory. As a matter of fact, this will happen even in a system with a large amount of RAM that exceeds that program's requirements. In the case we are considering, however, this large amount of available RAM is practically useless, because the first 640 KB is the only area that the program can access. This is due to the fact that all memory above the first megabyte is of the extended type, which a normal DOS program can't use.

One of the most common methods of RAM optimization under Windows 9x is using the drivers specially developed for the particular Windows version. These drivers work in protected mode. To maximize conventional memory under Windows 9x, try to avoid if possible using drivers that require an MS-DOS compatibility mode (a real mode). This is because such drivers load in the first MB of memory, thus decreasing the available conventional memory, and resulting in performance degradation and a limited capability of running programs that need a large amount of conventional memory.

To detect realmode drivers under Windows 95, do the following:

  1. Click the Start button.

  2. From the Start menu select Settings | Control Panel.

  3. The Control Panel window will appear. Double-click the System icon.

  4. In the System Properties window go to the Performance tab.

A list of real-mode drivers will be displayed. To get additional information on these drivers, click Information (?).

The programs that run under Windows 9x in MS-DOS compatibility mode may require real-mode drivers. To use these drivers, you need to describe them in the appropriate manner in Autoexec.bat and Config.sys files. Real-mode drivers are loaded into conventional memory, and thus decrease the size of available conventional memory. To maximize conventional memory and increase the performance, it's recommended to try loading some of the real-mode drivers into the upper memory area (UMA), which is the upper 384 KB of the first megabyte of system memory, directly above conventional memory. To do this, you must add the following lines to the Config.sys configuration file:

  DOS =HIGH, UMB
  DEVICE=C:\WINDOWS\HIMEM.SYS
  DEVICE=C:\WINDOWS\EMM386.EXE NOEMS HIGHSCAN

Then, in order to load the program in the high memory, you should use the DEVICEHIGH command in Config.sys and LH or LOADHIGH command in Autoexec.bat.

You can also optimize the location of the system programs within the first mega byte of memory and increase the size of conventional memory available for applications using the MemMaker utility specially designed for this purpose. This utility, included with MS-DOS version 6.0 and later versions, modifies the Config.sys and Autoexec.bat configuration files. After you execute MemMaker, device drivers and other resident programs that reside in the RAM will use the conventional memory in the most advantageous manner possible. If possible, MemMaker will try to load resident programs into the so-called UMB blocks. All of this maximizes free space within the conventional memory, thus making it available to user applications, such as, for example, games, educational programs, business applications, multimedia programs, etc.

Note that to run MemMaker, you need a computer that has at least an 80386 (or higher) processor and extended memory. Currently, most computers easily meet this requirement.

Before running MemMaker, do the following:

  • Make sure that all the hardware installed in the system (especially the RAM) functions correctly.

  • Exit all active programs, such as Windows, MS-DOS Shell, NC, etc.

  • Load all the drivers and resident programs which you normally use (including device drivers and software applications).

While loading MemMaker, the user is given the opportunity to choose the mode: Express Setup (standard setup) or Custom Setup.

Later in this chapter we'll consider several aspects that should be taken into account when optimizing conventional memory in order to maximize the amount of available free space. Although the information provided here would be enough to complete this task, it's recommended that you also read the official Microsoft documentation that comes with MS-DOS in order to make your work with MemMaker easier.

Previous Section Next Section
Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][Q][R][S][T][U][V][W][X]


     Main Menu
Table of Contents
BackCover
PC Overclocking, Optimization, & Tuning, Second Edition
Chapter 1: Introduction
Chapter 2: BIOS Setup 9
Chapter 3: Optimizing Hard Drives
Chapter 4: Compressing the Hard Drive
Chapter 5: Caching Hard and Compact Disks
Chapter 6: Optimizing the Video Subsystem
Chapter 7: Optimizing RAM
Express Setup Mode
Custom Setup Mode
Chapter 8: Updating the BIOS
Chapter 9: Testing, Monitoring, and Diagnostics
Chapter 10: Windows 9x/NT/2000 Local Area Networks
Chapter 11: Overclocking Modes
Chapter 12: Requiements for Overclocked Elements
Chapter 13: Overclocking the Processor
Chapter 14: Overclocking Video Adapters and Hard Drives
Chapter 15: Overclockings: Step-by-Step
Chapter 16: Testing Overclocked Systems
Chapter 17: Motherboards and Chipsets for Overclocking Modes
Chapter 18: Cooling Devices and Methods
Chapter 19: Examples and Results of Overclocking
Chapter 20: Web Addresses
Index
List of Figures


More Books
PHP Hacks
Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
The Koran (Holy Qur'an)
Macromedia Flash 8 Bible
Search Engine Optimization for Dummies
YouTube Traffic
PHP 5 for Dummies
Harry Potter and The Chamber of Secrets
Harry Potter and the Sorcerer's Stone
The Pilgrim's Progress
Wireless Hacks
Flash Hacks. 100 Industrial-Strength Tips & Tools
PayPal Hacks. 100 Industrial-Strength Tips and Tools
Amazon Hacks
Pdf Hacks
The Da Vinci Code
Google Hacks
The Holy Bible
Windows XP For Dummies
Harry Potter and the Half-Blood Prince
Seo Book
Upgrading and Repairing Networks
Macromedia Dreamweaver 8 UNLEASHED
Windows XP Annoyances
Windows XP Hacks
Microsoft Windows XP Power Toolkit
Teach Yourself MS Office In 24Hours
iPod & iTunes Missing Manual
PC Hacks 100 Industrial-Strength Tips and Tools
PC Overclocking, Optimization, and Tuning - 2th Edition
PC Hardware In A Nutshell 3rd Edition
PC Hardware in a Nutshell, 2nd Edition
Upgrading and Repairing PCs
Google for Dummies
MySQL Cookbook
Teach Yourself Macromedia Flash 8 In 24 Hours
PHP CookBook
Sams Teach Yourself JavaScript in 24 Hours
PHP5 Manual
Free Games Paper Airplanes