Speed Up Web Browsing


Recommended Posts

Some of you might know about this one, some might not. I read about it a long time ago, and been doing it for months now. I dont remember exactly where I read it from, but if someone knows the original link do share. This speeds up web browsing by alot, atleast for me it has. Try it but make sure you keep a backup note on the original paths and such being replaced. If it doesnt work, you can just go back to normal. If it does not work I am letting you all know right now, YOU WILL NOT BE ABLE TO GO BACK ONLINE. You have been warned, so try it with caution and have backups.

First, What youll need:

Get your hands on a good RAM Disk. I am using SuperSpeed Software's RAMDisk Plus 7.0. I got it off a friend who bought it a lil while back. There are free ones available out there though. There is the Microsoft one, which I dont recommend. And my best bet for anyone who doesnt wanna buy a RAMDisk program is ARsoft's RAMDisk, which can be found hereRAMDisk. They have stopped the program, but you can still download it.

Configuration:

I left everything default on the RAMDisk. If you are using the ARSoft one do the same, except change the size to 65MB and select emulate local hard disk. Make sure to leave the drive letter as Z.

The harder parts:

Once all that is configured, we go into the more complicated part. Get that RegEdit running (Start>Run>Regedit.exe) and surf your way over to the following...

-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services-

From that location, youll want to find each of the following...

Afd

Netbt

Tcpip

Ipnat

In each of those change the image path to your Ramdisk, (Z:\).

Z:\<service name>

It would go as follows

Z:\afd.sys

Z:\netbt.sys

Z:\tcpip

Z:\ipnat

Once your done with that, make sure to also set your History and Cookies folder in there as well. To do that just search the Registry for anything called "Cookies", without the quotes. Change the directory of that to Z:\Cookies. In that same area search for history and change the directory to Z:\History. Search for all instances of these two files. I believe there are three in XP.

Now open Notepad and put the following script in there...

<Begin>

@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

<End>

Make sure to leave out the <Begin/End> parts, as I just put those there to make it easier for some. Save that Notepad file as login.cmd and save it on your main HD, which for most of us is C:\. Then, grab the file and drag and drop it into the Startup folder in your Start>Programs menu. This way, everytime you startup your PC, XP will place those 4 files into the RAMDisk drive so that they can be used. IF THIS DOES NOT HAPPEN, REMEMBER TO KEEP A BACKUP OF THE ORIGINAL DIRECTORIES SO YOU CAN UNDO THE BEFOREHAND PROCESS.

Before you restart open a IE6/7, and select Tools>Internet Options>Settings. Adjust it to the desired size (50MB works fine) and select "Move folder" and point it at your RAMDisk. Hit ok, apply, and proceed to reboot your computer.

This helped speed up my internet browsing, and it also deletes your temporary files and such from being on the HD. Now below will be the ORIGINAL paths, in case you need to go into regedit and undo any of the things you made. Once you do that, just delete login.cmd from the startup folder and from the C:\ drive. You can then uninstall the RAMDisk, and voila, back to normal. Reboot for the changes to take effect.

c:\windows\System32\DRIVERS\afd.sys

c:\windows\System32\DRIVERS\netbt.sys

c:\windows\System32\DRIVERS\tcpip.sys

c:\windows\System32\DRIVERS\ipnat.sys

Hope it works for you, like it has for me. I in no way made this up myself, so I am not to take credit for it working or not. I just felt Id share a trick Ive been doing for some time now. Enjoy!!! :yes:

Link to comment
https://www.neowin.net/forum/topic/351721-speed-up-web-browsing/
Share on other sites

So...the genius behind this tweak is to tell the computer to write internet files onto a disk as opposed to what it normally does, which is to write files onto a...disk...

So at best, you'll get the same speed, because the computer is writing these files onto the harddrive, in a different directory. At worst, you'll lose speed because the computer is trying to write files onto your "RAMDisk".

So...the genius behind this tweak is to tell the computer to write internet files onto a disk as opposed to what it normally does, which is to write files onto a...disk...

586300428[/snapback]

Huh?

RAMDisk is a virtual "hard-drive" persay that is in your RAM. So no, its not writing it to a "disk". I dunno how much this would speed it up, but in theory, it sounds like a good idea. I always wanted to put my pagefile on a RAMdisk, so i could get a nice little paradox goin on there.

Now what you SHOULD do, is go out and get a RAMDrive.

http://www.cenatek.com/product_rocketdrive.cfm

Then install your OS onto that, THEN you could not only surf faster, but do everything faster. :)

  • 3 months later...

Well most modern browsers save cache to memory now anyways. Like Fire Fox and Opera.

So kinda pointless, unless you just have to use IE. :p

