|
|||||||
| HardwareHeaven Guides Want to learn something about hardware or software? from beginner to expert level, this is the place for you ! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
[color=red]The following guide is geard towards to those with a minium of 512MB of RAM (1GB is ideal) Please back up your registry prior to attempting it .[/color]
I've been using this and have noticed lower latency and more speed in general on line and figured I'd share it The first tweak is from over here: dslnuts It was modified to work in XP as defined bellow. You'll want to back up your registry before doing this and have 512 or more RAM for it to be useful. First you need to make a Ramdrive. I'm using this one myself, Ramdisk I left everything default except the size of the drive,(I set mine to 65MB) and selected emulate local hard disk for operating mode. Leaving it as Ramdrive made it inaccessible. Now go to run>regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Services From there you want to find afd netbt tcpip ipnat In each of those change the image path to your Ramdisk, (Z: is the default). \??\Z:\<service name> For afd it would look like \??\Z:\afd.sys Once you do that for all the above services you may also want to put your cookies and history there as well. This will delete your history and cookies whenever you reboot and is not required. The best way to do that is to use "find" in the registry to search for Cookies since history is in the same location. You want to change the image path for both of these to Z:\Cookies. The same for the history. Search for all instances of these two files. I believe there are three in XP. Now take the following script, (courtesy of Micro from Cablenut) and copy it to notepad: @echo on Echo Starting TCP/IP Services copy c:\windows\System32\DRIVERS\afd.sys z:\ copy c:\windows\System32\DRIVERS\netbt.sys z:\ copy c:\windows\System32\DRIVERS\tcpip.sys z:\ copy c:\windows\System32\DRIVERS\ipnat.sys z:\ net start afd net start netbt net start tcpip net start ipnat Save it as "login.cmd" and put it in root, (C:\ drive is default.) Drag and drop this now over to your start-up folder so it loads the script automatically on start-up. *If your system drive is other than C:\ rename it accordingly in the above script. Before you reboot open a browser, select tools>internet options>settings. Adjust it to the desired size (50MB works fine) Select "Move folder" and point it at your Ramdrive, hit OK than apply. Windows will than tell you you have to log off. Instead reboot you computer. That's pretty much it. ![]() What we've done here is: Put your TCPIP stack, network drivers, Cookies, History and Temporary Internet files in to a Ram drive. Since Ram is faster than a HD it speeds everything up a bit. When you reboot your system it also clears your temporary internet, cookies and history files. ![]() I hope you guys enjoy this as much as I am.
__________________
This is my "sig". There are many like them but this one is mine. Last edited by cypher_138; Aug 14, 2004 at 06:41 PM. |
|
|
|
|
|
|
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
Anyone here try this yet?
__________________
This is my "sig". There are many like them but this one is mine. |
|
|
|
|
|
|
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
Just an update for those using Mozilla or Firefox
For Mozilla go to Preferences>advanced>cache And simplily select the Ramdrive. Firefox requirers you to add the following line to your user.js // Path to Cache folder: user_pref("browser.cache.disk.parent_directory","Z :\\FF_Cache"); This is located here C:\Documents and Settings\<user_name>\Application Data\Mozilla\Firefox\Profiles\default.s8g\user.js While you're there might as well add this on to speed up pageload times. // This one makes a huge difference. Last value in milliseconds (default is 250) user_pref("nglayout.initialpaint.delay", 0); ctrl+s and your good to go.
__________________
This is my "sig". There are many like them but this one is mine. |
|
|
|
|
|
#4 |
|
HardwareHeaven Extreme Member
|
DSL tweak I’d personally steer clear off...
Each connection will be better off manually tweaked or left alone. The wrong setting can cause degradation not improvement. Every bodysconnections even on the same service can a will differ slightly. Which each little difference = a setting that should be different…Also there is a fine balance between latency and through put. For example one setting maybe better for gaming but another for downloading. As for the Ram drive I assuming this is based on the windows XP/2000 beta ram “drive“…If this is not I’d recommend people try the Microsoft provided ram drive it works great but there are size limitations with the Microsoft provided driver. People should be aware using a ram drive with you browser maybe slightly faster but a ram drive takes away from your total system memory thus reducing performance while gaming! Or doing anything that might need that memory especially video/audio encoding/decoding… Also people should understand what ever is saved on a ram drive will be deleted should they reboot or turn off their pc. It would be annoying at lest to me. I won’t be able to auto login at site like DH etc that use cookies to save info. After I reboot I’d have to re login… For the rest I simply don’t know, but this is not for novice users I have a feeling some one could Bork their system trying this … I’m not meaning to take a dump on your thread. But I should remind users they should back up any critical data before attempting anything like this… best wishes
__________________
Last edited by The_Neon_Cowboy; Jun 21, 2004 at 09:46 AM. |
|
|
|
|
|
|
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
Hi Neon,
I appreciate the feedback and disclaimer. I'll go back and edit my initial post to provide forewarning and revise it a bit. The above is'nt a DSL tweak. It just puts your stack and nic .sys files in RAM.. Cookies, temporary internet files and history are optional. Makes a big speed difference when online gaming. DSL tweak wise I use this http://www.speedguide.net/files/TCPOptimizer.exe I set it to custom> modify all network adaptersl>I leave RWIN blank in XP so the stack will auto adjust itself and set max browser connections to 20/10. You are right in that it's not a one size fits all type of deal. This guide will help you to find your best settings for your particular setup. It's very insightfull. http://forums.speedguide.net/showthread.php?t=73799
__________________
This is my "sig". There are many like them but this one is mine. |
|
|
|
|
|
#6 |
|
Back in London
Join Date: Jul 2003
Location: London
Posts: 1,797
Rep Power: 0 ![]()
|
this wont give you lower latencies. this wont improve your internet connection. all this will do is make surfing the web a little bit faster.
__________________
/|\ Asus P5W DH Deluxe, Intel C2D E6600, 2GB Corsair XMS2-6400C4 DDR2, E-VGA GeForce 7800 GT, Creative X-Fi Extreme Music, 500GB Seagate 7200.10 SATA, Lian Li PC-V1100 Aluminum Case Black, etc. http://germanjulian.com /|\ |
|
|
|
|
|
#7 |
|
Avril Fan
Join Date: Jun 2003
Location: somewhere in colombia, okok, bogotá city :p
Posts: 1,262
Rep Power: 0 ![]() |
do we really need to navigate the web faster?
__________________
Oblivion ftw |
|
|
|
|
|
#8 |
|
Old Codger
|
cant believe I missed this one..thanx
__________________
"Inspiration is always a surprising visitor."
|
|
|
|
|
|
|
|
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
Quote:
I'm still trying to see the impact SP2 has on this tweak. Are you running it with SP2?
__________________
This is my "sig". There are many like them but this one is mine. |
|
|
|
|
|
|
#10 |
|
I like computers.
|
Works fine on SP2
__________________
![]() Always knew I didn't belong in this world. I wasn't made for this. But I'll never forget those who betrayed me, and those who never failed my trust. |
|
|
|
|
|
|
|
Watching 1984 unfold
Join Date: Sep 2003
Location: Locked in a cage in some warehouse called NJ
Posts: 235
Rep Power: 0 ![]() |
Yeah it does seem to be working fine. I just wanted to check it out due to the changes SP2 made to the stack. Thanks for the heads up mYthicaL.
__________________
This is my "sig". There are many like them but this one is mine. |
|
|
|
|
|
#12 | |
|
I like computers.
|
Quote:
__________________
![]() Always knew I didn't belong in this world. I wasn't made for this. But I'll never forget those who betrayed me, and those who never failed my trust. |
|
|
|
|
|
|
#13 |
|
Old Codger
|
I am looking for a plain old modem tweak for dialup. Using AOL on my dads box, and he suffers from the 9.0 double buffering problem..lol..any ideas?
__________________
"Inspiration is always a surprising visitor."
|
|
|
|
|
|
#14 | |
|
DriverHeaven Senior Member
Join Date: May 2003
Location: Netherlands
Posts: 468
Rep Power: 0 ![]()
|
Quote:
http://www.tweak3d.net/tweak/modem/ for Win9X http://www.dansdata.com/sbs33.htm General http://www.beemerworld.com/tips/contweak.htm Win98 mostly http://forums.speedguide.net/showthr...ght=56k+tweaks
__________________
[color=sandybrown][color=white] [/color][color=white][color=white]M[/color][color=white]y Computer[/color]: [/color][color=white]3DMark2001[/color][color=white] - [/color][color=white]3Dmark2003[/color][color=white] - [/color][color=white]3DMark200[/color][color=white]5[/color][color=white] - [/color][color=white]PCMark2004[/color][/color]
|
|
|
|
|
|
|
#15 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
hey cypher_138 you can use this instead
copy c:\windows\System32\DRIVERS\afd.sys z:\ copy c:\windows\System32\DRIVERS\netbt.sys z:\ copy c:\windows\System32\DRIVERS\tcpip.sys z:\ copy c:\windows\System32\DRIVERS\ipnat.sys z:\ copy %SystemRoot%\System32\DRIVERS\afd.sys z:\ copy %SystemRoot%\System32\DRIVERS\netbt.sys z:\ copy %SystemRoot%\System32\DRIVERS\tcpip.sys z:\ copy %SystemRoot%\System32\DRIVERS\ipnat.sys z:\ then it doesnt matter which drive win is on (not sure if this works for win9x) |
|
|
|
|
|
#16 | |
|
DriverHeaven Newbie
Join Date: Sep 2004
Posts: 1
Rep Power: 0 ![]() |
hello cypher_138,
have you tried this tweak on Windows Server 2003? i try this on a win2k3 enterprise but tcpip.sys won't start. so i have no network connection. I've always got this error on my event viewer once i try this tweak. [color=yellow]The TCP/IP Protocol Driver service failed to start due to the following error: [/color] [color=yellow]Cannot create a file when that file already exists. [/color] i hope you can help me on this. thanks Quote:
|
|
|
|
|
|
|
#17 |
|
N00b Oldie
Join Date: Dec 2002
Location: Sweden
Posts: 12
Rep Power: 0 ![]() |
Did not get it to work though looked around and found another guide at http://www.speedguide.net/read_articles.php?id=131 where they use a .bat file extension and add \??\ like this : [color=#cc0000]ImagePath = \??\Z:\tcpip.sys[/color] for every altered imagePath and it worked for me
__________________
[color=orange]AMD Athlon 64 3000+ Thermaltake SB K8 | Asus K8VSEDX | Z300A-APF PSU | 2*512 MB OCZ PC3200 | HIS 9800 Pro | Hitachi 160 GB | Hitachi 120 GB | Audigy 2 | Plantronics Audio 90 | Samsung 16x/48x | LITE-ON 16x/10x/40x | Mitsubishi Diamond Pro 19´| MX 500 | WXP Pro SP2 [/color] |
|
|
|
|
|
#18 |
|
DriverHeaven Junior Member
Join Date: Nov 2004
Location: Tokoroa NZ
Posts: 20
Rep Power: 0 ![]() |
Nice!
Cheers this is a nice bit of tweaking wd.
Worked for me on xp service pack 2 with 1gb ram. Had to search for ramdrive your link seems bad now. Also \??\ was funny looking and i did not put the registry links as you had it thinking it was wrong. After i made the regisrty imagepath \??\Z:\<filename> it worked sweet as. I only made a 15mb ramdisk as the 4 files really don't take up much space i think even a lowly 256 mb of ram system could handle it. I shaved 2 ms of my ase pings to the game server so i'm pleased. Hopeing for better actually in game. Thanks dude and once again wd DH and ATI Rock
__________________
DH and ATI ROCK!!!!! |
|
|
|
|
|
#19 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
mmm...saw this page from a web search....
decided to try this, but... though the files are sent to the ram drive ok (drive letter R) the PC seems to think it has no network when I boot up with the reg settings as listed in the above posts...(with the drive letter changed) eg, for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\AFD I changed ImagePath from \SystemRoot\System32\drivers\afd.sys to \??\R:\afd.sys I had thought the \??\ was just stuff that you are supposed to change to suit your system, but a post in this thread says otherwise, so I left them in...# any tips on working out what I did wrong? |
|
|
|
|
|
#20 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
sounds like these arent running
net start afd net start netbt net start tcpip net start ipnat try running one of them manually from a dosbox and see what it says |
|
|
|
|
|
#21 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
mm...they should be running...at least, the .sys file is where it is supposed to be....
give me a sec to swap reg settings and I will check.... |
|
|
|
|
|
#22 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
Ok, here is what I got...(including 2 commands I ran after that..)
D:\Documents and Settings\Dave>net start afd The requested service has already been started. More help is available by typing NET HELPMSG 2182. D:\Documents and Settings\Dave>NET HELPMSG 2182 The requested service has already been started. EXPLANATION You tried to start a service that is already running. ACTION To display a list of active services, type: NET START D:\Documents and Settings\Dave>net start These Windows services are started: AVG7 Alert Manager Server AVG7 Update Service COM+ Event System Computer Browser Cryptographic Services DCOM Server Process Launcher Distributed Link Tracking Client Error Reporting Service Event Log FAH@D:+Program Files+Folding@Home+FAH502-Console.exe Help and Support Human Interface Device Access Network Connections NVIDIA Display Driver Service Plug and Play Print Spooler Protected Storage Remote Procedure Call (RPC) Remote Procedure Call (RPC) Locator Security Center Server Shell Hardware Detection System Event Notification System Restore Service Task Scheduler Terminal Services WebClient Windows Audio Windows Image Acquisition (WIA) Windows Management Instrumentation Windows Time Wireless Zero Configuration Workstation The command completed successfully. |
|
|
|
|
|
#23 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
interestingly enough, as I was booting up with the normal reg settings, so I could post this, I noticed 2 dos boxes coming up for less then a second....I decided to ad a pause to the .bat file that I was using, to see what those boxes said...this is what they say...
----box 1---- D:\>Echo Starting TCP/IP Services Starting TCP/IP Services D:\>copy D:\WINDOWS\System32\DRIVERS\afd.sys r:\ 1 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\netbt.sys r:\ The process cannot access the file because it is being used by another process 0 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\tcpip.sys r:\ 1 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\ipnat.sys r:\ 1 file(s) copied. D:\>net start afd The requested service has already been started. More help is available by typing NET HELPMSG 2182. ----box 2---- D:\>Echo Starting TCP/IP Services Starting TCP/IP Services D:\>copy D:\WINDOWS\System32\DRIVERS\afd.sys r:\ 1 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\netbt.sys r:\ 1 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\tcpip.sys r:\ The process cannot access the file because it is being used by another process. 0 file(s) copied. D:\>copy D:\WINDOWS\System32\DRIVERS\ipnat.sys r:\ The process cannot access the file because it is being used by another process. 0 file(s) copied. D:\>net start afd The requested service has already been started. More help is available by typing NET HELPMSG 2182. |
|
|
|
|
|
#24 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
going by what i can see you've made it a bit too complicated or maybe its just running a few times? check your startup locations
edit: could you post the bat file your using? |
|
|
|
|
|
#25 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
well, I only remember putting it into the startup folder...I removed the shortcut from there, and found that the file did not run
with the modded reg settings, the first 2 services did not show as running when I started them up seperatly in the dos box the batch file is @echo on Echo Starting TCP/IP Services copy D:\WINDOWS\System32\DRIVERS\afd.sys r:\ copy D:\WINDOWS\System32\DRIVERS\netbt.sys r:\ copy D:\WINDOWS\System32\DRIVERS\tcpip.sys r:\ copy D:\WINDOWS\System32\DRIVERS\ipnat.sys r:\ net start afd net start netbt net start tcpip net start ipnat |
|
|
|
|
|
#26 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
try putting net start tcpip first instead of net start afd
you can use startupcpl to see whats starting http://www.mlin.net/StartupCPL.shtml |
|
|
|
|
|
#27 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
changed it round, and the first 3 start ok, the last says it is allready running.
*retiring for night...will be back tomorrow* thanks for the help so far! |
|
|
|
|
|
#28 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
check the registry one more time just to make sure you typed in the locations right
|
|
|
|
|
|
#29 |
|
DriverHeaven Newbie
Join Date: Oct 2005
Posts: 8
Rep Power: 0 ![]() |
ok, just loaded up that reg backup.....
\??\R:\tcpip.sys the other 3 have the same format |
|
|
|
|
|
#30 |
|
DriverHeaven Senior Member
Join Date: Jun 2002
Location: Toronto
Posts: 1,209
Rep Power: 0 ![]() |
well i only got this working yesterday (had a clean install figured i might as well try it) so i'm basically out of ideas
![]() i have them starting in this order (i dont have netbt there because it doesnt run normally so no sense in me running it) tcpip afd ipnat you could try copying the files from elsewhere instead of the driver folder (i have to do that for x64 or else the file redirection crap kicks in), probably wont make a difference though. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|