WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Reduce the number of processors on a system for testing.
Categories : WinNT
Boaz Yahav
Date : Feb 04th 1999
Grade : Be the 1st to grade this Code Example
Viewed : 2379
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Boaz Yahav
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

Background
==========

Sometimes it is necessary to reduce the number of
processors on a system for testing, particularly
performance testing. Instead of countless iterations of
testing, shutdown, opening the hardware to remove a CPU,
then putting it all back together, here's a procedure that
makes the Windows NT operating system disable the use of
multiple processors.


Procedure
=========
From the Registry select the following:

HKEY_LOCAL_MACHINE on Local Machine SYSTEM\CurrentControlSet\Control\SessionManager

At this point, find the RegisteredProcessors entry. The
default hexidecimal value displayed represents the maximum
number of processors the operating system will support. On
some SMP systems, this value can be as large as 0x20 (32
decimal) even though hardware configurations today only
accommodate a maximum of four processors.

Double click on the RegisteredProcessors entry to bring up
the DWORD editor. Then change the value to reflect the
number of processors you want enabled in the system. For
example, changing 0x20 to 1 will enable only one processor
in the system. You must reboot in order for the system to
recognize this configuration change.


After rebooting, you can confirm the number of processors
currently enabled from the Control Panel. Select the System
icon and then the Environment tab. The environment variable
NUMBER_OF_PROCESSORS will reflect your change.


This procedure works on all multiprocessor Windows NT
systems.

source : http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/wnt/processor.html



Index Server FAQ
Categories : MS Index Server, WinNT, IIS, Web Servers
This Knowledge Base article will briefly describe the steps involved to set up remote debugging for use with Visual InterDev Version 6.0
Categories : WinNT, Debugging, IIS, Web Servers
Step by Step Instructions on How To Install SQL Server 7.0 on Microsoft Cluster Server
Categories : WinNT, MS SQL Server
How can i add mime types to IIS 3.0 and IIS 4.0?
Categories : IIS, WinNT, Web Servers
Class to convert any document, that can be read by MS Word, to another format supported by Word.
Categories : PHP Classes, PHP, Windows 2000, Microsoft Word, WinNT
known TCP/IP ports (TCP and/or UDP) that are used by services within Microsoft Windows NT version 4.0 and Microsoft Exchange Server version 5.0
Categories : WinNT, Network
Setup IIS using only 1 ip address and 1 ssl key but have multiple websites
Categories : WinNT, IIS, Web Servers
windows nt php/3 file upload script
Categories : Filesystem, PHP, IIS, WinNT, Web Servers
Warning: Page has expired
Categories : Browsers, WinNT
Reduce the number of processors on a NT 4.0 system thru BOOT.INI
Categories : WinNT
Voting Machine with Access 97
Categories : PHP, ODBC, WinNT, MS Access, Complete Programs
How to use the IIS Exception Monitor
Categories : IIS, Debugging, WinNT, Web Servers
enable/disable the cookies system-globaly
Categories : IIS, Cookies, WinNT, Web Servers
Forum with Access 97
Categories : MS Access, Complete Programs, PHP, ODBC, WinNT
Unable to select text bigger than 4K from MSsql
Categories : PHP, WinNT, Databases, MS SQL Server