Tuesday, December 15, 2009

Understanding the Windows Pagefile and Why You Shouldn't Disable It

As a tech writer, I regularly cringe at all the bad tweaking advice out there, and disabling the system pagefile is often a source of contention among geeks. Let's examine some of the pagefile myths and debunk them once and for all.

What is a Pagefile and How Do I Adjust It?

Before we get into the details, let's review what the pagefile actually does. When your system runs low on RAM because an application like Firefox is taking too much memory, Windows moves the least used "pages" of memory out to a hidden file named pagefile.sys in the root of one of your drives to free up more RAM for the applications you are actually using. What this actually means to you is that if you've had an application minimized for a while, and you are heavily using other applications, Windows is going to move some of the memory from the minimized application to the pagefile since it's not being accessed recently. This can often cause restoring that application to take a little longer, and your hard drive may grind for a bit.

If you want to take a look at your own pagefile settings, launch sysdm.cpl from the Start menu search or run box (Win+R) and navigate to Advanced �> Settings �> Advanced �> Change. From this screen you can change the paging file size (see image above), set the system to not use a paging file at all, or just leave it up to Windows to deal with—which is what I'd recommend in most cases.

Why Do People Say We Should Disable It?

Look at any tweaking site anywhere, and you'll receive many different opinions on how to deal with the pagefile—some sites will tell you to make it huge, others will tell you to completely disable it. The logic goes something like this: Windows is inefficient at using the pagefile, and if you have plenty of memory you should just disable it since RAM is a lot faster than your hard drive. By disabling it, you are forcing Windows to keep everything in much faster RAM all the time.

The problem with this logic is that it only really affects a single scenario: switching to an open application that you haven't used in a while won't ever grind the hard drive when the pagefile is disabled. It's not going to actually make your PC faster, since Windows will never page the application you are currently working with anyway.

Disabling the Pagefile Can Lead to System Problems

The big problem with disabling your pagefile is that once you've exhausted the available RAM, your apps are going to start crashing, since there's no virtual memory for Windows to allocate—and worst case, your actual system will crash or become very unstable. When that application crashes, it's going down hard—there's no time to save your work or do anything else.

In addition to applications crashing anytime you run up against the memory limit, you'll also come across a lot of applications that simply won't run properly if the pagefile is disabled. For instance, you really won't want to run a virtual machine on a box with no pagefile, and some defrag utilities will also fail. You'll also notice some other strange, indefinable behavior when your pagefile is disabled—in my experience, a lot of things just don't always work right.

Less Space for File Buffers and SuperFetch

If you've got plenty of RAM in your PC, and your workload really isn't that huge, you may never run into application crashing errors with the pagefile disabled, but you're also taking away from memory that Windows could be using for read and write caching for your actual documents and other files. If your drive is spending a lot of time thrashing, you might want to consider increasing the amount of memory Windows uses for the filesystem cache, rather than disabling the pagefile.

Windows 7 includes a file caching mechanism called SuperFetch that caches the most frequently accessed application files in RAM so your applications will open more quickly. It's one of the many reasons why Windows 7 feels so much more "snappy" than previous versions—and disabling the pagefile takes away RAM that Windows could be using for caching. Note: SuperFetch was actually introduced in Windows Vista.

Put the Pagefile on a Different Drive, Not Partition

The next piece of bad advice that you'll see or hear from would-be system tweakers is to create a separate partition for your pagefile-which is generally pointless when the partition is on the same hard drive. What you should actually do is move your pagefile to a completely different physical drive to split up the workload.

What Size should my Pagefile Be?

Seems like every IT guy I've ever talked to has stated the "fact" that your pagefile needs to be 1.5 to 2x your physical RAM—so if you have a 4GB system, you should have an 8GB pagefile. The problem with this logic is that if you are opening 12 GB worth of in-use applications, your system is going to be extremely slow, and your hard drive is going to grind to the point where your PC will be fairly unusable. You simply will not increase or decrease performance by having a gigantic pagefile; you'll just use up more drive space.

Mark Russinovich, the well-known Windows expert and author of the Sysinternals tools, says that if you want to optimize your pagefile size to fit your actual needs, you should follow a much different formula: The Minimum should be Peak Commit � Physical RAM, and the Maximum should be double that.

For example, if your system has 4GB of RAM and your peak memory usage was 5GB (including virtual memory), you should set your pagefile to at least 1GB and the maximum as 2GB to give you a buffer to keep you safe in case a RAM-hungry application needs it. If you have 8GB of RAM and a max 3GB of memory usage, you should still have a pagefile, but you would probably be fine with a 1 GB size. Note: If your system is configured for crash dumps you'll need to have a larger pagefile or Windows won't be able to write out the process memory in the event of a crash—though it's not very useful for most end-users.

The other size-related advice is to set the minimum and maximum size as the same so you won't have to deal with fragmentation if Windows increases the size of the pagefile. This advice is rather silly, considering that most defrag software will defragment the pagefile even if Windows increases the size, which doesn't happen very often.

The Bottom Line: Should You Disable It?

As we've seen, the only tangible benefit of disabling the pagefile is that restoring minimized applications you haven't used in a while is going to be faster. This comes at the price of not being able to actually use all your RAM for fear of your applications crashing and burning once you hit the limit, and experiencing a lot of weird system issues in certain applications.

The vast majority of users should never disable the pagefile or mess with the pagefile settings—just let Windows deal with the pagefile and use the available RAM for file caching, processes, and Superfetch. If you really want to speed up your PC, your best options are these:


