TechSpot Blog

Technology news and commentary by the TechSpot.com staff

Archive for the ‘tips & tricks’ Category

Slow System Performance When Copying Large Files in XP x64 & Server 2003 x64 - And a solution!

with 2 comments

I’ve been using Windows XP x64 for about a year now. My previous OS of choice was Windows 2000 which I really loved, I swore to never upgrade to XP and in a way I succeeded because XP x64 is really just Windows Server 2003 x64 with another name. Some apps even identify it as the Server OS since it bears the same NT build number of NT v5.2.

The reason I finally upgraded was so I could access all of my new system’s 8GB of RAM, and also because I was getting tired of writing Win2K fixes for games like Bioshock and Crysis. ;-)
But from the very beginning of the transition I was disappointed; XP x64, when handling large files would slow down to a crawl.

I tried in vain to look for a solution, to give you an example: I’ve got a RAID5 array with 3 x 1TB hard drives and a lone Raptor 150GB for the OS. If I played back a 1080p trailer off Apple’s site stored to my hard drive using Quicktime Alternative the video would start to skip massively if at the same time I copied a large file from the RAID5 array to my Raptor disk, or extracted a file using WinRAR in the same manner.

Of course this is not the only problem, just an easy way to reproduce it. When I extracted large files I noticed that the Task Manager did not report memory being used under its graph, however the counter for available memory under ‘Physical Memory’ would go down a whole lot, using as much as 4GB of RAM when copying files at least that large!

This in itself is not an issue when memory is freely available as it’s a good idea to use it for cache. However something in the design of Windows causes it to be detrimental to performance. It wasn’t until I started using the Performance Monitor (perfmon) that I realized what the problem was and came upon a solution. When I monitored the system I noticed excessive Page Faults and Lazy Writes which would peak as performance dropped. So the reason for the slow performance is that when the file is cached in RAM it causes massive page faults, which also needs to be committed to the disk, which leads to disk trashing.

The issue gets more pronounced the larger the difference is between the disk that reads and writes, in the case of my system the RAID5 array has a read capacity of 160MB/sec, but the Raptor can only write at ca 70MB/sec. So therefore when reading a large file it takes only seconds to fill the cache. At which point the performance of my computer plummets, even browsing the start menu or opening the Control Panel takes ages, if I try to open the Add/Remove Programs applet which is filled with stuff it actually never opens until the copy process is completed!

After all this trouble looking for the solution I finally found the KB article that explains this issue:

You may experience a decrease in overall system performance when you are copying files that are larger than approximately 500 MB in Windows Server 2003 SP1 or in Windows Server 2003 SP2

Read the rest of this entry »

Written by Per Hansson

January 6th, 2009 at 4:42 pm

ZoneAlarm for Windows Vista? Don’t do it

with 39 comments

Update I have mentioned this post again on our front page after TS editor, Erik Orejuela downloaded a free copy of ZoneAlarm Pro earlier this month. The result was catastrophic for his Vista installation, even after a complete removal of the program and a system restore using the built-in Vista tool, the OS was simply bogged down enough that a clean format was the easier path to follow.

Several people have commented here since this post was made over a year ago and admittedly without any scientific or extended tests, we still recommend you to stay away from the ZoneAlarm + Vista combo.

Original post (October 9, 2007):
On a follow-up to my post yesterday about basic security programs you should be running under Windows XP, ever since I upgraded to Vista I revisited those program choices which for the most part remained the same with the exception of the free ZoneAlarm firewall…

In general, Windows Vista’s security is tighter and services such as Defender are more integrated into the OS. During the first couple of months, AVG’s anti-virus did not like Vista and it was common to find certain programs not working correctly until updates were released, even more so security suites that have to deal more directly with the core of the OS. ZoneLabs makers of the ZoneAlarm firewall took its time until the program was ready for Vista and it wasn’t until recently that it was made available on its free form as well (not part of the paid full suite).

