maximizing windows 2003 server network throughput

I was using that setting on a heavy stressed RAC database.

TcpWindowSize, set to 64k if your have Gb network

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\TcpWindowSize 65535

Tcp1323Opts, allow scaling on high speed network

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
\Tcp1323Opts 1

MaxHashTableSize, maximize tcp control blocks

 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\MaxHashTableSize 65536

MaxUserPort, maximizes open port if you have plenty of memory

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\MaxUserPort   65534

how to do file house-keeping on windows 2003

Without “Forfiles” command, you maybe write a script with few hundred line, finally windows come with this handy command.

This will delete .ARC files in d:\oraarch directory older than 10 days.

Forfiles -p d:\oraarch -s -m *.arc -d -10 -c "cmd /c del /q @path"

howto: create a windows PE CD

1. First of all, download windows AIK from Microsoft

2. Mount it or burn it to a DVD

3. Install AIK on your windows XP/Vista

4. Open windows PE command prompt from start menu

C:\Program Files\Windows AIK\Tools\PETools>copype.cmd x86 z:\pe
 
C:\Program Files\Windows AIK\Tools\PETools>oscdimg.exe -bz:\pe\etfsboot.com -n -o z:\pe\iso\ z:\pe\pe.iso

Useful link:

http://apcmag.com/windows_pe_20_a_tiny_version_of_windows_for_system_maintenance.htm

TCP High Performance Networking Options

High Performance Networking Options

The options below are presented in the order that they should be checked and adjusted.

http://www.psc.edu/networking/projects/tcptune/

http://www.sean.de/Solaris/soltune.html

Maximum TCP Buffer (Memory) space: All operating systems have some global mechanism to limit the amount of system memory that can be used by any one TCP connection. [more][less]

Socket Buffer Sizes: Most operating systems also support separate per connection send and receive buffer limits that can be adjusted by the user, application or other mechanism as long as they stay within the maximum memory limits above. These buffer sizes correspond to the SO_SNDBUF and SO_RCVBUF options of the BSD setsockopt() call. [more][less]

Continue reading “TCP High Performance Networking Options”

enable 4gb memory for vista 32bit

To force this new addressing method, you have to tell Vista to boot using this new parameter.  Vista no longer uses a BOOT.INI file as previous versions of Windows did, so you must modify the boot file using a built-in Vista tool called BCDedit.

  1. Open a command prompt (Press Window key + R to open the Run dialog, and then type cmd).
  2. Press Ctrl + Shift + Enter to execute (this allows you to run cmd in administrative mode if you haven’t already setup up a permanent admin mode).
  3. Type BCDedit /set PAE forceenable.

This PAE flag (Physical Address Extension) tells the Vista core to use an additional 4 bits of addressing, which in theory allows the OS to see all of the RAM you have available.  We’re not out of the woods yet, because once you reboot you may find that Vista still doesn’t see all of your RAM.  You can turn PAE off again by typing BCDedit /set PAE forcedisable or BCDedit /set PAE default.

http://www.ocmodshop.com/ocmodshop.aspx?a=989

How to change the listening port for Remote Desktop

This article was previously published under Q306759

INTRODUCTION

This article describes how to change the port that Remote Desktop listens on.

Note The Remote Desktop Connection Client for the Mac supports only port 3389. 3389 is the default port.

MORE INFORMATION


You can use the Remote Desktop feature in Microsoft Windows XP Professional to connect to your computer from another remote computer.

Warning The Remote Assistance feature in Microsoft Windows XP may not work correctly if you change the listening port.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

307711 (http://support.microsoft.com/kb/307711/) Remote Assistance invitation file does not contain correct port number

To change the port that Remote Desktop listens on, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows
1. Start Registry Editor.
2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3. On the Edit menu, click Modify, and then click Decimal.
4. Type the new port number, and then click OK.
5. Quit Registry Editor.