WildSDI

Well the ramblings of a mad man??? Or the sanest of them all??? as long as you learn something new.

Sunday, January 15, 2006

Speed Up Browsing


When you connect to a web site your computer sends information back and forth. Some of this information deals with resolving the site name to an IP address, the stuff that TCP/IP really deals with, not words. This is DNS information and is used so that you will not need to ask for the site location each and every time you visit the site. Although Windows XP and Windows XP have a pretty efficient DNS cache, you can increase its overall performance by increasing its size. You can do this with the registry entries below:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"CacheHashTableBucketSize"=dword:00000001
"CacheHashTableSize"=dword:00000180
"MaxCacheEntryTtlLimit"=dword:0000fa00
"MaxSOACacheEntryTtlLimit"=dword:0000012d

Make a new text file and rename it to dnscache.reg. Then copy and paste the above into it and save it. Merge it into the registry.

For a Safer, faster XP Close Unwanted Services

To disable unneeded startup services for a safer, faster XP, use the "Services" Admin Tool (Control Panel > Administrative Tools > Services). If you are a single user of a non-networked machine, you can disable the following items, with no ill effect.
Alerter
Clipbook
Computer Browser
Fast User Switching
Human Interface Access Devices
Indexing Service (Slows the hard drive down)
Messenger
Net Logon (unnecessary unless networked on a Domain)
Netmeeting Remote Desktop Sharing (disabled for extra security)
Remote Desktop Help Session Manager (disabled for extra security)
Remote Procedure Call Locator
Remote Registry (disabled for extra security)
Routing & Remote Access (disabled for extra security)
Server
SSDP Discovery Service (this is for the utterly pointless "Universal P'n'P", & leaves TCP Port 5000 wide open)
TCP/IP NetBIOS Helper
Telnet (disabled for extra security)
Universal Plug and Play Device Host
Upload Manager
Windows Time
Wireless Zero Configuration (for wireless networks)
Workstation

How to make your Desktop Icons Transparent

Go to ontrol Panel > System, > Advanced > Performance area > Settings button
Visual Effects tab "Use drop shadows for icon labels on the Desktop"

Saturday, January 14, 2006

IRC Commands