Well, in short the experience I had with the latest build of ZoneAlarm for Vista was horrific. I noticed slowdowns and strange behavior from the OS that simply wasn’t there before. In other words, a far cry from the seamless integration and speed seen with the XP version.

If you come from XP and want to install ZoneAlarm in Vista… just don’t do it.

The good news is that Vista’s built-in firewall has proven sufficient for me so far though it does not feature outbound traffic monitoring. It’s time to look for an alternative full-featured free firewall if you are running Vista.

Written by Julio Franco

November 29th, 2008 at 11:04 am

Use the Windows Embedded Theme on XP and Server 2003 (without patching)

with 6 comments

Windows XP has to be the most tweakable and skinnable piece of software ever created. Of course, how to compete with such a dominant and widely used operating system, but then again it might also be its light blue fisher price-like theme that gets in everybody’s nerves eventually.

For some of us, upgrading to Vista has been somewhat of a relief. The rest of Windows users still using XP have probably either gone back to the silver boxy Windows or relied on official or third party patching for getting the job done. Unfortunately last time I checked (a couple of years ago), even the most elaborate skins for popular applications like WindowBlinds lack the finish and subtlety I require.

But don’t despair. My advice, use some of the Microsoft-made themes that replace the original blue theme and make for a much better impression than the built-in silver or green themes.

Windows Embedded Theme for Windows XP/2003

Previously available themes include:
Royale
Royale Noir (by far my favorite)
Zune theme

Now also available (thanks to Sizzled Core), the Windows Embedded theme that uses a strong blue but still looks quite good IMO.

Notice neither of these require UxTheme.dll patching or other workarounds.

Written by Julio Franco

October 13th, 2008 at 6:40 am

Crysis Warhead No Intro Fix

with 3 comments

Quick and dirty, I have modified the original Crysis no intro fix for the recently released Warhead which has 2 more intro screens that unlike the original game are not skippable as far as I know. Almost as annoying as forcing your paying customers that DRM crap. And while at that, I should mention the DRM is pretty decent in Warhead, not requiring you to put the DVD in the drive each time you want to play.

Click here to download the patch, unrar it into the games installation directory at: \Game\Localized\Video and then run remove.intro.crysis.warhead.bat

The only thing it does is renaming all files beginning with “Trailer” so you might as well just delete them all and be done with it ;)

Written by Per Hansson

September 19th, 2008 at 12:48 pm

Free Search Engine Optimization white papers

with 2 comments

Though on a somewhat abandoned state for the time being, we keep a co-brand with TradePub who offer a variety of free magazines, white papers and publications to qualified professionals. Their range of publications are not limited to IT or Computers however that’s what you are most likely to hear us promoting for obvious reasons.

Besides eWeek and Website Magazine which are some of their quality standard offerings, I recently got an email from TP letting me know of three new whitepapers on SEO (Search Engine Optimization) which is a recurrent topic on today’s Internet if you are looking to maximize your exposure on the web. Check them out if you’ve got a chance:

Do’s and Don’ts of Search Engine Optimization

Website Redesign and Search Engine optimization – Keys For Success

Determining the Best Keyword Strategies for Your SEO and SEM Campaigns

Written by Julio Franco

July 2nd, 2008 at 1:47 am

Two great time-saving tips for Firefox 3

with one comment

You have likely heard it a million times already, Firefox 3 is a very nice improvement over version 2, especially in the performance department. And while many still prefer to stick to their own improved versions of Opera and Safari (sorry IE, you are a disgrace right now), Firefox is by far the most used alternative browser. I believe that comes in part thanks to its flexibility for customization and the myriad of useful add-ons you can get for it.

I can’t stress enough the add-on part. From webmaster tools, to simple functionality tweaks and social networking integration. My following tips, however, lay on the side of about:config tweaks (that is, you have to manually apply these yourself in the settings registry by running the about:config command on the address bar). So here we go:

