WinXP Pagefile on RAM drive?

JJPeters

Junior Member
Jun 1, 2002
11
0
0
After the sale at Fry's I now have 3GB of RAM on my gaming rig. Can I create a 2GB RAMdrive and relocate the pagefile to this drive? If so how, and will this improve performance? Thx.
 

dajo

Senior member
Nov 7, 2000
635
0
0
Originally posted by: KoolDrew
That completely defeats the purpose of even having a pagefile.
LOL!!! That's true - the purpose of having a page file is to save state to the hard disk when you've run out of RAM.

Try turning off virtual memory.

 

Phoenix86

Lifer
May 21, 2003
14,643
9
81
Originally posted by: KoolDrew
That completely defeats the purpose of even having a pagefile.

You know where this is going... Can-o-worms

Why not just add more RAM to the system? Pagefiles are not used much at all if you have more RAM than required memory (commit charge peak), so any tweak to the page file becomes moot.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
Try turning off virtual memory

You can't.

Why not just add more RAM to the system? Pagefiles are not used much at all if you have more RAM than required memory (commit charge peak), so any tweak to the page file becomes moot.

The amount of RAM in this case is not the issue; he has plenty for his needs.
 

JJPeters

Junior Member
Jun 1, 2002
11
0
0
It was my understanding that no matter how much RAM you have, WinXP peforms better if there is a pagefile.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: JJPeters
It was my understanding that no matter how much RAM you have, WinXP peforms better if there is a pagefile.

It's not that WinXP performs better with a pagefile, it's that WinXP does not perform better without a pagefile. In other words, it won't hurt performance to disable it, but (Microsoft claims) it won't help performance either.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: KoolDrew
Yes you can.

Then prove it (this should be interesting).

1. right click My Computer
2. choose Properties
3. choose Advanced tab
4. click "Settings" in the "Performance" box
5. click the Advanced tab
6. click "Change" in the "Virtual Memory" box
7. click the radio button next to "No paging file"
8. click OK on all the opened windows.


Hmm, don't know how interesting it is. It's pretty standard knowledge among computer professionals.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
That is not disabling virtual memory; that is disabling the pagefile. Two totally different things.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: KoolDrew
That is not disabling virtual memory; that is disabling the pagefile. Two totally different things.
You're an imbecile. Quit wasting space.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
:roll:

You can configure XP to not use a paging file, but it's still using virtual addressing and virtual memory.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
type this in google: "define:virtual memory" and you will see that the most common definition for virtual memory is the ability to swap memory from RAM to the harddrive. There are other definitions, but this is the most common and obviously this is what dajo was referring to. In this case, and by this (the most common) definition, disabling the pagefile is the same as disabling virtual memory, not to mention by the terms Microsoft uses on the property pages for disabling the pagefile would indicate that is it is disabling virtual memory.

So, for all intents and purposes, using the most common definition, using dajo's meaning (who originally brought it up), and using Microsoft's wording on the property page itself, KookDrew and JustAnAverageGuy are wrong. Congratulations to you both.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
Originally posted by: Brazen
Originally posted by: JJPeters
It was my understanding that no matter how much RAM you have, WinXP peforms better if there is a pagefile.

It's not that WinXP performs better with a pagefile, it's that WinXP does not perform better without a pagefile. In other words, it won't hurt performance to disable it, but (Microsoft claims) it won't help performance either.

There always a practical need for a pagefile, because you can always use the extra RAM for other things. It's not as simple as "if I have enough memory, I don't need a pagefile". It's a case of how to best use the finite resource (RAM) for many things.

When you disable the pagefile you are not stopping paging (the pagefile is by far not the only file involved with paging). Instead, all you are doing is forcing the system to keep all private virtual memory in RAM. Only code and mapped files can be paged, even if some of the other stuff has not neen touched for hours and will never be touched again.

This means that there will be more paging of code for a given workload and RAM size. So disabling the pagefile turn out to be a bad thing in the long run.
 

KoolDrew

Lifer
Jun 30, 2004
10,226
7
81
The term virtual memory includes several difference mechanisms. Paging is only one of these mechanisms and the pagefile is only one of the many files involved in paging.

