![]() | |
|
Welcome to the ABXZone Computer Forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Revolutionary Mule Join Date: Nov 2004 Location: Calgary, AB
Posts: 2,987
| Pagefile usage Hey guys, I am curious how a pagefile actually works. I have noticed that EQ2 is super laggy latey and it seems like its RAM related. There is no way I should be getting that kind of lag in a game with this rig and it seems like it just showed up. I always thought a pagefile was used only when RAM was 100% used, is that not correct? I pulled up task manager while in the game and saw PF was at over a gig of usage. Is that what is causing lag? Also when idle I am using >311mb of PF. Is this normal or is something screwed up? See what I mean, RAM use 21% PF 300mb+ Can someone provide an explanation as to how swap/PF works please? Cheers
__________________ PM me for Mushkin questions or support. |
| (Offline) | |
| Advertisement | [Remove Advertisement] |
| |
| | #2 |
| Remembering TQ ![]() Join Date: Mar 2001 Location: Sweden
Posts: 13,638
| The page file is always used in a demand paging design. The memory manager frequently writes unused memory pages to the page file. For the simple reason that if a page hasn't been used for a while, there's no need to bother memory with it. If a program then tries to read data that isn't in memory, the page is swapped back from the page file to the memory, and execution continues. The most important use of a page file is for virtual memory. Even though you may only have 512MB of memory in XP, each process has 4GB of virtual memory. This is solved by using the page file and continuously writing memory pages that aren't used to the page file. You still only have 512MB of physical memory, but using the page file and demand paging, you can accomplish a virtual memory of 4GB. (Problems may arise from this system also. Namely thrashing. That is when the system spends more time swapping memory pages to and from the page file than it does executing code. This is usually an indication that more physical memory is needed. I would say it's quite uncommon today in PCs.) Some disable the page file when they have a couple of gigs of memory, but that is really disabling a feature that is key to operating systems. If memory should run you, at best you'll get a warning and you'll be allowed to close processes that hog memory, at worst the computer will BSOD and all work is lost.
__________________ ![]() Use Firefox - "the one that blocks all the schmutz" Feeling multicore elation? Remember this correlation: Amdahl's Law. |
| (Offline) | |
| | #3 | |
| The race for quality has no finish line- so technically, it's more like a death march. ![]() Join Date: Feb 2001
Posts: 18,159
| I wonder if PAE is part of the problem as well? Quote:
http://www.microsoft.com/technet/pro.../sp2mempr.mspx | |
| (Offline) | |
| | #4 |
| . Join Date: Feb 2001
Posts: 2,669
| Perris, a member here and at OSNN wrote a good article on it. It is posted here: http://www.tweakhound.com/xp/virtualmemory.htm
__________________ My Blog |
| (Offline) | |
| | #5 |
| 010011100100100101001110 Join Date: Nov 2003 Location: Virginia
Posts: 1,243
| You could always try disabling page file (: its like going into the wild without a machette hehe last time i did it, my sound would stop working lol I might have to try that again though.
__________________ A64 X2 4800+ (Toledo) A8N32-SLI-Deluxe PQI 2x1gb (2.5/4/4/8/1T) WD 150gb 10,000rpm Raptor eVGA 8800GTX Asus Xonar DX Thermaltake PurePower 560w Gigabyte Aurora Case Dell UltraSharp 2405FPW 24" LCD My site in progress: http://www.average-geek.com |
| (Offline) | |
| | #6 |
| Revolutionary Mule Join Date: Nov 2004 Location: Calgary, AB
Posts: 2,987
| Thanks for the info guys. I don’t think I will disable pagefile, but maybe reducing the size to 1024mb will help?
__________________ PM me for Mushkin questions or support. |
| (Offline) | |
| | #7 |
| 010011100100100101001110 Join Date: Nov 2003 Location: Virginia
Posts: 1,243
| When i played eq2 i don't think i hit 1 gig of pagefile usage, now close to 1gig of mem being used was normal though.
__________________ A64 X2 4800+ (Toledo) A8N32-SLI-Deluxe PQI 2x1gb (2.5/4/4/8/1T) WD 150gb 10,000rpm Raptor eVGA 8800GTX Asus Xonar DX Thermaltake PurePower 560w Gigabyte Aurora Case Dell UltraSharp 2405FPW 24" LCD My site in progress: http://www.average-geek.com |
| (Offline) | |
| | #8 |
| Registered User Join Date: May 2004 Location: Austin, TX
Posts: 93
| The lag you are seeing could also be the video card swapping textures out of memory and not have anything to do with system memory. When playing world of warcraft if I go into an area I haven't been to recently I get the chop chop chop of the screen as it swaps textures out and loads new ones and loads in everything in the area. When you are playing EQ2 how much memory is the game taking up? I'm willing to bet that while in the game none of the EQ2 stuff is paged, but when you switch out to the desktop it pages it out to the HD since its such a large chunk. Then when you alt-tab back into the game it pages it again dumping it back into memory. Windows XP's virtual memory system sucks. It should only page out to the hd when it is running low on physical memory, not when you switch applications. |
| (Offline) | |
| | #9 | |
| Revolutionary Mule Join Date: Nov 2004 Location: Calgary, AB
Posts: 2,987
| Quote:
I was guessing it was memory related because the game is acting like when I only had 512 in a while back, just choppy and gets worse when there are battles and stuff. I have my 6800GT water cooled so it peaks at 44C and can't be overheating, and I have it Oced to 425/1100 for the last few months and have had no troubles at all. ..
__________________ PM me for Mushkin questions or support. | |
| (Offline) | |
| | #10 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| Eldonko I always set fixed = constant page file size. This helps for better and faster defrag. In addition if you have a faster hard disk or a small partition --> thus fast access hard disk time --> place swap file there. I have 1X512MB and page file size is 128MB only! LOL I run my system on limits! MrMike you are right. Of course Windows virtual memory system sucks! If I do not manage swap file it will be 1.5*times bigger than physical memory (Microsoft recommendation) --> 768MB... My previous system First of all here is a screen capture ![]() and my CPU ZZZed --> CPU usage was 10% only.... Total processes were 38 but focus in Commit Charge (K) group item.... Total item shows the current memory usage (also MemTurbo does it) but Limit item is the maximum available RAM (plus swap file if exists)... Moreover Peak item shows the maximum allocated RAM during Windows session LOL as you see my system used 481360 KB and the limit was 490208! WOW very near to limits!!!!! And system did not crash! This photo shows the total processes see on the bottom left 3 antivirus were running (AntivirXP, Kasperksy and AVG) and 286 is the free RAM (MemTurbo index)... ![]() Last edited by MrSeanKon : 08-02-2006 at 02:51 AM. |
| (Offline) | |
| | #11 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| Here was the settings for swap file (or pagefile): ![]() Fixed size to 128 MB but I put it in the second hard disk (the IDE Western Digital). My IDE has two partitions and pagefile is in the first partition cos the first sectors (outer) of each hard disk are faster. The SATA Seagate is the main hard disk (Windows XP installed in SEAGATE_1 partition). Finally this photo shows double video encoding (two DrDivX instances run) and I was programming C# (the mouse pointer shows Microsoft Visual Studio)... ![]() Roughly 200 MB of total RAM were free (621276 vs 421528 KB)... Thus why I must follow Microsoft recommendations? LOL... |
| (Offline) | |
| | #12 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| --> Let's play with System Reporter <-- This program is not in OcBible v1.47 but I share a beta version. I will include it in OcBible v1.48 anyway click here to grab it and read there the instructions. LOL Windows Task Manager shows wrong value for swap file! ![]() System Reporter show the same value ![]() |
| (Offline) | |
| | #13 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| The system has 2*512 MB total RAM so I opened many applications. Guidemania C# code has huge forms who are hungry for RAM.... See here LOL system almost crashed! ![]() Focus to values: ![]() |
| (Offline) | |
| | #14 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| System Reporter can warn you blinking the monitor if something is out of limits. Just click on the menus you want: ![]() ![]() For pagefile: ![]() |
| (Offline) | |
| | #15 |
| The O/c Bible creator Join Date: Jun 2005 Location: Visit Athens...
Posts: 510
| Finally you can BAN LOL ![]() Enjoy with this new tool! ![]() Last edited by MrSeanKon : 08-07-2006 at 03:54 AM. |
| (Offline) | |
![]() |
| Thread Tools | |
| Display Modes | |
| |