Search from the address bar
Firefox brought wide support for the secondary search field that will directly Google anything you type, however I found asking myself, why two text fields? Why not re-use the address bar, so it will go to full URLs directly or will Google any other keywords I type in there (by default Firefox uses Google’s I’m feeling lucky option = going to the first search result directly, which I don’t think is ideal most of the time).

You can change this behavior by entering the about:config command in the address bar, then filter the preference list by typing keyword. The option called keyword.URL should appear. Change its value from the default to:
http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=

That should do the trick. Now Google directly from the main address bar.

Make zoom settings tab independent
Firefox 3 upgrades zoom functionality present in previous versions by replacing font-only zoom to full page zoom which scales images and all other page properties. This may work to your advantage most of the time, but if you have many tabs opened for the same site, Firefox will think you want to zoom-in in all those tabs under the same domain. Personally I find this annoying.

So, enter the config zone and look up for the entry called browser.zoom.siteSpecific, then set it to False. This will prevent the browser from automatically zooming in all tabs from the same website.

Bonus tip
Did you know that you don’t have to type “www” or “.com” every time you enter an address? For example, just type “techspot” in the address bar, then use Ctrl + Enter to make it a full .com URL.

Written by Julio Franco

June 29th, 2008 at 4:14 am

Tab Mix Plux extension for Firefox 3 Beta

with 3 comments

If you have moved on to use Firefox 3 Beta 5 (as I recommended) then you know how much speed was left untapped with previous versions of the browser. There are still a quite a few popular extensions that are not compatible however, Tab Mix Plus, being perhaps one of the most general purpose and useful out there.

But worry no more. If you don’t mind the beta-over-beta code you will be running, there is an experimental version of the add-on available for Firefox 3 Beta 5 that seems to be working just fine. This still has not been posted to the official Mozilla add-ons site, so it’s a little gem I had to share. Enjoy.

Written by Julio Franco

May 10th, 2008 at 8:54 pm

Speed up Vista using Firefox 3 Beta

with one comment

If like me, you spend a sizable amount of your computer time on a web browser, you can forget about RAM or processor upgrades, it’s software where the hole was all this time.

First let me tell you that I’m an avid fan of trying new web browsers, or at least new versions of today’s traditional browsers like Firefox, Opera, IE and Safari, that includes betas and release candidates. But because I had grown so comfortable with my Firefox extensions and overall set up, I was ultimately drawn away from using experimental builds on a daily basis. It’s not until lately that I have seen a large number of Firefox add-ons ported to the Beta version (currently Beta 4) and so I thought it was time for another spin.

Seriously, the browser is speedy. I had previously experienced the improvements in Beta 1, I got a few random crashes then, but no more. I can tell you that on my desktop machine that is currently running Windows Vista on an Intel Core 2 Quad Q6600, I’m feeling a difference in speed that is way more palpable than when I upgraded from a dual core Athlon CPU, I had less RAM and was running on an older platform. I also have most of my extensions installed, so the comparison is more or less apples to apples. With a load of tabs divided in two windows, and many other programs running at the same time, the mere change in browser suddenly is making for a much smoother working experience.
In fact, I’m currently writing this on Firefox 3 Beta 4 Portable which let’s me run a standalone copy of the browser without sacrificing my older Firefox 2 install, so in case I want to roll back, it’s a non-issue.

I have also tried Internet Explorer 8 in Vista and it does offer similar speed improvements. Likewise, Safari 3.1 on OS X also welcomed me with better performance, but neither of those can replace Firefox for me. Opera lovers must also forgive me but I have not downloaded the latest Opera version yet, although just this past weekend I saw fellow editor Erik Orejuela running a gazillion tabs on it, probably more than Firefox 2 can handle without crashing (he switched after the 2.0.11 fiasco).

My recommendation, give Firefox 3 beta a try now and see how it works for you. Many of the most popular extensions are now usable on the beta (BTW, there is a newly revamped add-ons site). Somehow it seems all browser developers felt the need for speed on this iteration, so you can choose your browser flavor if FF is not your thing.

Written by Julio Franco

March 31st, 2008 at 4:55 am

Turn a small home UPS into a giant UPS (video)

with 5 comments

Having a UPS is fairly common these days. However, one gripe I’ve always had and that you might too is the limited capacity you get on them. Even nicer $200+ ones might only give you a few minutes on a powerful PC, and for large capacity you could easily spend $1000 or more. Neither option was good for me. So I decided to make a better one myself.

To start with, I purchased 3 “Ultra” brand UPSs about a year ago. They are completely silent, small, and functional. Cheap, yes, but functional. However, with my machine on one of them, it only lasts around 3 minutes before powering off. This might be enough to shut it down, but if the power is out for only 15 minutes I’d rather just ride it through. Inside the UPS were 2 small sealed lead acid batteries, like you find in most UPS units, 12V each, in series. They are the same type of battery you find in cars, trucks and boats - just smaller. Using that logic, I took some common hardware and rebuilt this UPS. I did a small bit of research to determine the proper wire size given the load. The UPS used is an Ultra 1000VA. (warning, a small bit of profanity is in the video)

The tools involved were simple. I had 20 feet of 10 Gauge wire, two ring terminals and several Male/Female disconnects. I needed wire strippers and wire crimpers for that. The UPS itself only required a screwdriver to take apart. I used a nice Dremel to bore a hole in the plastic, though realistically you could do that with a knife. For the batteries, I purchased battery boxes. It was a simple matter to remove the stock batteries, run and terminate the wire, then put the new batteries in place.

There are downsides to doing it with these batteries. Space, of course, and safety. These are standard lead-acid deep cycle batteries, meaning that they can and do release gas when discharging. For that reason, I have these batteries situated outside. To do this safely indoors, you need a well-ventilated room OR you need to use sealed batteries.

I am going to do this with the other two UPS units, too. Next time, however, several things will change. I am going to use sealed batteries, slightly more expensive but completely safe to use indoors. I will also use shorter cable lengths. I will remove the buzzer inside that makes that awful beep, and I will install a slow 80MM or perhaps 120MM fan inside, quiet but enough to bring some air over the unit in case sustained operation heats it up too much.

All in all, I spent about $300, including the tools, to make a UPS with an ~80AH capacity.

Written by Justin Mann

March 2nd, 2008 at 2:06 am

POPFile, the best free spam filter bar none

with 4 comments

While I find Gmail’s spam filter pretty adequate, for people with POP email accounts, or even worse, POP accounts that have to be visible on the web (like my techspot.com address), fighting spam can become quite the nightmare. Even with some server-side software setup, spammers can learn the software’s filtering behavior and bypass it easily. Just the same thing happens with blacklists.

Say hello to POPFile, an open-source automatic mail classification tool that just works (after some training).

I can’t remember why exactly, but I stopped using POPFile sometime in the last two years, perhaps spammers stopped liking my address and I saw no use for it anymore. Digging out through TechSpot’s archives I found that I first recommended POPFile back in 2003. Now, I have been using it again for the past few months and after 3-5 days of training, the software is smart enough to tell between actual email from spam around 96% of the time.

In fact, POPFile works in such a way that you can configure various “buckets” or categories so it can classify your email in Outlook or any other desktop application you use upon delivery. Did I mention it’s cross-platform, too?

Out of the dozens of spam filters out there, only a handful are free and look trustworthy enough to me. POPFile has not changed much in the last few years, but that’s not a bad thing necessarily. Even with its rudimentary looks and slightly documentation, it’s a huge time saver once set up. Give it a try, put it to work, and let me know if you like it.

Written by Julio Franco

February 11th, 2008 at 2:58 am