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

    • I disagree here sorry. The majority of their customers are corporations who are locked in to their eco system and have no choice. Private individuals don't contribute that much to their income.
    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      485
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!