On my Windows 7 system with 6GB of RAM and a Windows-managed pagefile, every application opens quickly, and even the applications I haven't used in a while still open almost instantaneously. I'm regularly running it up to 80-90% RAM usage, with dozens of application windows open, and I don't see a slowdown anywhere.

If you want to read more extremely detailed information about how virtual memory and your pagefile really work, be sure to check out Mark Russinovich's article on the subject, which is where much of this information was sourced.


Don't agree with my conclusions? Voice your opinion in the comments, or even better—run some benchmarks to prove your point.


The How-To Geek has tested pagefile settings extensively and thinks everybody should just upgrade to Windows 7 already. His geeky articles can be found daily here on Lifehacker, How-To Geek, and Twitter.


Read More... [Source: Gizmodo: top]

Spy Shots: Alfa Romeo Kamal Concept snapped at Fiat R&D facility?

Filed under: , , , ,

If this crossover looks a little familiar, your eyes are not playing tricks on you. Alfa Romeo unveiled this concept vehicle at the 2003 Geneva Motor Show. It was called the Kamal, and it was supposed to have gone into production by now. But things have been a little crazy over at the Fiat group. Mergers and acquisitions have collapsed and others have gone through, forcing the Italian automaker to change its product strategy at every turn.

What has us asking questions all over again is this batch of spy shots reportedly leaked by an employee at Fiat's Elasis research and development facility in Pomigliano, Italy. Of course, it's entirely possible the original concept was being moved from one storage facility to another, but then they could be bringing it out again for another reason. One way or another, we should find out soon as Fiat/Chrysler CEO Sergio Marchionne prepares to decide on Alfa's fate in due course.



[Source: alvolante.it via Worldcarfans]

Spy Shots: Alfa Romeo Kamal Concept snapped at Fiat R&D facility? originally appeared on Autoblog on Mon, 14 Dec 2009 17:59:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments
Read More... [Source: Autoblog]

�Sewing For <b>Conservative</b> Men� � The Westendorf 7

This, oddly enough, is actually the title of a book, advertised in a Mennonite catalog I received in the mail recently (apparently it is intended for the wives of said conservative men, not for the men themselves to learn to sew). ...
Read More... [Source: Conservative - Google Blog Search]

UFC Undisputed 2010 trailer reminds us of MJ, makes us sad

Aww, we were having such a good time watching last night's Spike Video Game Awards show -- then the trailer for the recently dated UFC Undisputed 2010 aired, and really soured our enjoyment of the event. See, the first minute of the video utilizes the transformative special effects featured in Michael Jackson's "Black or White" music video, so immediately we started thinking about how this would be our first Christmas without MJ in our lives. Nothing could revive our good spirits after that. Not even Kimbo Slice's beard, which may be filled with hidden candies.

Check out the trailer after the jump above, but feel free to skip to the 0:52 mark if you want to avoid the melancholy described above. Alternatively, skip to the 1:01 mark if you want to witness Kimbo's glorious, confection-rich facial hair.

JoystiqUFC Undisputed 2010 trailer reminds us of MJ, makes us sad originally appeared on Joystiq on Sun, 13 Dec 2009 14:00:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments
Read More... [Source: Joystiq]

Yacht, Mercedes Part Of Failed Bank Auction

carver yacht
FDIC auctions of bank assets are generally pretty nondescript offering office chairs, computer equipment, banged-up file cabinets and other office supplies. But the assets of the bankrupt Community Bank of Nevada includes a 41-foot yacht. The 2005 41' Carver Cockpit motor yacht has cherry wood bulkheads and cabinetry, a wet bar with an ice maker on the deck and twin Volvo 375-horsepower gasoline-powered engines. The yacht is currently located in Newport Beach, California and bids are currently over $56,000. The named of the yacht? Happy Ending. Several cars are also part of the bank's assets. Also up for sale are a couple of of 2005 Chrysler PT Cruisers and a 2009 Scion XB decorated with bank decals. There is also a 2007 Mercedes-Benz S550 up for sale. No decals on that one.

[via Las Vegas Review-Journal]

Filed under: , ,

Yacht, Mercedes Part Of Failed Bank Auction originally appeared on Luxist on Wed, 04 Nov 2009 20:01:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments


Read More... [Source: Luxist]

Culture of Corruption: Michelle Obama edition | <b>Conservative</b> Blog <b>...</b>

We encourage you to visit all of the sites that this news comes from but when you need a quick summary of the latest conservative headlines head on back to www.conservativeblogwatch.com. ...
Read More... [Source: Conservative - Google Blog Search]

Avatar Premiere to Be Broadcast Live on Ustream

On Friday, December 18, James Cameron’s Avatar hits theaters across the globe. With a nearly $500 million budget, groundbreaking special effects and 3D camera technologies, this is easily one of the most anticipated films of the year.

Fox has taken a pretty proactive social media approach to the film, utilizing technology and the web in unique ways like the augmented reality version of the trailer and a Facebook-powered live chat with MTV. Fox is also partnering with Ustream to broadcast the red carpet arrivals at Avatar’s world premiere on Wednesday, December 16, at 6:00 p.m. PST.

Ustream is becoming the de facto place for studios to broadcast live red carpet events. This fall alone, we’ve seen The Twilight Saga: New Moon, Michael Jackson’s This Is It and the American Music Awards pre-show.

If you want to catch the Avatar action, just head to Ustream.tv/avatar. You can watch the stars arrive and even ask questions that might get passed onto the cast and crew.

Video streaming by Ustream

Reviews: Facebook, ustream

Tags: avatar, premiere, red carpet, ustream


Read More... [Source: Mashable!]