PC Hacks 100 Industrial-Strength Tips and Tools Free Open Book

PC Hacks 100 Industrial-Strength Tips and Tools

Previous Section  < Day Day Up >  Next Section

Hack 37 Pin the Kernel in RAM

figs/beginner.gif figs/hack37.gif

Force Windows NT operating systems to keep themselves in RAM for faster performance.

An excellent performance hack for Windows 2000, XP, and 2003 is a feature that lets you specify whether or not to allow Windows to swap the main portion of itself, the operating system kernel, and swappable drivers out to the swap/pagefile or not.

This hack is intended for systems with large amounts of RAM (512 MB or more) and involves editing the Windows registry or using a system tweaking program. If your system has 256 MB of RAM or less, consult [Hack #30] before taking advantage of this hack.

To use the registry editing method follow these steps:

  1. Start the Registry Editor by opening the Start menu, then selecting Run.

  2. Type in regedit and then click OK.

  3. Navigate through the registry tree to the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\
    
    Memory Management

  4. Change the DisablePagingExecutive entry to 1. The complete registry information is:

    Value Name: DisablePagingExecutive
    
    Data Type: REG_DWORD 
    
    Data: 0 or 1 Default

  5. Close regedit and reboot.

Setting the value of this entry to 1 forces the kernel and drivers to remain in physical memory. If it is set to 0, these items can be swapped from memory to disk as needed, obviously affecting performance because data transfers are slower to and from disk than memory.

If editing the registry is not your style, you can use a tweaking program called X-Setup or X-Setup Pro from X-Teq Systems (http://www.xteq.com) for setting this and many other gimmicks in Windows, as shown in Figure 4-3.

Figure 4-3. X-Setup provides access to many tweaks for Windows
figs/pchk_0403.gif


To use X-Setup to configure this hack, follow these steps:

  1. Go to Start and then select Control Panel.

  2. Double-click the X-Teq Systems X-Setup icon.

  3. Select the X-Setup Default UI from the welcome dialog.

  4. Expand the System folder.

  5. Expand the Memory folder.

  6. Select Memory Settings.

  7. In the Memory Settings region to the right, remove the check from the "Allow paging of kernel" checkbox.

  8. Click the Apply Settings button, close the X-Setup program, and restart your system.

From this point forward, the operating system's kernel and swappable drivers will stay in RAM, and you should notice less swapping activity and slightly better performance over long-term use of the system.

You probably will not see a performance improvement from this hack in a benchmarking program without also running other programs in the background to load up your RAM and keep the CPU busy.


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


         Main Menu
    PC Hacks
    Table of Contents
    Copyright
    Credits
    Preface
    Chapter 1. Basic System Board Hacks
    Chapter 2. Basic System Board Setup
    Chapter 3. CPU Hacks
    Chapter 4. Memory Hacks
    Introduction: Hacks #30-39
    Hack 30 Install More RAM
    Hack 31 Recognize Memory Limitations
    Hack 32 Install the RAM Your Operating System Needs
    Hack 33 Tame the Windows 95 and 98 Cache
    Hack 34 Manage the Paging File
    Hack 35 Manage Windows System Resources
    Hack 36 Force Windows 98 and Me to Swap Less
    Hack 37 Pin the Kernel in RAM
    Hack 38 Speed Up Your RAM
    Hack 39 Enable Memory Interleave for Via Chipsets
    Chapter 5. Disk Hacks
    Chapter 6. Disk Drive Performance Hacks
    Chapter 7. Video Hacks
    Chapter 8. I/O Device Hacks
    Chapter 9. Boot-Up Hacks
    Chapter 10. Configuring a New PC
    Colophon
    Index


    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
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele