Reply
Old March 31st, 2004 Top | #1
 
DJ-phYre's Avatar
To whom it may concern
Joined: June 2002
Location: Monroe, LA
Posts: 135
Reputation: 0
Power: 119

Default Creating a custom Page File for Virtual Memory

I have been having some problems with my page file, so I turned it off recently... well I am going to create a custom entry instead of letting the system handle it...

It recommends 1534 MB.... I have 1024 MB of RAM right now

What should I put in:

Initial Size (MB): ________
Max Size (MB): ________
DJ-phYre is offline   Reply With Quote
Old March 31st, 2004 Top | #2
 
Aussie983's Avatar
ßµ®ηiή Şiliςδη
Joined: March 2004
Posts: 134
Reputation: 0
Power: 98

Default

with a gig of ram im suprised u need a pagefile

Aussie983 is offline   Reply With Quote
Old March 31st, 2004 Top | #3
 
DJ-phYre's Avatar
To whom it may concern
Joined: June 2002
Location: Monroe, LA
Posts: 135
Reputation: 0
Power: 119

Default

Originally Posted by Aussie983
with a gig of ram im suprised u need a pagefile
Well there are some apps that give me all these warnings about NO WINDOWS PAGE FILE... just getting a bit annoying
DJ-phYre is offline   Reply With Quote
Old March 31st, 2004 Top | #4
 
LeeJend's Avatar
OSNN Veteran Addict
Joined: January 2003
Location: Fort Worth, TX
Posts: 5,255
Reputation: 3386
Power: 196

Default

Always make the pagefile fixed size. It fragments horribly otherwise and causes all your new installs and data to fragment.

Size - Do you really want Windows pawing through 1.5 gig of HD files everytime it needs to go looking for things? 1.5x memory made sense when memory was 128M or 256m but with 1 gig keep it small. Start at 768 mB and see if you need more. If so, delete the pagefile, defrag the disk and create a new larger one of fixed size.

Also:
-Defrag before you create any new pagefile.
-Keep the pagefile on the same HD as your operating system otherwise you run into spinup time delays.
-Keep the pagefile on a small partition where you do not store your data.

The above is what I do and I haven't had any pagefile relaetd problems.

Thought for the new millenium:

In a world without walls and fences, who needs Windows and Gates?

- Open Office - Firefox - Thunderbird - Gimp -Ubuntu - Red Hat -
LeeJend is offline   Reply With Quote
Old March 31st, 2004 Top | #5
Xie

OSNN Subscriber
OSNN Folding Team  
Xie's Avatar
- geek -
Joined: September 2003
Location: NY, USA
Posts: 5,216
Reputation: 1730
Power: 171

Default

A search would have found this post .

tehgeek | tehgeek | geeking out to tech | IRC | *Parted Magic* | A+ Certified Professional

Xie is offline   Reply With Quote
Old March 31st, 2004 Top | #6
 
dreamliner77's Avatar
The Analog Kid
Joined: March 2002
Location: Red Sox Nation
Posts: 4,638
Reputation: 1111
Power: 178

Default

Time for perris to chime in...

He'll know the answer.

"You can fight without ever winning, but never win without a fight." -Neil Peart of RUSH

dreamliner77 is offline   Reply With Quote
Old March 31st, 2004 Top | #7
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

leejend, you must NEVER make the pagefile a fixed size..., your information is incorrect

there is NO FRAGMENTATION WHATSOEVER OF THE PAGEFILE, it doesn't ever happen on a healthy drive...ever.

in addition, there is NO performance hit whatsoever with a pagefile that's too big, and there are HUGE performance hits with a pagefile that is too small...bigger is ALWAYS BETTER then smaller when it comes to the pagefile...

you need AT LEAST AS MUCH PAGEFILE AS YOU HAVE MEMORY IN USE...this is allready benchmarked and documented

a fixed pagefile WILL slow some users down, a smaller pagefile then the amount of memory installed WILL slow some users down...those ideas will benefit no person...please read the article I posted in the thread that xie posted
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #8
 
