Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DittoRanma_Sao said:Safely? Easy, you don't.
Oh, the horror of the "out of VM" error...XOR != OR said:Ditto
It's a bad idea, and in this day and age, the performance improvement is hardly noticable ( and I'm being nice ).
KoolDrew said:Disabling the pagefile is stupid and will not result in faster performance. The pagefile is not the only file involved with paging. Read my reply in the sticky that should not even be sticky since it incorrectly defines Virtual Memory and gives stupid advice.
When you get rid of the paging fileall you are doing is forcing all paging to be done to pages containing code and mapped files. This cripples the file cache and slows down code execution, among other things.
The NT family was deisgned with the expectation that the pagefile would be there. So it is best kept there. Because of this even if you do disabloe the pagefile it will create a 20 MB paging file for you and just not tell you about it! So there is no benefit to disabling the pagefile. The best thing to do is leave it system managed. Windows does a great job at managing it.
Don't listen to these misinformed people who say to disable the paging file.
I didn't see your replies in that thread, answered. Please respond.KoolDrew said:Read my reply in the sticky that should not even be sticky since it incorrectly defines Virtual Memory and gives stupid advice.
Caching of what to where? When you disable the PF all your doing is telling the system *where* things can be cached. System cache still runs, it just does it in RAM, not the HDD. You don't really think storing "cache" on the slowest access device in your system is going to speed things up do you?When you get rid of the paging fileall you are doing is forcing all paging to be done to pages containing code and mapped files. This cripples the file cache and slows down code execution, among other things.
XP allows for no PF, not even the 20MB PF W2k and NT will create.The NT family was deisgned with the expectation that the pagefile would be there. So it is best kept there. Because of this even if you do disabloe the pagefile it will create a 20 MB paging file for you and just not tell you about it! So there is no benefit to disabling the pagefile. The best thing to do is leave it system managed. Windows does a great job at managing it.
Most people aren't running NT, they are running 2k and XP. XP does not require a PF at all.NT will always use the pagefile and this is why it creates a 20MB pagefile if you disable it.
Don't flame, it's not necessary to make an intelligent point.Don't listen to these misinformed people who say to disable the paging file.
From posts I have read of his on other boards he knows a bit so I'll give some slack and see what he has to say. That is, when he replies with some substance....Direwolf20 said:Those "misinformed" and "stupid" people have answered more questions without flaming than I can remember, and have already made a name for themselves on this message board (at least in my opinion) as a bunch of guys who know their stuff. Who are you? Your name isn't familiar to me. Phoenix's is, because he's a bright guy.
How about answering a question without flaming some of the more popular and intelligent people on this message board, and I just might give your post some thought.
Please challenge my info, don't take it as fact. The more it's challenged the better accepted the results are. If I have to correct anything, I'm not above that, even if the whole premis is proved BS.djnes said:Oh, and KoolDrew...challenging Phoenix86 on an issue he's written many stickies about is probably not a good idea. His info is tried and true, and pretty much accepted as fact.
Phoenix86 said:Please challenge my info, don't take it as fact. The more it's challenged the better accepted the results are. If I have to correct anything, I'm not above that, even if the whole premis is proved BS.
Phoenix86 said:The flamming isn't necessary, and post count means nothing...
Direwolf20 said:Yea I know, I just get aggitated when people show up here and are really rude about responses. One of the things I like most about this board is that people discuss things in an intelligent manner. For him to show up and attack a veteran calling him "stupid" and "uninformed"...well its aggrivating . Its one thing to have a different opinion and supporting evidence, but another thing to just flame.
If someone has new points were not considering, bring it on. However, the thread that's stickied does not cover disabling the PF for a reason. I didn't feel it was acceptable enough to mix in with what the thread is for, sizing the PF when you have one. Yes some of the info is relevant to the no-PF setting, but that's different.djnes said:I thought we had done enough challenging, flaming, apologizing, etc in all the other pagefile threads. I guess there's always room for some more.
Your thread was stickied for being good sound advice.
Phoenix86 said:If someone has new points were not considering, bring it on. However, the thread that's stickied does not cover disabling the PF for a reason. I didn't feel it was acceptable enough to mix in with what the thread is for, sizing the PF when you have one. Yes some of the info is relevant to the no-PF setting, but that's different.
Those "misinformed" and "stupid" people have answered more questions without flaming than I can remember, and have already made a name for themselves on this message board (at least in my opinion) as a bunch of guys who know their stuff. Who are you? Your name isn't familiar to me. Phoenix's is, because he's a bright guy.
How about answering a question without flaming some of the more popular and intelligent people on this message board, and I just might give your post some thought.
I didn't see your replies in that thread, answered. Please respond.
Most people aren't running NT, they are running 2k and XP. XP does not require a PF at all.
Please challenge my info, don't take it as fact. The more it's challenged the better accepted the results are. If I have to correct anything, I'm not above that, even if the whole premis is proved BS.
Actually, that's implied (which is why people comment on it in that thread), just not covered.Direwolf20 said:Just say you should size the PF to 0
Accepted.KoolDrew said:Sorry for flaming.
That's debatable, see the other thread I linked to (3rd link). It's a ~6 page thread and I don't think the consensus is we couldn't test (easily) the aspects of the PF. Do you know a way to measure it? (the therad talks about the issue with measuring it). Also see the first link I provided. It's anecdotal evidence, but shouldn't be ignored.My answer to the initial post is do NOT disable it and I think I posted enough reasons why.There is no benefit to it at all.
Thanks, get to those in a bit.Done and all of your questions should be answered in there. If you have any other questions feel free to ask.
...and? By that logic, XP doesn't have directX, there are plenty of differences. W2k was a total re-write form NT4. You can see where I'm going with this.All are part of the NT family.
Something you'd know if you hang around here more, or cared to ask before flamming.That is the attitude I like. I hate people who seem to think they know everything and do not want to listen to others when they could learn something.
That's debatable, see the other thread I linked to (3rd link). It's a ~6 page thread and I don't think the consensus is we couldn't test (easily) the aspects of the PF. Do you know a way to measure it? (the therad talks about the issue with measuring it). Also see the first link I provided. It's anecdotal evidence, but shouldn't be ignored.
...and? By that logic, XP doesn't have directX, there are plenty of differences. W2k was a total re-write form NT4. You can see where I'm going with this.
Yes, and the page file differs from NT4-W2k-XP. 9x is irrelevant. All that you need to know is each NTx kernels handle the PF different. NT requires 20MB, W2k 2(maybe it's 20 too, would have to check), and XP none.KoolDrew said:We are not talking about directx here. We are talking about the pagefile which was different then OS's from the 9x family.
However the pagefile is a backing store for data so memory can be freed for other uses. Anything that is altered needs to be paged to the paging file. However most things can be paged back to their original files, which is executables, sahred libraries etc..
...Executable's and shared library data are aslo involved with paging...
No because the paging file is not the only file involved in paging and NT creates a 20MB paging file if one is not alreadfy created.
If your saying XP does this please provide a link. Otherwise I think all our PF discussions have been on XP, so let's not mix up the discussion.NT needs the pagefile that even if you disable it NT will create a 20MB pageing file without yo8u knowing.
(in reply to why disabling the PF doesn't show advantages in 3dmark)From what I satted above you should be able to come to the conclusion that there is a reason there was no affect.
The problem is, even with enough RAM, systems still show paging (heavy I/O on the HDD) when the used memory is less than physical RAM. What I think the OS is doing is trying to free up as much RAM as possible, so it spins stuff to the PF. If you *do* have enough RAM, that isn't necessary. But, XP doesn't know how much RAM your going to use. That depends on the applications/data your loading. We, however, can measure, and know the limits of what we're running. This is where there is room for gain. If I can prevent the OS from spinning data to the PF by because I know it's not needed, that's a performance gain. Measuring that can proove difficult. Can you make you system page on command? I can't. Does the system page while running 3D mark? If it doesn't of course your not going to notice a benefit. However, I have been gaming, seen the system spin to the PF (while loading apps/levels in a game for ex.), when I look at my peak useage, it doesn't go over my physical RAM, so why is it spinning data to the disk? It shouldn't, but it does.If you have enough RAM pagefile activity will be minimal...
Very good point. This isn't a "general" tweak. It'll only really affect perfornace in certian cases.JasonLee said:I think most people would agree that the slight performance gain is not worth the trouble you can run into. If you run HL2 or Photoshop, not a good idea. If you use Word, Web, and email, you can do it. But then again, if that is all you're doing, the performance boost will be nearly unnoticeable.
....and XP none.
If what your saying is true the OS wouldn't run at all, or it would be total crap because your neutering the memory management. What happens is all of VMM & paging still goes on (backing store, execuatables, shared libraries) it just happens in RAM or mapped memory to disk (why page a file to disk, that's already *on* the disk). Removing the PF does simply take away the HDD as an options of *where* to store the data, not *how* it stores it. This is the #1 problem with VMM and PF and paging, people confuse their operations. Just because we remove the page file, doesn't mean we disable paging or VMM.
If your saying XP does this please provide a link. Otherwise I think all our PF discussions have been on XP, so let's not mix up the discussion.
The problem is, even with enough RAM, systems still show paging (heavy I/O on the HDD) when the used memory is less than physical RAM. What I think the OS is doing is trying to free up as much RAM as possible, so it spins stuff to the PF. If you *do* have enough RAM, that isn't necessary. But, XP doesn't know how much RAM your going to use. That depends on the applications/data your loading. We, however, can measure, and know the limits of what we're running. This is where there is room for gain. If I can prevent the OS from spinning data to the PF by because I know it's not needed, that's a performance gain. Measuring that can proove difficult. Can you make you system page on command? I can't. Does the system page while running 3D mark? If it doesn't of course your not going to notice a benefit. However, I have been gaming, seen the system spin to the PF (while loading apps/levels in a game for ex.), when I look at my peak useage, it doesn't go over my physical RAM, so why is it spinning data to the disk? It shouldn't, but it does.
If you measure the memory requirements, though, you know the free space in RAM is not needed.
Read the links I posted, much of this has been discussed before.
If you use Adobe Photoshop you need a pagefile. In fact if you graphic work at I would recommend (and I could be wrong, I am by no means an expert) leaving it on.
IIRC, you can still run photoshop w/o a page file (it gives an error, but there is a way around it), but you will like need it anyways. Uncompressed photos can get massive, and you'll need the memory from somewhere.
I wouldn't recommend disabling the PF on DBs or photo/video editing machines in general.
I think most people would agree that the slight performance gain is not worth the trouble you can run into. If you run HL2 or Photoshop, not a good idea. If you use Word, Web, and email, you can do it. But then again, if that is all you're doing, the performance boost will be nearly unnoticeable.
The #1 reason I do it is for gaming. I don't want to page to disk when I'm running a first person shooter, for example. That has ended more than one of my killing sprees. Well, that and to learn/help people learn about the it's operation. Most people think the PF is the whole VMM subsystem.