Then using hardware RAM drive is a great idea if you can afford it, sadly I can not. :(

Yes install OS on one RAM drive, browsers and other internet related appz on anther, and games on another one, page file on another one, and everything else on another one. And be sure and use 10,000 RPM hard disks in Raid. hehe That would rock!!

Hmm, I wonder if you COULD put your pagefile on the RAM drive. I got 2GB of RAM and most of it is unused, id love to try that.

586300770[/snapback]

That would defeat the point of having a Page file - because a page file, by definition, 'pages' areas of memory to the Hard disk to "

free up RAM".

Kinda stupid to page areas of one part of RAM to ... another part of RAM.

Better off just turning off paging altogether if you *really* think you have enough RAM.

Well most modern browsers save cache to memory now anyways. Like Fire Fox and Opera.

So kinda pointless, unless you just have to use IE. :p

Then using hardware RAM drive is a great idea if you can afford it, sadly I can not. :(

Yes install OS on one RAM drive, browsers and other internet related appz on anther, and games on another one, page file on another one, and everything else on another one. And be sure and use 10,000 RPM hard disks in Raid. hehe That would rock!!

586747761[/snapback]

Also a good point- since they are trying to use RAM now (since most modern system have a decent amount of RAM) that is *in theory* a good idea - until, of course, you get to a point where that RAM is needed by another resource-intensive / RAM intensive program - and then that cache is save ... again ... to a hard drive.

Not *always* a myth. When used in terms of something like compiling, it can be of a *tremendous benefit.

I have stats to prove it - in emerging an app in Gentoo I can time how long it takes to do so when using a normal compile method and when I mount a particular directory, /var/tmp/portage to a tmpfs (basically same concept as a RAM drive in Gentoo) - compile time is almost 1/3 of regular.

In a Windows environment I can agree with you - there is so much crap out there that it is *impossible* to have a system that will not page *something* at some time - and thus a RAM drive will be a waste of time unless you have something inordinately high, like 16 GB or more, and can create a small 500 MB RAM drive for use as a chance that does not get paged - but the key is to have sufficient RAM available to allow for this - and most people don't get sufficient RAM to begin with.

I completed building my machine 3.5 years ago next week, and it had 1.25 GB RAM - I took out the 256 MB and left the dual 512s for dual channel purposes, and it is 8still* running 1.0 GB - and I know people buying machines *now* that only have 1 GB.

define faster. IE loads faster b/c half of its components are in active use by Windows Explorer (which is used to display most normal desktops in XP), so it is fast to load. but as far as rendering pages, I have seen the gap / margin between Fx and IE get very tiny, especially in terms of rendering, with the 1.5 Betas. And, after loading 1.5 Bx once, the next several times I load it it loads instantaneously, as fast as IE - and sometimes, depending upon system resource usage, faster than IE.

So...the genius behind this tweak is to tell the computer to write internet files onto a disk as opposed to what it normally does, which is to write files onto a...disk...

So at best, you'll get the same speed, because the computer is writing these files onto the harddrive, in a different directory.  At worst, you'll lose speed because the computer is trying to write files onto your "RAMDisk".

586300428[/snapback]

Just for you:

Access Time for Hardisk: 8 to 10 ms (or even more)

Access Time for Ramdisk: less 70 us (microseconds) , or 0.070 ms

Transfer rates for ram are also way better for ramdisk then harddrives.

Additional:

Bigger security: all cookies and temp files are deleted when the computer gets turned off.

define faster.  IE loads faster b/c half of its components are in active use by Windows Explorer (which is used to display most normal desktops in XP), so it is fast to load.  but as far as rendering pages, I have seen the gap / margin between Fx and IE get very tiny, especially in terms of rendering, with the 1.5 Betas.  And, after loading 1.5 Bx once, the next several times I load it it loads instantaneously, as fast as IE - and sometimes, depending upon system resource usage, faster than IE.

586772612[/snapback]

faster: ie browses and loads faster.

you would be better off just disabling your page file.
Disabling the page file is a Myth

Internet Explorer is faster then Firefox in all aread except script speed. Browser Speed Comparison Test. FYI Opera is faster then both of them.

Windows uses RAM most efficiently without the overhead of a RAMDisk. Adjusting the size of your browsers cache would have more a positive effect.

  • 2 years later...
Windows uses RAM most efficiently without the overhead of a RAMDisk. Adjusting the size of your browsers cache would have more a positive effect.

Oh, really? I disagree!

(& this stuff will work for performance, and even a bit for security gains, for anyone & here is how):

------------------------

1.) Move webpage caches, history, & logging to it, for webbrowsers!

Each is easily doable in today's webbrowsers, either via their GUI interfaces, OR configuration files (or registry entries).

This avoids clutter & fragmentation on your main OS + programs bearing disk drive.

This also speeds up access to they, & largely, they are "READ" based, such as graphics (larger part) & static for HUGE periods & unchanging... best & fastest read they can get from a disk, is from an SSD!

Now, the text part? If done as I do it for security AND speed?? I use NTFS formatted disks: This speeds up their already many orders of magnitude faster pickup from disk vs. std. mechanical HDD's even more, by using compression (smaller filemass reads up faster)... & the decompress stage today is hugely offset by today fast CPU's & RAM (more than offset by gain in access/seek & loads noted above).

------------------------

2.) Same with EventLogs!