ming's Avatar
OSNN Advanced
Joined: June 2003
Location: UK
Posts: 4,252
Reputation: 1160
Power: 159

Default

Originally Posted by perris
also, there is NO FRAGMENTATION WHATSOEVER OF THE PAGEFILE, it doesn't ever happen on a healthy drive...ever.
I'm not sure that I agree with your statement here. My machine has a healthy HD, and when running Diskeeper defrag on boot, I've found fragmentation of the pagefile before. Okay, I can't argue that there was major fragments, but a few fragments still counts.

Curent system:
Intel Quad Core 9450 | 4GB RAM | WD Raptor 36GB | nVidia 8800GT 512mb
ming is offline   Reply With Quote
Old March 31st, 2004 Top | #9
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

Originally Posted by perris
leejend, you must NEVER make the pagefile a fixed size..., your information is incorrect

there is NO FRAGMENTATION WHATSOEVER OF THE PAGEFILE, it doesn't ever happen on a healthy drive...ever.

in addition, there is NO performance hit whatsoever with a pagefile that's too big, and there are HUGE performance hits with a pagefile that is too small...bigger is ALWAYS BETTER then smaller when it comes to the pagefile...

you need AT LEAST AS MUCH PAGEFILE AS YOU HAVE MEMORY IN USE...this is allready benchmarked and documented

a fixed pagefile WILL slow some users down, a smaller pagefile then the amount of memory installed WILL slow some users down...those ideas will benefit no person...please read the article I posted in the thread that xie posted

unless your a gamer and it decides to change the size of the PF while your playing a CPU intensive game, happend a few times, that was your theory out the window for my situation, fixed works best for me
GoNz0 is offline   Reply With Quote
Old March 31st, 2004 Top | #10
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

Originally Posted by GoNz0
unless your a gamer and it decides to change the size of the PF while your playing a CPU intensive game, happend a few times, that was your theory out the window for my situation, fixed works best for me
the reason it decided to change the size of your pagefile while you were gaming is that it was too small

if the commit xharge nnever reached the commit limit it couldn't expand
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #11
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

not sure perris m8, but the games i play like battlefield 1942 desertcombat mod swallow the 1gb of ram i have, i used to get problems from as little as 10 minutes into a round, the game would freeze, it's not something windows was prepared to sort out as the problem continued for weeks, until i fixed my PF at 1.5 gb, not one lock up since, mabey if windows played ball and resized once or twice, but it couldn'e make it's mind up, so i made it's mind up for it.


[dealer edit] sorry, heh, I hit edit instead of quote]

dealer edit mistake, this post is now back to the original[/dealer edit]
GoNz0 is offline   Reply With Quote
Old March 31st, 2004 Top | #12
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

Originally Posted by GoNz0
not sure perris m8, but the games i play like battlefield 1942 desertcombat mod swallow the 1gb of ram i have, i used to get problems from as little as 10 minutes into a round, the game would freeze, it's not something windows was prepared to sort out as the problem continued for weeks, until i fixed my PF at 1.5 gb, not one lock up since, mabey if windows played ball and resized once or twice, but it couldn'e make it's mind up, so i made it's mind up for it.
*edit* a 2 second freeze up while your flying an F14 doesnt go down well :confused:



*edit* doh hit quote not edit
GoNz0 is offline   Reply With Quote
Old March 31st, 2004 Top | #13
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

Originally Posted by ming
I'm not sure that I agree with your statement here. My machine has a healthy HD, and when running Diskeeper defrag on boot, I've found fragmentation of the pagefile before. Okay, I can't argue that there was major fragments, but a few fragments still counts.
the pagefile will fragment in these situations;

if you adjust the minimum size, or if you change the amount of the memory and the os changes the initial size

ALSO

diskeeper will putt your pagefile on a differant area on your drive, and can fragment the pf also

