If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
![]() |
|
|
#1 |
|
Junior Member
|
If i turn off paging file, will it work better? or will it just work to it's max potential? or can someone just explain what teh difference between having it on and off does that would be awesome, thanks.
|
|
|
|
|
|
#2 |
|
beyond noob
Join Date: Jun 2004
Location: Feindesland
Posts: 1,390
|
Paging file is a must for most apps and games. Even though you may have 2Gb of RAM, they will request it. Try disabling it and run Doom right after....
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2003
Posts: 6,201
|
Generally speaking, turning it off is dumb. It'll just make your comp behave weirdly if it runs out of memory, possibly crash, and some programs won't even start.
__________________
Top one reason why capital punishment is immoral and wrong: You can release an innocently convicted man from jail, but you cannot release an innocently convicted man from death. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2004
Location: UK
Posts: 1,474
|
Leave it on.
__________________
"We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." - Richard Dawkins |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jun 2003
Location: UK
Posts: 1,521
|
This is gumph.
If you never, ever, run out of memory, then the paging file will do nothing for you, and indeed, your PC may run slower as the OS doesn't realise you're not going to run out of memory and pages stuff off to ensure there's plenty of memory for those apps you might (but won't) run later. On the other hand, if you do hit your limit, then no page file is a bad thing. It also means that if you experience a memory leak you really won't get time to do anything about it. On the upside, you won't need to worry about things like your passwords sitting around in a large file which you should be wiping on shutdown but probably aren't (which would delay shutdown anyway). Remember, if you know what you're doing, you are smarter than your OS. There is no reason that you must have a page file. It's like constantly being told you don't have enough RAM in the machine. Don't be fooled into thinking the page file is anything special, it's just RAM on the HD, and the OS will use it to try and ensure that you're always accessing programs out of RAM. On a desktop OS, if you bought enough memory, you can disable this. Frankly, I'd say turn it off and if you run into "Not enough memory/virtual memory" messages, switch it back on. If you haven't turned off memory dumps in Windows, you will need a page file large enough to handle it (64KB on a desktop system)... though Windows will create a page file on the fly. |
|
|
|
|
|
#6 |
|
Junior Member
|
been there done that - had a gig of ram and turned of the paging file - just got wierd errors even when I obviously wasnt running out of memory. Its a pipe dream - a mere theory - that when you disable it, your RAM does all the work. Malarky.
__________________
Proud member of the Elite Bastards 6800 Society |
|
|
|
|
|
#7 |
|
Junior Member
|
ehh, seems like too much work. i'll just leave it on 768/1024(one quarter more/one half more)
|
|
|
|
|
|
#8 |
|
Great Member
Join Date: Feb 2003
Posts: 1,286
|
photoshop won't start without a pagefile. there are other apps that do the same.
|
|
|
|
|
|
#9 | |
|
Senior Member
Join Date: Apr 2004
Location: UK
Posts: 1,474
|
Quote:
__________________
"We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." - Richard Dawkins |
|
|
|
|
|
|
#10 | |
|
Senior Member
Join Date: Feb 2002
Posts: 2,543
|
Quote:
Cheers Gubbi |
|
|
|
|
|
|
#11 | |
|
Senior Member
Join Date: Feb 2002
Posts: 2,543
|
Quote:
The only difference between not using and using a page file is that in the former case your OS will start to kill processes when it runs out of memory, in the latter it will grind to a halt before getting to that point. You should only have a small, fixed size paging file, say 256-512MB. Then if you experience slow downs regurlarly, you keep adding DIMMS until the slow downs dissapear. Cheers Gubbi |
|
|
|
|
|
|
#12 | ||
|
Senior Member
Join Date: Jun 2003
Location: UK
Posts: 1,521
|
Quote:
You're far more likely to notice the effect of data being paged than you are redundant data being stored in RAM. Windows 2K+ won't crash if you don't have a large enough page file, it will simply increase the size of you existing one (even from 0). If you find it does this, then you will need a page file. I have no idea why Photoshop has to have a page file. Don't pretend it's anything special, it's not. It's RAM on your hard disc, really slow RAM, used as a backup and a store for getting things out of memory so that important data, and things that need to respond quickly, can be stored there. If you have enough memory, there is no reason to have a page file. It would be like shoving in another stick of memory even though your current RAM is never fully utilised. Unlike Gubbi, I'd shove in a gig of memory and have no page file. For 95% of desktops this is more than you will ever need. If you do some really memory heavy stuff, then you might find a page file useful, but then that's what performance monitoring is for, you can see if you need one of not simply by keeping track of your peak memory usage. |
||
|
|
|
|
|
#13 | |
|
Senior Member
Join Date: Apr 2004
Location: UK
Posts: 1,474
|
Quote:
You have 512MB of RAM and have disabled the page file. You boot into windows and browse a few directories. Notice how a directory with lots of files in it is slow to list the first time, but not on subsequent times (because it's now cached in RAM). You then run a few standard programs, such as browser and email etc. All of these programs will allocate memory and often load up common DLLs. First, most DLLs will remain memory resident even after quitting a program and second many programs don't free memory efficiently (Windows API doesn't help). Now you decide to play the latest and greatest 3D game, which we shall call 'Gloom 5'. For performance sake 'Gloom' tries to grab as much free memory as possible to cache it's huge allocation of textures and sounds (in order to lessen hitches). But 'Gloom' finds that VCache (file cache) is allocated 128MB of RAM, and that another 100MB is allocated to DLLs from previous programs. No problem, normally, we would just farm off this RAM to swap file, leaving physical memory free. However, when there's no page file then either the alloc fails or less memory is allocated than is ideal. The memory is not being used efficiently. |
|
|
|
|
|
|
#14 | |
|
Senior Member
Join Date: Feb 2002
Posts: 2,543
|
Quote:
Cheers Gubbi |
|
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Jul 2002
Location: UK
Posts: 1,758
|
I saw a complex article that explained why swap was essential and is a performance boost, no matter how much physical memory you have. Seemingly it is mathematically provable or something.
That referred to Linux, but the same thing applies to Windows. Of course, if you want decent swap performance, you need a modern (i.e. high speed) harddrive just for the swap file |
|
|
|
|
|
#16 | |
|
Senior Member
|
Quote:
__________________
I speak only for myself. |
|
|
|
|
|
|
#17 |
|
Senior Member
Join Date: Jul 2002
Location: UK
Posts: 1,758
|
By "Just for the swap file" I meant "With nothing else on it."
Overkill, but <shrug> |
|
|
|
|
|
#18 | |
|
Senior Member
|
Quote:
__________________
I speak only for myself. |
|
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Jul 2002
Location: UK
Posts: 1,758
|
You didn't even give me chance to finish me pint earlier so I had to stay up and have a couple more...
|
|
|
|
|
|
#20 | |
|
Senior Member
Join Date: Apr 2004
Location: UK
Posts: 1,474
|
Quote:
Regardless, though, I think my wider point remains - thats it's less efficient to reduce your overall memory allocation by disabling the page file. I cannot really see the point.
__________________
"We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." - Richard Dawkins |
|
|
|
|
|
|
#21 |
|
a.k.a. Ingenu
Join Date: Feb 2002
Location: Apsley, U.K.
Posts: 2,726
|
Just leave the OS be, it's unlikely that the disk space taken is critical to you, and the OS is supposed to know what it does.
(Yeah I know trusting anything from MS is *very* hard, yet tweaking it is even more dangerous ^^)
__________________
So many things to do, and yet so little time to spend... |
|
|
|
|
|
#22 |
|
Join Date: Apr 2004
Location: Austria
Posts: 446
|
I set it to be a fixed size, so fragmentation will not occur.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Half life 2 tweaks | micky | PC Games | 7 | 18-Jul-2005 19:16 |
| 3d modelling question | Roger Kohli | 3D Technology & Algorithms | 7 | 20-Oct-2003 08:56 |
| Does eliminating SWAP file improve gaming performance? | g__day | 3D Hardware, Software & Output Devices | 8 | 02-Jun-2003 23:44 |
| General Question: Z-Buffer Cannot Be Read Under DirectX 8.1? | Pit_Viper | 3D Technology & Algorithms | 14 | 19-Feb-2003 16:09 |
| DX9 and .NET Question | Typedef Enum | Hardware & Software Talk | 2 | 11-Feb-2003 08:38 |