Friday, September 2, 2011

Slow RDC / SQL performance using Windows 7 / 2008 R2

Are you experiencing slow remote desktop connections (RDC)?
Or is the database-connect to your SQL server not working properly?

Then have a look at the following Windows feature: Receive Window Auto-Tuning
http://support.microsoft.com/kb/934430/en-us

Right-click Command Prompt, and then click Run as Administrator.
To display the current setting, type the following command, and then press ENTER:

 netsh interface tcp show global

You will find the "Receive Window Auto-Tuning" set to normal.

To disable this feature, type the following command, and then press ENTER:

 netsh interface tcp set global autotuninglevel=disabled


Generally, it seems to be a good idea to disable this feature in a business-related environment.
I've seen this autotuning feature too often screwing up network traffic..



For more information, visit the following site:
http://technet.microsoft.com/en-us/magazine/cc162519.aspx

dot1q - Configuration on Cisco/HP switches

Have you ever mixed up Cisco and HP switches in a networking environment?
It's funny how similar features can be named differently - and vice versa (e.g. meaning of 'trunk').

Now, assuming you're planning to connect HP switches (4200 series) to Cisco switches (3500 series). The first steps for configuring such a 'trunk' on Cisco switches were:



interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk

exit 
interface GigabitEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate

exit

It's recommended to disable Cisco's DTP signaling (using the nonegotiate option) when connecting to HP ProCurve switches.

By default, all VLANs were allowed to pass the Cisco trunk.
To manually specifiy the allowed VLANs (e.g. 1, 10 & 11), add the following command:
 switchport trunk allowed vlan 1,10,11

On HP switches, ensure that the "Native VLAN" (usually VLAN1) is set as untagged on the uplink port (A2):
 vlan 1
 untagged A2
 exit

Checking the port status on Cisco:
show interface GigabitEthernet0/1 switchport


For more information, visit the following sites:

"Trunking" on Cisco switches
http://www.ciscopress.com/articles/article.asp?p=29803&seqNum=3

ProCurve / Cisco Interoperability Guide
http://www.tecnocael.it/ftp/docs/ProCurve_Cisco.pdf