Via this registry entry (this is one example, but the FILE value alteration is the same on ANY logs near here too, like Application, System, Internet Explorer, Security, SQLServer &/or IIS ones, you name it):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System

Change the FILE value to the disk & folder + filename of your choice to gain speed & yes, potentially security too (by keeping dummies in the old locations, where the new ones build on a disk that does not take an access/speed hit & works faster too, like an SSD)

OTHER APPS CAN DO THIS TOO, WinZip being an example of an app that does logging... DrWatson/DrWtsn32 is yet another, & the lits goes on.

------------------------

3.) Pagefile.sys placement

I do this on the primary/first partition of my CENATEK RocketDrive Solid-State RamDisk: Far faster access than std. mechanical disks, especially considering paging bypasses the filesytem driver & goes direct in "RAW WRITES" to the diskdrive like its own disk/partition really & F A S T E R by far alone, but, this helps it more (speed of access mainly is why, & also helping to stop fragmentation by the pagefile.sys during its bootup./shutdown grow-shrink (if needed) patterns... grow happens, shrink I have never actually seen occur, unless a user makes it happen, OR, if done by pagefile.sys wipes (possible via reg hack for security purposes)).

------------------------

THIS IS NOT SOFTWARE BASED RAMDRIVES HERE... this is solid-state, TRUE ssd (not FLASH stuff)... very fast & VERY useful, in overcoming objections to ramdisk usage (to which some points on softwares ones DO apply, & I agree, unless a system has over 4gb of memory on it... then, you CAN actually pull some cool tricks with a 32-bit OS like the boot.ini memory /exclude ranges trick & use them for a HUGE ramdisk if you have the software for it (ArSoft's FREE one, comes to mind here... unlimited 4gb 32-bit Win32 PE limited only!)

------------------------

ADDITIONALLY/BACKGROUND:

This also works for speed in information systems (i.e.- database work):

Ideas of mine took EEC SYstems/SuperSpeed.com to a FINALIST position @ Microsoft Tech-Ed 2000-2002, in the hardest category there: SQLServer Performance Enhancement.

The article for the wares by this company got reviewed excellently by Windows IT Pro magazine technical editor Mr. John Enck, & my research was used above his for instance (he only covered a fraction of what I had is why) while I wrote programs for improving their SuperCache product.

I also authored what WAS the front page article @ CENATEK in a review of their RocketDrive (was good enough that I bought one, & employed it above, & THAT is only a partial list too, of how I really use it & why) which for years was featured above many others from famous websites or magazines even... they knew who I was, because I used to put out a software based RamDisk + GUI front end tuner... they thought I was "competition" & I was not really.

APK

P.S.=> My SSD, an older CENATEK "RocketDrive" has backup powersupply of its own, unlike software based ramdisks, & I keep a UPS is why I don't worry here about losing data like logs...

There are F A S T E R units out here like it, & not "FLASH BASED" with their limited WRITE lifecycles, but faster RAM than mine (PC-133 SDRAM) & faster busses too (PCI 2.2 = 132mb/sec)...

Gigabyte's IRAM is a good example, with DDR2 RAM, & SATA 150,b/sec busses...

PLUS, an even a faster one's out there in prototype called the DDRDrive X1 (DDR RAM & PCI-Express bus using, but not in fullblown production afaik & I wish it WOULD be)...apk

Edited by APK
Talk about thread resurrection! Geez.

Necessary, per the points I posted above...

They're correct & do work for better performance (& security even) by using Solid-State Ramdisks/RamDrives!

Especially for the things noted on a Solid-State RamDrive unit (even paging), & for webpage caching, %temp/tmp% ops (which I did not list above), logging from the OS & its subsystems + apps logs (& even MIS/IS/IT related work)?

"UnToUcHaBLe"... &, proven so in fact by many sources as to how/why. Some of which were my own which corporate bodies employed to GOOD effect as noted above... others from other sources I have not listed.

Even Linus torvalds of LINUX fame is excited about them, per an article I read about the future direction of Linux in 2008 & computing on it... why?

Reduced latency!

Linus Torvalds gets excited by SSDs - Next biggest thing

http://www.theinquirer.net/gb/inquirer/new...ts-excited-ssds

I'd say ole' Linux Penguin #1 pretty much knows his stuff, despite the fact I like Windows better.

I've been saying it for years, for more than a decade in publication & online... & it works, per MS Tech Ed stuff I note above for one, & from research I've done & others have as well that is in publication or practical use (not just for IS/IT/MIS stuff, but for home users too)!

These things ARE the future of I/O, especially high-performance io. However, I hope they don't mean FLASH based ones... the limited write lifecycle is NOT as good as SDRAM/DDR/DDR2 RAM based TRUE SSD's have, by far.

APK

P.S.=> I missed posting about %temp/tmp% environmental variables placements there as well in my first post here on this toipic (another one is placing your %COMSPEC% command interpreters there, like cmd.exe for example)... it's/they're other/another one(s) that is/are outstanding & useful for performance' sake...

PLUS, lastely... these SS disks? They defrag UNBELIEVABLY FAST as well... which works out for webpage caches the best imo, as well as logging... even if the defragger's set to "aggressively consolidate freespace", especially in comparison to std. mechanical HDD's...

I also run my browsers & email apps (plus occasionally others, for "debugging purposes" & tracing) thru a great little idea for an app, especially online for security, & that is SANDBOXIE... & guess where I place its "sandbox"?

You guessed it: My Solid state Ramdisk... faster performance is why, all the way around... apk

Edited by APK
You really think it's necessary to resurrect a more than two year old thread? :|

Well, when it contains information that is "off"? Sure, why not - misinformation (even if due to stale information) is still worth correcting for.

(Don't you agree?)

APK

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Windows Server gets DNS over HTTPS (DoH) support by Usama Jawad For the past few months, Microsoft has been previewing DNS over HTTPS (DoH) for Windows DNS Server, touting it as a foundational upgrade for zero-trust enterprise networks. It essentially introduces encrypted, authenticated DNS for the networks rather than transmitting DNS traffic in clear. Now, the company has introduced the general availability (GA) of this feature. The GA of DoH encourages organizations to deploy the solution in production environments without implementing a new client-to-resolver architecture. DoH helps improve the overall security of the network and reduces the risk of spoofing due to its zero-trust design. This is a significant change because pretty much every interaction with the network requires interfacing with DNS. DoH offers several advantages over standard DNS traffic, such as encryption using HTTPS, preventing unauthorized inspection, man-in-the-middle attacks, and traffic analysis. Since it leverages TLS certificates so that clients can verify the identity of the DNS server, it prevents spoofing through this authentication mechanism. Additionally, it's built on the DoH standard defined by the Internet Engineering Task Force (IETF), which means that it should work with modern RFC 8484-compliant clients. Finally, it integrates into the existing network architecture seamlessly and can even run in parallel with standard DNS, so that customers can migrate to the new technology at their own pace. Microsoft says that in the past few months of preview, DoH has become more stable, and customers can confidently deploy it in production environments with proper guidance. Microsoft has emphasized that migrating to DoH is necessary for organizations that are moving toward zero-trust DNS solutions. Windows clients already support DoH, but the latest availability on Windows Server provides encrypted DNS to all endpoints. The company has also mentioned that "while this release focuses on encrypting client-to-resolver communication, support for encrypted communication between Windows DNS Server and upstream DNS resolvers is planned for a future update." You can follow Microsoft's guidance to deploy DoH here, but keep in mind that you need a Windows Server 2025 installation with the latest Patch Tuesday updates installed.
    • Lol I had one of these turn faulty in Jan, guess it wasn't just bad luck lol
    • I'm team Rossmann all the way. I have the exact same NVME, altough not in an array like him.
    • It had gone weeks ago. Although thinking about it I'm on the beta.
    • They thought value of their goods would forever only drop like it used to and didn't account for sudden increase in price because of all the Ai hype. Tough luck Samsung, don't try to weasel this one out. Also American customer protection laws are a**. In Europe, you need to be compensated for a functioning product of same or better characteristics (not same price point as when it was originally bought!) if it can't be repaired and when you receive a replacement product your warranty starts from scratch because you received a different item than you previously had and old warranty thus cannot apply to it anymore. If your actual item was successfully repaired, warranty gets extended for the period the item was in service. If item is repaired to a significant extent, warranty also starts over from scratch because major part of it was replaced. Americans need to fight to get this kind of consumer protections because they are constantly getting screwed over.
  • Recent Achievements

    • Week One Done
      davidbazooked earned a badge
      Week One Done
    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      184
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!