![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#11
| |||
| |||
|
|
Then it's like you don't have a swapfile at all. Windows is using different physical to pagefile mapping. First, it doesn't allow overcommit, unlike *ix OSs. All committed pageable RAM pages map to pagefile pages. As soon as a page needs to be swapped out, it's written to PF. Then the RAM page becomes free to read another page. |
|
Bottom line, total virtual memory size is NOT RAM+PF. It's max(RAM, PF). |
|
"Arno Wagner" <me (AT) privacy (DOT) net> wrote in message news:56d9umF28gvnpU2 (AT) mid (DOT) individual.net... consensus! Hehe. Here is one rule of thumb that I use: Swap should be the same size as the main memory, but not larger than 256MB, since it then starts to take forever to actually use it. My Linux currently runns swappless without issue. For XP, I think I have 250MB static size. Arno |
#12
| |||
| |||
|
|
Previously Terry Pinnell <terrypinDELETE (AT) thesedial (DOT) pipex.com> wrote: Arno Wagner <me (AT) privacy (DOT) net> wrote: Previously Bob Willard <BobwBSGS (AT) trashthis (DOT) comcast.net> wrote: Terry Pinnell wrote: I just upgraded my Athlon 1800 512 MB to 1 GB. Is there any general consensus on the 'best' setting I should use for page file please? I recall a few years ago much debate/controversy over this, but wonder if a consensus has now emerged? My CPU is now slow by today's standards (runs at 1533 MHz), so I naturally want to get the most out of this extra RAM. I think the consensus is, for almost all XP desktop PCs, to let the OS control the size dynamically. Not at all. Good performance requires a static size. No control by the OS then. Arno Thanks both. Hmm, so I suspect things haven't changed then - still no consensus! Hehe. Here is one rule of thumb that I use: Swap should be the same size as the main memory, but not larger than 256MB, since it then starts to take forever to actually use it. My Linux currently runns swappless without issue. For XP, I think I have 250MB static size. Arno |
#13
| |||
| |||
|
|
Bottom line, total virtual memory size is NOT RAM+PF. It's max(RAM, PF). So in Windows, you cannot use more memory than you have physically available? Unbelivable! That was the reason pageing was invented in the first place! I'm not being a fan of Mr Gates, but I have to disagree. Say you have |
|
Why does MS always have to ignore technology prooven over decades and do their own inferiour and botched thing? Does nobody there study first what already exists? Extremely incompetent or extremely arrogant. Maybe both. Probably their patent lawyers have a special killing pen for any |
#14
| |||
| |||
|
|
I've run without swap space on Linux for years now. I think swap is an idea whose time has passed. Swap is a place for dumping the contents of memory to when there's |
#15
| |||
| |||
|
|
You need at least as much pagefile as you have RAM. |
#16
| ||||
| ||||
|
|
Previously Alexander Grigoriev <alegr (AT) earthlink (DOT) net> wrote: Then it's like you don't have a swapfile at all. Windows is using different physical to pagefile mapping. First, it doesn't allow overcommit, unlike *ix OSs. All committed pageable RAM pages map to pagefile pages. As soon as a page needs to be swapped out, it's written to PF. Then the RAM page becomes free to read another page. Ok, that is plain stupid. They should have read some introductory text on OS memory management! If MS really does not know ho to do this properly and implemented it this way, then your are correct, of course. |
|
Bottom line, total virtual memory size is NOT RAM+PF. It's max(RAM, PF). So in Windows, you cannot use more memory than you have physically available? |
|
Unbelivable! That was the reason pageing was invented in the first place! Well, I usually only run single taks in XP (games), so I will probably not be too much affected. Nut I now understand why a webbrowser run in paralell can lead to memory exhaustion. Why does MS always have to ignore technology prooven over decades and do their own inferiour and botched thing? Does nobody there study first what already exists? Extremely incompetent or extremely arrogant. |
|
Maybe both. Arno "Arno Wagner" <me (AT) privacy (DOT) net> wrote in message news:56d9umF28gvnpU2 (AT) mid (DOT) individual.net... consensus! Hehe. Here is one rule of thumb that I use: Swap should be the same size as the main memory, but not larger than 256MB, since it then starts to take forever to actually use it. My Linux currently runns swappless without issue. For XP, I think I have 250MB static size. Arno |
#17
| |||
| |||
|
|
In article <tZ6dnenvX-0icJzbnZ2dnUVZ_ozinZ2d (AT) comcast (DOT) com>, TimeOday wrote: I've run without swap space on Linux for years now. I think swap is an idea whose time has passed. Swap is a place for dumping the contents of memory to when there's a serious application fault, without fear of overwriting work by any other process. |
|
As far as that goes, the idea is very much alive and well. In fact, making swap a distinct partition is a very good idea. (It can also be used for dumping core to in the event of a kernel fault.) Have you checked that your kernel isn't creating a swap *file* without you noticing - the Linux virtual memory manager has the ability to dynamically add swap as either partitions *or* as files in an existing filesystem. |
|
I recall that this used to be the case in the 1.x series of kernels, but I've not bothered learning the ins and outs in 2.x series. |
#18
| |||
| |||
|
|
Ok, that is plain stupid. They should have read some introductory text on OS memory management! If MS really does not know ho to do this properly and implemented it this way, then your are correct, of course. Bottom line, total virtual memory size is NOT RAM+PF. It's max(RAM, PF). So in Windows, you cannot use more memory than you have physically available? Unbelivable! That was the reason pageing was invented in the first place! Well, I usually only run single taks in XP (games), so I will probably not be too much affected. Nut I now understand why a webbrowser run in paralell can lead to memory exhaustion. Why does MS always have to ignore technology prooven over decades and do their own inferiour and botched thing? Does nobody there study first what already exists? Extremely incompetent or extremely arrogant. Maybe both. Arno "Arno Wagner" <me (AT) privacy (DOT) net> wrote in message news:56d9umF28gvnpU2 (AT) mid (DOT) individual.net... consensus! Hehe. Here is one rule of thumb that I use: Swap should be the same size as the main memory, but not larger than 256MB, since it then starts to take forever to actually use it. My Linux currently runns swappless without issue. For XP, I think I have 250MB static size. Arno |
#19
| |||
| |||
|
|
Under UNIX the kernel dumps to file. Swap is not unsed for that. No idea why Windows is incapable of producing a dump-file (i you are right that it is). |
#20
| |||
| |||
|
|
When kernel bugcheck occurs, it's not a good idea to go to filesystem and create a file. After all, your filesystem driver may be screwed all over by a faulty driver that caused the crash. If you call it, it might as well say goodbye to the whole partition. In Windows, crash dump is written by a special part of the disk driver, which is normally not even mapped to kernel space, to avoid its corruption. Position to where to write the dump is known beforehand, during pagefile initialization. When crash dump starts, bugcheck handler maps the dump writer which then does the job. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |