home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / cantwait.zip / cantwait.cmd next >
OS/2 REXX Batch file  |  1998-10-14  |  2KB  |  37 lines

  1. /*     Can't Wait speeds web browsing by decreasing the MTU size.
  2.     This program was written after I read an article on the net
  3.     on speeding up 95 web access.  I have always been pleased with
  4.     the speed that I have gotten under OS/2 via my 56K PPP connection
  5.     but I figured that it was worth a try.  After running this single
  6.     line change I cannot believe the difference in browsing.
  7.     I tried setting the MTU size in the OS/2 dialer.  This setting seemed
  8.     to be ignored.  A quick verification of the connection speed and MTU 
  9.     setting can be made with the netstat -nr command.  It is clear that
  10.     a PPP0 connection will default to a MTU setting of 1500.  I had 
  11.     always assumed that the greater the value the better, when actually
  12.     the smaller the better, 576 to be exact.  I have tested this out
  13.     with my home machine find that there is a very noticable difference
  14.     in web browsing.  I have also tried this with my work machine that
  15.     has an 8 Mbit cable modem with little to no change in performance.
  16.     I am not sure why and before I go digging for an answer perhaps some
  17.     fellow techie could fill me in.  
  18.  
  19.     The jist of this program is pretty straight forward.  After making
  20.     any dialup connection to the net you must run this program to make
  21.     the desired change.  Every hang up - redial cycle changes the MTU
  22.     size back to the default 1500.  Sure this program could be automatted,
  23.     have pretty graphics, etc., but that ain't for me.  You can copy this
  24.     CMD file to your OS2 directory or make an icon and put it on your desktop.
  25.     It don't matter to me.  BTW, this is free and I don't wanna hear about
  26.     any complaints cuz, 'you get what you pay for'.
  27.  
  28.     Have fun,
  29.     Tom Dodge
  30.     Dynamic Information Systems
  31.     dodge@disisit.com
  32.     http://www.disisit.com
  33. */
  34. say "I Can't Wait!"
  35. '@start /n ifconfig ppp0 mtu 576'
  36. say 'Gentle-people, start your engines'
  37.