Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#244554 - 22/12/2004 15:05 With enought RAM, what's the point of having a paging file...
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
of any size at all.

Under win2kp:

I'm under the impression that this os is limited as to how much of the available address space can actually be used. If there is enough RAM (2gb), why have any page file at all?
_________________________
Glenn

Top
#244555 - 22/12/2004 15:34 Re: With enought RAM, what's the point of having a paging file... [Re: gbeer]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
As I understand it, each process is allowed its own 4Gb address space, of which it can use up to 2Gb of it. This means that you can (even on Windows XP which only supports 4Gb of physical RAM) have more than one process running, each using 2Gb.

You'll definitely still need a page file in this scenario.
_________________________
-- roger

Top
#244556 - 22/12/2004 15:35 Re: With enought RAM, what's the point of having a paging file... [Re: gbeer]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
To make the failure mode in case you do run out of RAM, less catastrophic.

Peter

Top
#244557 - 22/12/2004 16:55 Re: With enought RAM, what's the point of having a paging file... [Re: Roger]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5914
Loc: Wivenhoe, Essex, UK
...and if you really need lots of memory for applications you can use the /3GB switch in boot.ini to give the applications 3Gb of address space and the OS 1Gb.

(though this only works on the Windows XP, Windows Server 2003, Windows NT 4 Enterprise Edition, Windows 2000 Advanced Server or Datacenter Server and the application needs to know about it to get the extra address space)

http://www.sysinternals.com/ntw2k/info/bootini.shtml
_________________________
Remind me to change my signature to something more interesting someday

Top
#244558 - 22/12/2004 17:20 Re: With enought RAM, what's the point of having a paging file... [Re: andy]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
Alternately you can use the /PAE (Physical Address Extention) switch, which turns on 64 bit memory addressing, at least on the W2k Server (not sure which versions) & 2003 Server (Enterprise edition & up). This lets you address >4GB in system RAM, if your motherboard supports it, that is.

-Zeke
_________________________
WWFSMD?

Top
#244559 - 23/12/2004 02:18 Re: With enought RAM, what's the point of having a paging file... [Re: gbeer]
shadow45
member

Registered: 19/03/2002
Posts: 144
Loc: Florida, USA
From my understanding, some memory management systems have behavior to seek out idle, 'unused' pages of application memory, and put them on disk/swap..

here's something about the Windows NT VMM


Edited by shadow45 (23/12/2004 02:23)
_________________________
::: shadow45

Top
#244560 - 23/12/2004 02:55 Re: With enought RAM, what's the point of having a paging file... [Re: Ezekiel]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
I think I'll try XP with the /3GB switch. I didn't think that could be used outside of a server variant of windows. Now to convince the WAN group that I need XP over W2k. They seem to share Tony's distrust of XP.

More than you may want to know:
There are two critical program I'm running, Intralink and Wildfire, both from PTC. They are data managment and cad programs, respectivly.

When importing cad models into the Intralink database, Intralink tends to want to import the whole shebang in one big gulp. Intralink actually calls the cad software in the background to help sort out the model crossreferences. That one big gulp tends to cause a deadlock when the total VM for both exceeds 2GB. It dosen't seem to matter the size of the page file. I've had page files totaling 4GB.
_________________________
Glenn

Top
#244561 - 23/12/2004 06:42 Re: With enought RAM, what's the point of having a paging file... [Re: Ezekiel]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Actually, PAE only increases memory to 36 bits addressable. This is why even with PAE, Intel based x86 servers are stuck at 64 gigs of memory. And unfortunatly it is still only in 4gb chunks, so no one process can use more then 32 bits of memory. It's basicially a hack because 64 but computing kept being pushed off in the mainstream arenas. I hope one day mainstream computing isn't held back by lack of forsight. Take for example another technology that enjoys hitting barriers every year or two, IDE.

More info on PAE here.

Top
#244562 - 23/12/2004 07:32 Re: With enought RAM, what's the point of having a paging file... [Re: gbeer]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Quote:
I think I'll try XP with the /3GB switch.


It only works if your process is /3GB-aware. Most aren't.

Start here for more information. In particular, this.
_________________________
-- roger

Top
#244563 - 24/12/2004 01:54 Re: With enought RAM, what's the point of having a paging file... [Re: Roger]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Quote:
Quote:
I think I'll try XP with the /3GB switch.


It only works if your process is /3GB-aware. Most aren't.

Start here for more information. In particular, this.


I happen to know Wildfire can use the additional memory. Would have set it up long ago except W2Kpro dosen't support that switch.

Added: Roger Thanks for those links, and my brain now hurts from being streatched too much. I've always thought VM was just a way to use disk space to emulate RAM. Here they have gone and created bunches of seperate address spaces.

It seems starnge that there are almost unlimited sets of 4gb address spaces all being shuffled about. If I under stand this properly, when I have several real hogs running, each wanting to run up towards 2GB, I'd better have page space to accomodate the sum of all. Perhaps 8GB or more.


Edited by gbeer (24/12/2004 02:58)
_________________________
Glenn

Top