use the system internals free program to monitor your pagefile extents, and you will see ONCE IT IS CONTIGUOUS it remains contiguous even after expansion, ( once you reboot)
all of this is explained in the paper that's posted in the thread xie sites, you guys should read that

once it's contiguous, it remains contiguous forever on a healthy drive

if expansion is invoked, the expanded extent is removed on reboot, and thre original pagefile HAS to be in the original condition

the issue is that you've mmade the initial minimum too small, and your operating system is expanding the pagefile

that's the point, you must not have a pagefile so small the os wants to expand it, when it does expand, the fragmentation IS ONLY FOR THE EXPNSION EPISODE and you have a pagefile that the initial minimum needs to be increased, which of course will ahve to be defragemnted ONE TIME and then it will always be defragmented
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #14
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

Originally Posted by GoNz0
not sure perris m8, but the games i play like battlefield 1942 desertcombat mod swallow the 1gb of ram i have, i used to get problems from as little as 10 minutes into a round, the game would freeze, it's not something windows was prepared to sort out as the problem continued for weeks, until i fixed my PF at 1.5 gb, not one lock up since, mabey if windows played ball and resized once or twice, but it couldn'e make it's mind up, so i made it's mind up for it. ]
well, try two gig initial minimum then, with expansion to 4 gigs

the pagefile WILL NOT expand untill your commit charge reaches the commit limit...that's the ONLY mechanism that makes th pf expand, nothing else

if you were expanding, your os was requesting more virtual memory then the os was prepared to deliver

when that happens, if the os can't get the virtual memory from the pagefile, it gets the memory by unloading an exe or dll

most gamers that have the problem you just pointed out get the problem in the first place BECAUSE they listened to the missguided advice that a small pagefile is somehow better for performance then a big pagefile, and lowered it from the default

I'm guessing you lowered your initial minimum below the defalt, which has been the case everytime someone has brought their box to me with that problem, but if not, then the 1.5 is too small also, and the initial minimum needs to be increased
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #15
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

no perris, it was set to auto, why start with a 2gb minimum going up to 4 gb?
GoNz0 is offline   Reply With Quote
Old March 31st, 2004 Top | #16
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

if your pf expanded using this game, then the commit charge reached the 1.5 limit, and therefore expanded it

your initial minimum needs to be so large that the os never wants to ewxpand it
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #17
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

that's the point, the more memory intensive programs get, which was bound to happen with the amount of memory available, the more virtual memory they request.

the initial minimum needs to be larger then the os requests, when it's fixed, if the ois requests more virtual memory, since it can't get it from the pagefile it will unload a dll or exe.

this has to happen or it will freeze
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #18
 
perris's Avatar
OSNN Godlike Veteran
Joined: January 2002
Location: new york
Posts: 12,231
Reputation: 4333
Power: 288

Default

does this game have a dem?

I want to download and get this expansion you're talking about.
perris is offline   Reply With Quote
Old March 31st, 2004 Top | #19
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

well this is a typical load situation, battlefield vietnam loaded, gb of ram used ( the usual 17000 k left, PF jumped to 684mb

can you point out any gains from fixed at 1.5 to your 2gb minimum, wont 2gb min, cause performance issues as its so damn big ?
GoNz0 is offline   Reply With Quote
Old March 31st, 2004 Top | #20
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 152

Default

oh sorry battlefield vietnam is a demo less game, its not an expansion. if you got battlefield 1942 you could download the beta of desertcombat, but desertcombat will not play on the battlefield 1942 demo.
GoNz0 is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
need some help with creating php page daraptor Web Design & Coding 3 December 16th, 2006 2:24pm
custom location for open file/save file dialogue box? ruiner_066 Windows Desktop Systems 9 March 10th, 2006 5:17pm
Creating Forms in Front Page gmagnuson Web Design & Coding 9 November 16th, 2003 3:09pm
creating custom characters Xeroe Windows Desktop Systems 2 February 2nd, 2003 10:17pm
Swap file/Virtual memory size ... Nedreplan Windows Desktop Systems 13 February 1st, 2003 1:16pm