So, Virtual memory is always in use in modern OSes. It cannot be turned off. That is the bottom line.

virtual memory is the ability to swap memory from RAM to the harddrive.

Even if this was the correct definition, you would still be wrong. The pagefile is by far not the only file involved with paging.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Brazen
type this in google: "define:virtual memory" and you will see that the most common definition for virtual memory is the ability to swap memory from RAM to the harddrive. There are other definitions, but this is the most common and obviously this is what dajo was referring to. In this case, and by this (the most common) definition, disabling the pagefile is the same as disabling virtual memory, not to mention by the terms Microsoft uses on the property pages for disabling the pagefile would indicate that is it is disabling virtual memory.

So, for all intents and purposes, using the most common definition, using dajo's meaning (who originally brought it up), and using Microsoft's wording on the property page itself, KookDrew and JustAnAverageGuy are wrong. Congratulations to you both.

Forget the most common definition, because it's incomplete.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
13
81
www.markbetz.net
type this in google: "define:virtual memory" and you will see that the most common definition for virtual memory is the ability to swap memory from RAM to the harddrive.

That is technically not correct, as is common knowlege among software professionals (sorry, couldn't resist ).

KoolDrew is correct in his statement that the paging file is only one aspect of virtual memory. At its most basic virtual memory is the act of mapping process-relative addresses into the machine's physical address space. Windows has done this since the first release of NT. Every process gets 2 gigs of virtual address space, and can cause chunks of this address space to be reserved in physical memory. There's no way you can turn off virtual memory at that level. By reducing the page file to 0 you simply force Windows to make all processes live within the physical limits of ram on the system (with the exception of the system processes, which will still use a backing store even if you set page file size to 0).

This is just another case of equally valid definitions that differ only in level of abstraction competing for airtime.

I'll fall back on my normal advice: the page file, module memory management, and virtual memory manager are interelated pieces of a system that was designed by people who know much more about such things than any of us ever will. Leave them alone, and let Windows manage its memory.
 

Phoenix86

Lifer
May 21, 2003
14,643
9
81
Originally posted by: Brazen
type this in google: "define:virtual memory" and you will see that the most common definition for virtual memory is the ability to swap memory from RAM to the harddrive. There are other definitions, but this is the most common and obviously this is what dajo was referring to. In this case, and by this (the most common) definition, disabling the pagefile is the same as disabling virtual memory, not to mention by the terms Microsoft uses on the property pages for disabling the pagefile would indicate that is it is disabling virtual memory.

So, for all intents and purposes, using the most common definition, using dajo's meaning (who originally brought it up), and using Microsoft's wording on the property page itself, KookDrew and JustAnAverageGuy are wrong. Congratulations to you both.

Google is not a end all source.

Here let me provide a REAL source. Whole lotta STFU.

In modern operating systems, including Windows, application programs and many system processes always reference memory using virtual memory addresses which are automatically translated to real (RAM) addresses by the hardware. Only core parts of the operating system kernel bypass this address translation and use real memory addresses directly.

Virtual Memory is always in use, even when the memory required by all running processes does not exceed the amount of RAM installed on the system.

When the memory in use by all the existing processes exceeds the amount of RAM available, the operating system will move pages (4 KB pieces) of one or more virtual address spaces to the computer?s hard disk, thus freeing that RAM frame for other uses.


Disabling the page file simply prevents paging to disk, it does not stop virtual memory.

You have virtual memory confused with the page file. They are closely related, but not the same thing, by a long shot.

Virtual memory is, however limited to the total of your RAM+page file. There is another limit on virtual memory of 2gb/process, which can be adjusted with the /pae switch on the kernel.

edit: You should always consider that even a well reasearched position could be completely wrong.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Hmm, don't know how interesting it is. It's pretty standard knowledge among computer professionals.

So you believe everything you read on the Internet? Get a copy of "Inside Windows" or "Understanding the Linux kernel' and read the chapter on memory management, then you'll understand just how wrong you are.

Disabling the page file simply prevents paging to disk, it does not stop virtual memory.

It doesn't even go that far, it just disables use of the pagefile as a repository for modified pages. You'll still be paging from executables, shared libraries, data files, etc as necessary. All you'll end up doing is locking some data into memory unecessarily and putting more pressure on the VM system.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Phoenix86
Originally posted by: Brazen
type this in google: "define:virtual memory" and you will see that the most common definition for virtual memory is the ability to swap memory from RAM to the harddrive. There are other definitions, but this is the most common and obviously this is what dajo was referring to. In this case, and by this (the most common) definition, disabling the pagefile is the same as disabling virtual memory, not to mention by the terms Microsoft uses on the property pages for disabling the pagefile would indicate that is it is disabling virtual memory.

So, for all intents and purposes, using the most common definition, using dajo's meaning (who originally brought it up), and using Microsoft's wording on the property page itself, KookDrew and JustAnAverageGuy are wrong. Congratulations to you both.

Google is not a end all source.

Here let me provide a REAL source. Whole lotta STFU.

In modern operating systems, including Windows, application programs and many system processes always reference memory using virtual memory addresses which are automatically translated to real (RAM) addresses by the hardware. Only core parts of the operating system kernel bypass this address translation and use real memory addresses directly.

Virtual Memory is always in use, even when the memory required by all running processes does not exceed the amount of RAM installed on the system.

When the memory in use by all the existing processes exceeds the amount of RAM available, the operating system will move pages (4 KB pieces) of one or more virtual address spaces to the computer?s hard disk, thus freeing that RAM frame for other uses.


Disabling the page file simply prevents paging to disk, it does not stop virtual memory.

You have virtual memory confused with the page file. They are closely related, but not the same thing, by a long shot.

Virtual memory is, however limited to the total of your RAM+page file. There is another limit on virtual memory of 2gb/process, which can be adjusted with the /pae switch on the kernel.

edit: You should always consider that even a well reasearched position could be completely wrong.

Yes, and I'm sure your answer was, in fact, well researched. But as you say, it can still be wrong, and though I know what logical memory and virtual addressing is, Virtual Memory is still commonly used to refer to memory stored on the harddrive. I have already stated that there are other definitions used for "virtual memory" however, dajo was very obviously refering to the pagefile, which is a legitimate and often used definition of "virtual memory."

And I have never considered Google to be the end all source, just the easiest one at quick notice. How about the Meriam Webster Dictionary? Some people consider that pretty definative, and it only has one: memory stored on magnetic disks. Or how about Webopedia? That's a pretty trusted source for you computer dorks, isn't it? And it pretty much uses "pages" and "virtual memory" interchangeably.

But you know what, none of that even matters, because as I said dajo was the first to mention disabling "virtual memory" and he was obviously refering to the pagefile, not virtual addressing. KookDrew was obviously trying to be a jick to dajo; I was just pointing out that dajo's use of the term "virtual memory" was not wrong, and is in fact more common than KookDrew's use of the term.

edit: and if I wanted to be as unreasonable and pointless in arguing as some you, I would just point at that even virtual addressing can be disabled by reprogramming or switching to DOS. But that sort of arguing is just retarded, but then, no more so than your argument.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Brazen
But you know what, none of that even matters, because as I said dajo was the first to mention disabling "virtual memory" and he was obviously refering to the pagefile, not virtual addressing. KookDrew was obviously trying to be a jick to dajo; I was just pointing out that dajo's use of the term "virtual memory" was not wrong, and is in fact more common than KookDrew's use of the term.

The point is, Virtual Memory is the wrong term. Period.
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Nothinman
Hmm, don't know how interesting it is. It's pretty standard knowledge among computer professionals.

So you believe everything you read on the Internet? Get a copy of "Inside Windows" or "Understanding the Linux kernel' and read the chapter on memory management, then you'll understand just how wrong you are.
I have had to read an entire book on memory management (only because I had to as part of getting a degree in programming). And what the heck does "you believe everything you read on the internet" have to do with anything? Because I referenced Google? You're really stretchin' for it there. Why don't you criticize Phoenix86 for referencing Microsoft while you're at it.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |