Solved

NT Worstation 4 performance tips

Posted on 1998-01-14
7
365 Views
Last Modified: 2013-12-28
I have a NT Wokstation 4, service-pack 3, pentium 200 MMX, 64 Mb of RAM, 3.2gb of Disk.

I'm currently looking for REAL performance tips for my machine (those that require registry changes) that will boost the performance of the machine.

Depending upon the quality and number of tips I will grade the answer and even increase the number of points rewarded.

Thanks
0
Comment
Question by:Jonny071797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 5

Accepted Solution

by:
cer earned 200 total points
ID: 1789073
All the Tips I have:

You can increase NTFS performance if you disable 8.3 name creation.
(Some 16bit programs may have trouble finding Long File Names. Don't set this option if you wish to install Norton NT
Utilities.)
Edit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

Value:NtfsDisable8dot3NameCreation REG_DWORD
Default: 0
Range: 0 or 1

Set it to 1 to disable 8.3 name creation. This won't take effect until the next boot.
~~~~~
Creating seperate processes for the DeskTop/TaskBar and Explorer.

By default, the shell creates 1 process with the Taskbar and Desktop as one thread and each instance of explorer as an
additional thread. A failure in any thread will affect the entire process.
If you have at least 24 Meg of RAM and a fast Pentium, you can create a seperate process for the Desktop/Taskbar and 1
for each instance of explorer by editing the registry at:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

and adding value DesktopProcess (REG_DWORD). Set it to 1 and reboot.
~~~~~
Finding that memory leak using Windows NT 4.0.

Much has been written about using Performance Monitor to detect and isolate memory leaks. Two KB articles on the
subject are Q130926 and Q150934.

While these standard protocols work, the hit and miss method of finding the leaking process can be very time consuming.
Here is an alternate method:

1. Start PMON.EXE from the Resource Kit.



2a.Monitor Paged and Non-Paged pool usage (last 2 items on the 2nd row).
       If these are increasing over time, you have a memory leak.
2b.Monitior the commit counters on the 2nd row.
       Increasing numbers over serval hours indicate a probable leak.
2c.Monitor the Commit Charge column.
       The process with the leak will have an increasing value.

3. To make it easier to monitor, copy the output to the clipboard and paste it into notepad.
    Do this about once an hour over the duration of your testing.
~~~~
Increase network performance.

If you increase the number of buffers that the redirector reservers for network performance, it may increase your network
throughput. Each extra execution thread that you configure will take 1k of additional nonpaged pool memory, but only if your
applications actually use them. To configure additional buffers and threads, edit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters

Modify or Add Value of type REG_DWORD for:

MaxCmds The range is 0 - 255 and the default is 15

MaxThreads Set it to the same value as MaxCmds

You may also want to increase the value of MaxCollectionCount. This REG_DWORD is the buffer for character-mode
named pipes writes. The default is 16 and the range is 0 - 65535.
~~~~
Speed up file system activity.

If you have some extra RAM and an active file system, you can speed up file system activity by increasing the
IoPageLockLimit from the default 512K bytes to 4096K bytes or more. Edit:

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

IoPageLockLimit type REG_DWORD Default: 512K

This entry is the maximum number of bytes that can be locked for I/O operations. When the value is 0, the system
defaults to 512K. The largest value is based on the amount of memory in your system. I would limit this entry to:

 RAM (MB)
                          IoPageLockLimit
 32
                          4096000
 64
                          8192000
 128
                          16384000
 256+
                          65536000


Before making changes, get a baseline by using performance monitor for a representative period of time. Make your
changes in small increments and measure performance after each change.
~~~~
A tweak for NTFS performance.

When Windows NT lists a directory (Explorer, DIR command, etc.) on an NTFS volume, it updates the LastAccess time stamp
on each directory it detects. If there are a very large number of directories, this could effect performance. A new registry entry
allows you to control this behavior. Edit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem

Add Value name NtfsDisableLastAccessUpdate of type REG_DWORD. Set it to 1 to prevent the LastAccess time stamp from
being updated.
~~~~
Do your DOS programs run slowly?

When you right click a DOS program (or .PIF) in Explorer and choose Properties, you get the NT 4.0 version of the PIF editor.

- If the application runs in a window and the video performance is slow, try full-screen mode on the Screen tab.

- Disabling the Compatible Timer Hardware feature in the _DEFAULT.PIF or the applications PIF on the Program tab /
Windows NT button should only be used if it is required to make the application run.

- If the application runs Windowed and pauses periodically, try disabling Idle Detection on the Misc tab.

- If the DOS application can be configured for printing, choose LPTx. Most DOS apps use Int17 when configured to print to LPTx
and print directly to the port.
~~~~
It is possible that your Windows NT HAL (Hardware Abstraction Layer) does not recognize the amount of L2 cache (Secondary
RAM Cache) that you have installed. To force Windows NT to recognize it, edit:

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

The value name SecondLevelDataCache is a type REG_DWORD. A data value of 0 is the default which sets the L2 cache to
256K. If you have a different amount installed, set the value in decimal.

Example: If you have 512K cache, set the entry to 512 in decimal (Hexadecimal 200).

If you have lots on memory, set DisablePagingExecutive, a type REG_DWORD, to 1. This will allow drivers and the kernel
code to be kept in memory. The default is 0 which pages drivers and kernel code when needed.
~~~~


0
 

Author Comment

by:Jonny071797
ID: 1789074
Hi Cer,

I have one more quick question.
When I run a DOS 16-bit program, Windows NT starts the NTVDM process (which is the NT virtual driver manager I think. This is the 16-bit "emulator", which enables 16-bit application to run).
Usually it takes a few seconds to start this process then start my 16-bit program program.
Is there any way to speed it up (or even keep this process always in memory)????

PS: Thanks for the tips. I'll increase to 200 points.

0
 
LVL 5

Expert Comment

by:cer
ID: 1789075
NTVDM is ..virtual device machine, but maybe I am wrong.
If you start a DOS-Box NTVDM is loaded. If you start a Win311 (16Bit) Program NTVDM and WOWEXEC (windows over windows, 16Bit Win emulator) is loaded.
For each DOS-Box one NTVDM is loaded, so there is not only one NTVDM which handles ALL 16Bit applications. Therefor you can not hold NTVDM in memory, its like having Word in memory without starting Word.
Only thing I can imagine is that you start a minimized DOS-Box in your autostart group, so you have one ready.
Or you can shedule (with AT command) a batch wich opens and close a DOS box every 15 minutes, this way you have NTVDM in your cache and NT do not need to load it from disk.
But I have no speed problems with starting a DOS application, maybe you need to look somewhere else for the bottleneck.
Use performance monitor (see above) to investigate which components are "slow".

0
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 

Author Comment

by:Jonny071797
ID: 1789076
Adjusted points to 200
0
 
LVL 5

Expert Comment

by:cer
ID: 1789077
I found a (printed) documentation which originally came from the MS-website. I could not find it again, but maybe you.

Technet Reference Desk
Optimazation and Tuning of Windows NT
old URL: www.microsoft.com/syspro/t...oes/bo/winntas/technote/nt301.htm

0
 

Author Comment

by:Jonny071797
ID: 1789078
0
 
LVL 5

Expert Comment

by:cer
ID: 1789079
Thanks, I wrote it down (this time).


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 10 Locking 68 94
Access Report via Windows Desktop Shortcut 12 42
Copy one row (from Word) into one cell 14 47
Windows 2008 Server Mouse Stops 3 10
Determining the an SCCM package name from the Package ID
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question