/away [away message]
Sets you away with a message explaining that you are not currently paying attention to IRC. /away with no message sets you being back.
/clear
Clears all text in the current chat window.
/ctcp {nick} {pingfingerversiontimeuserinfoclientinfo}
Does the given ctcp request on nickname.
/invite {nick} {#channel}
Invites another user to a channel.
/ison {nick} {nick}
Used to determine if a certain user or users are currently on the IRC server based upon their nick.
/join {#channel}
Makes you join the specified channel.
/kick {#channel} {nick}
Kicks nick off a given channel.
/me {action text}
Sends the specifed 'action' to the current window.
/mode {#channelnick} [[+-]modechars [parameters]]
Sets channel or usermodes.
/motd [server address]
Displays the Message Of The Day from the server. Used alone it gives the message from the current server
/msg {nick#channel} {message}
Send a (private) message to the nick/channel with the given text.
/nick {new nickname}
Changes your nickname to whatever you like.
/notice {nick} {message}
Send the specified notice message to the nick.
/part {#channel} [message]
Makes you leave the specified channel.
/ping {nick}
Pings the given nickname.
/query {nick} {message}
Open a query window to this user and send them the private message.
/quit [reason]
Disconnect you from IRC with the optional byebye message.
/raw {raw command}
Sends any raw command you supply directly to the server. Use with care!
/silence {+/-nick}
Stops/lets people send you private messages.
/slap {nick}
Produces the text "your-nick slaps a large trout around a bit with {nick}"
/time
Tells you the time on the server you use.
/topic {#channel} {newtopic}
Changes the topic for the specified channel.
/who {#channel}
Shows the nicks of all people on the given channel.
/who {*part.of.address*}
Shows all people on the IRC server with a matching address.
/whois {nick}
Shows information about the given nickname.
/whowas {nick}
Shows information about someone who -just- left IRC.

Things in [square brackets] are optional, while things in {curly brackets} are mandatory

Thursday, January 12, 2006

Speed up boot process in linux

  • use chkconfig to display the list of processes and status."chkconfig -list"
  • remove all the unnecessary process by chkconfig(chkconfig -level on/off. For example to turn Kudzu off,use "chkconfig -level5 kudzu off"
  • you can use ntsysv in red hat systems.run "ntsysv" to display the programs.use space bar to star the process..

necessary programs are:

  • anacron
  • crond
  • echo
  • gpm
  • keytable
  • network(if you belong to a network)
  • random
  • sendmail
  • sshd
  • syslog
  • xfs

Monday, January 09, 2006

RGUHS

The dubious distinction of the worst site on the planet could possibly be due to http://www.rguhs.ac.in
They have newly introduced online application for the post graduate entrance exam conducted by the government for colleges in private colleges.
The form is available at http://203.200.41.73/ppget2006/
The last day for submission is 15th Jan.
This happens to be a holiday.
So how about 14th??? Well that’s a 2nd Saturday-holiday again.
The 13th???? Sorry again Pongal.
So the effective last day is on 12th Jan 2006.

Okay. Let’s get busy and fill it up...
Finished AIPGEE on 8th and finally got back in the evening, got ready to fill up the form, and viola! There’s a time out error.
Try all night.
Finally on the morning of 11th at 11’O clock, the site opens and the form filled properly. Hit on print and save it to a file (I’ll buy a printer after my MD.)
Rushed it to a cyber café and surprise the file is coded in pearl script.
Refused to open else where.

The site refused to give options to go to my application form. I viewed 3 different page formats in all at the above site, today.
Finally at 4pm, finally managed to get the form, and got it printed.
All troubles are over…

Too early.
There are abundant mistakes.
I was born on 30/11/1980 at 30/11/1980., have given no qualifying exam, have no permanent registration number. And DD number which was “0” now is <blank>.
Address of the witness is still empty.
I decided to fill up the rest by hand and send it.
There is no fighting bugs.(especially when you cannot fix them)

Thanks

Well ….
A lot of people are visiting my blog.
I’m very happy.
Thanks all you people.

Windows kernel on RAM

Warning: >256Mb RAM required

STEPS
  1. Type "regedit" at the run command.
  2. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\DisablePagingExecutive".
  3. Set it to =1 for kernel in RAM(FASTER).
  4. or Equal =0 for using page file memorySLOWER).

Sunday, January 01, 2006

Optimize Your Windows 2000 / XP Registry for Broadband

We all want more speed when it comes to our broadband connection, that’s what optimizing your Windows 2000 and XP registries are all about. Windows 2000 and XP may be better equipped to deal with networks than their predecessors, but they are still configured for optimum performance over a local area network rather than a broadband connection. For this reason you may want to consider configuring your registry for better performance over your broadband connection.
A few terms you should know when configuring your registry are maximum segment size (MSS) and maximum transmission unit (MTU). MSS is how much data is actually sent at a time over a network and MTU refers to the largest amount of data that can be transferred. The MSS amount is slightly smaller than the MTU to account for data assignment and other information. These are the values in your registry which need to be adjusted to optimize your broadband connection. For best performance results, your MTU should be set to 1500 bytes with your MSS generally being around 40 bytes below that value. If you have a Point-to-Point Protocol over Ethernet broadband connection (which is used by some Digital Service Providers), then your MTU should be 1492, with your MSS around 1452 bytes.

The “Key” to Tweaking Your Registry

Step 1: First things first, you need to get to your registry. This is easily done by going to your Start menu and then your Run command prompt.
Step 2: Next type “regedit” into the console and presto! You have your registry editor.
Step 3: You’ll notice a list of file names starting with “HKEY” directly under your My Computer icon; these are referred to as “keys.” Buried among these “keys” are parameters that you will be tweaking to optimize your broadband connection, among those are your MSS and MTU values.

Recommended settings for Windows 2000 / XP

Windows 2000 & XP, unlike NT supports large windows as described in RFC1323 ( the 'RcvWindow' has a maximum value of 2**30 rather than 64K), and includes some other improvements over its predecessors you can use to speed up any TCP/IP transfers. The best settings are listed in red, the descriptions and other options are added to provide you with better understanding and enable you to customize your settings.

All the following entries, unless otherwise noted should be placed in the Windows 2000/XP Registry under the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

TCPWindowSize

The value of TCP Window in the Windows 2000 Registry is DWORD, representing number of bytes, with range from 0 to 2^30. The recommended values (in red) optimize TCP for any high speed Internet connection and work best in most cases, however if you'd like to use a custom value follow these guidelines:

For best results, the TCPWindow should be a multiple of MSS (Maximum Segment Size). MSS is generally MTU - 40, where MTU (Maximum Transmission Unit) is the largest packet size that can be transmitted. MTU is usually 1500 (1492 for PPPoE connections).

There are three places in the Windows 2000 Registry where you can add the TCP Window parameter.

HKLM/SYSTEM\CurrentControlSet\Services\Tcpip\ParametersGlobalMaxTcpWindowSize="256960" (DWORD, number of bytes) Valid range is from MSS to 2^30. Add the value as a decimal. Note: For best results RWIN has to be a multiple of MSS lower than 65535 times a scale factor that's a power of 2, i.e. 44 x 1460 = 64240 x 2^2 = 256960. If you choose to use a RWIN lower than 65535, you can simply make it multiple of MSS and turn scaling off (Tcp1323Opts=0)

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersTcpWindowSize="256960" (DWORD, number of bytes) Valid range is from MSS to 2^30. Add the value as a decimal. TcpWindowSize can also exist under TcpipParametersInterface - if added at this location, it overrides the global setting for this particular . Note (10/20/00): Seems MS has found another bug in Windows 2000, the TCPWindowSize should be configured with the global setting (GlobalMaxTcpWindowsSize) rather than this one - Q263088

Note: For best results RWIN has to be a multiple of MSS lower than 65535 times a scale factor that's a power of 2, i.e. 44 x 1460 = 64240 x 2^2 = 256960. If you choose to use a RWIN lower than 65535, you can simply make it multiple of MSS and turn scaling off (Tcp1323Opts=0)

Tcp1323Opts

Tcp1323Opts is a necessary setting in order to enable Large TCPWindow support as described in RFC 1323. Without this parameter, the TCPWindow is limited to 64K.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersTcp1323Opts="1" (DWORD, recommended setting is 1. The possible settings are 0 - Disable RFC 1323 options, 1 - Window scaling but no Timestamp options, 3 - Window scaling and Time stamp options.)

Note: Tcp1323Opts="3" might help in some cases where there is increased packet loss, however generally you'll achieve better throughput with Tcp1323Opts="1", since Timestamps add 12 bytes to the header of each packet.

DefaultTTL

DefaultTTL determines the time in seconds and the number of hops a packet lives. While it does not directly affect speed, a larger value increases the amount of time it takes for a packet to be considered lost, discarded and retransmitted. A value that's too small can cause packets to be unable to reach distant servers at all.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersDefaultTTL="64" (DWORD, recommended setting is 64. Other settings that are widely used are 128 and 32)

EnablePMTUDiscovery

When set to 1 (True), TCP attempts to discover MTU automatically over the path to a remote host. Setting this parameter to 0 causes MTU to default to 576 which reduces overall performance over high speed connections. Note that this setting is different than our Windows 9x recommendation.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersEnablePMTUDiscovery="1" (DWORD - boolean, valid settings are 0-->False and 1-->True. Many connections perform better with this entry at 1, however, if you prefer to set your upstream to send fixed 1500 packets, you might want to use 0 instead). When set at 1, establishing connections and initial transfer speed might slow down a bit, however you will get better throughput if somewhere in the path large packets need to be fragmented.

EnablePMTUBHDetect

Setting this parameter to 1 (True) enables "black hole" routers to be detected, however it also increases the maximum number of retransmissions for a given segment. In most cases you'd want to keep BHDetect to 0 (False).

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersEnablePMTUBHDetect="0" (DWORD - boolean, valid settings are 0-->False and 1-->True. Recommended setting is 0)

SackOpts

This parameter controls whether or not SACK (Selective Acknowledgement) support is enabled, as specified in RFC 2018. SACK is especially important for connections using large TCP Window sizes.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersSackOpts="1" (DWORD - boolean, recommended setting is 1. Possible settings are 0 - No Sack options or 1 - Sack Option enabled).

TcpMaxDupAcks

This parameter determines the number of duplicate ACKs that must be received for the same sequence number of sent data before "fast retransmit" is triggered to resend the segment that has been dropped in transit.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersTcpMaxDupAcks="2" (DWORD - range 1-3, recommended setting is 2).

Additional TCP/IP Related Parameters

The additional TCP related parameters are not necessary in most cases, and you shouldn't expect any drastic improvements, however we added them for those of you who like experimenting. You might be able to gain that last bit of performance, or customize your TCP/IP behavior even more with those. Keep in mind you should familiarize yourself with what the parameters mean and how they affect your connection before changing their values

MTU

Setting MTU overrides the default MTU for the network interface it is added to. Note that if EnablePMTUDiscovery is set to 1, TCP will use the smaller value of this local MTU and the "Discovered" MTU of the underlying network connection. If you'd rather use only the MTU value specified here, you'd have to disable PMTUDiscovery, which would prevent your system from detecting the network MTU.

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\InterfacesMTU="1500" (DWORD, valid range is from 68 to MTU of network).
Note: For Windows XP PPPoE, there is an additional location for MTU that might need to be adjusted (to 1480, or up to 1492 as per the PPPoE specs), depending on the PPPoE software you use. Check the following location in the Registry:HKLM\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters\Protocols\0ProtocolMTU="1480"

Statuary Warning

Altering your registry configuration is not really an activity for those who aren’t comfortable with customizing their Windows OS. For those of you who aren’t comfortable changing the inner workings of your computer, but still want to optimize your broadband speed, patches are a viable solution. Adjusting your registry can be tricky and possibly mess up your system – so whether you’re making the adjustments yourself or downloading a patch, always export a backup file of the original settings before implementing any changes.

Monday, December 05, 2005

Kerela Sucks

well am stuck here in kerela.
cheesy internet parlours...
so no activity..
hang on till jan 2006

About Me

Coimbatore, Tamil Nadu, India