Question

Do I have a Large Page File Usage?

Asked by: SWESupport

Hi there, I have been trying to sort out a slow server issue when connecting remotly to windows server 2003 terminal sessions, I have had a look at the performance and it seems that the server in question is constantly using 1.03gb of PF, the server itself has 2.046gb RAM, the server runs an accounting program as well as people using office and outlook, is the PF usage to high? should i be obtaining more RAM, do you think this why im having problems??

Appreciate the help.
SWESupport

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-10-28 at 17:22:47ID24853154
Topics

Computer Memory (RAM)

,

Windows 2003 Server

,

Remote Desktop/Terminal Services

Participating Experts
5
Points
500
Comments
19

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. RAM usage
    Here's the question: I run a database program on win98SE with a Pentium I processor and 32MB of memory. Comparing tables within the database were taking a long time, so I upgraded the memory to 150MB (a stick of 32MB and one of 128MB). However, there is virtually no improve...
  2. windows Pf use
    when viewing my computers task manager ..........the PF usage there is almost 100 this makes my PC work a real slow .... why is the PF usage is too much ??? i am not playing a game .....well just uses WMP , a downlaod acceralater ,messenger and broswer ......well are these ...
  3. PF Usage" (Page File Usage) is over 2 GB.
    My PF Usage is over 2GB, is this to high. I have 2GB of ram in the server.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: alanhardistyPosted on 2009-10-28 at 17:39:51ID: 25689661

When you bring up Task Manager (CTRL + SHIFT + ESC) - look on the performance tab.  Where is the Page File Graph line approx?  Half way up the chart?

If it is higher than about 40%, then you could probably do with more memory

If your server is 32-bit then it can only use about 3Gb of memory and your PF use is probably not unreasonable based on the 2Gb of memory.  Add up to 4Gb of memory if it has to be installed in pairs - you cannot use it all, but better to have more than less.

Windows likes memory - so the more you can give it to play with the better it will perform.

 

by: xxdcmastPosted on 2009-10-28 at 17:40:20ID: 25689662

If the server has 2gb of ram and you are only using 1gb then chances are the memory size is not what was causing your bottlneck. If you said that you had 1gb of ram and 2gb of pf was in use then I would say add more ram.

What happens when you go over the amount of your physical RAM is that your comuter uses much slower harddrisk space to act as ram. Of course the hard disk data access is much slower than that of the RAM so you would see a slowdown there.

 

by: SWESupportPosted on 2009-10-28 at 17:51:44ID: 25689718

The page file is running at just over a 5th of the way up the grid.
I was seriously considering more RAM, cause at the moment that is the cheapest option that we have come up with.

 

by: xxdcmastPosted on 2009-10-28 at 17:56:01ID: 25689740

Well if this is a windows 2003 server you could always up the RAM to 4GB as that is the max the system can see. This may help you out a little bit but if you arent maxing out your existing RAM you probably wont see much if any speed increase by increasing the physical ram.

 

by: alanhardistyPosted on 2009-10-28 at 17:59:22ID: 25689760

A 5th of the way up is not a RAM problem, but as you say - RAM is cheap, so you may as well put in 4Gb and monitor the performance to see if it improves, which it should.

 

by: madhurjya123Posted on 2009-10-28 at 18:38:10ID: 25689932

How big is the page file? Paging in windows is a normal activity, and its not a best practice to disable paging completely. The RAM + the Page file = Commit limit of the system. When any processes starts up it allocates some amount of memory in the RAM, this is called the working set of the process, the less touched pages in the working set of the process will be moved to a list called the standby pages, if the process needs this page again it will be quickly faulted back to the working set again. standby pages are like a page of memory (RAM) which has one foot already out of the process working set, the standby pages if not used for a certain amount of time will be moved to the disk (Page file), now, if this page is again requested by the process this will cause a hard page fault as it has to be retrieved from the page file this time and will have more latency.
secondly, a system wide paging operation will be triggered by the Memory manager if the system experiences a low memory condition (theoriticaly 4 mb available RAM), but performance degradation might occur much before this threshold. when a low memory condition is encountered, the working set of all the processes are trimmed by the working set trimming thread and the process data will be moved to the page file to make room in RAM, so in your case if you are seeing excessive paging we need to find out which process is using the most amount of memory (the private bytes counter in perfmon needs to be checked). set up a perfmon log with all the memory and page file counter and keep it running in the background while reproducing the issue. after the issue is reproduced, stop the log and view the counters in perfmon. excessive paging operation involves disk activity and will degrade system performance, if we have a memory leak in a process, even adding more RAM will not help, we need to fix the process itself. hope this helps.  --- Madhur

 

by: SWESupportPosted on 2009-10-28 at 19:00:38ID: 25690023

I have been monitoring the processes for over 2 hours now and research leaks on each of them, whilst restarting the services as well to see how quickly they are drawing the memory, currently the page file is 1gb.
I have found a couple of workarounds for some processes, so hopefully at the end of it all i will get better performance.

 

by: madhurjya123Posted on 2009-10-28 at 20:30:35ID: 25690465

Whats the value for "Memory" > "%Commited Bytes in use" counter in perfmon? if its too high more than 80%, you can increase the page file and monitor the server. set the page file to custom>  3072 MB min and max.

questions:
OS? win2k3 / 2k8
Architecture: 32 bit / 64 bit?
Is the server a virtual machine or physical? if its virtualized, is it Vmware or HyperV?
Where do you see the slowness exactly, while logging in? or the over all TS session experience is slow? whats the behavior at the physical console? is it slow there too? does a reboot fix the problem for a while?

Let me know the following counter values in perfmon when the issue is happening:
Process > Handle count total  (if its high we will have to look at individual handle counts for processes)
Paging File > "%usage"

Memory > Free System Page Table entries
Memory > Available megabyte
Memory > Commit Limit
Memory > Pool Non Paged Bytes
Memory > Pool Paged Bytes

 

by: tsmvpPosted on 2009-10-28 at 20:31:23ID: 25690471

A couple points:
1. A TS will always try to leave as much RAM available for users as possible so using the paging file is not really an issue (unless things are paged ALL the time).
2. 2GB RAM does not mean anything in a TS world without knowing how many users you have concurrently on this box. If this is a server for 1 user that is a lot of RAM. If you are trying 100 concurrent users this is very low. So without knowing how many users you have and which apps they run it is impossible to say anything about your TS.
3. On the applications topic, if you run Office on this server make sure you ELIMINATE CTFMON. It is well known for causing all sorts of slowness on TSs and Microsoft is aware of that and provides instructions on how to get rid of it.
4. How often do you reboot this TS? Ideally TSs should be rebooted on a daily basis for several reasons. This will help with memory leaks and so on.
5. All this and MUCH more about TS is on the free guide I wrote, an 80-page beast, available for download at http://www.wtslabs.com. The guide is "Terminal Services A to Z".

Cheers.

Cláudio Rodrigues
Citrix CTP

 

by: SWESupportPosted on 2009-10-28 at 23:17:12ID: 25691050

FYI

  • pfmon.JPG
    • 46 KB

    Performance Monitoring Screenshot

    Performance Monitoring Screenshot
 

by: tsmvpPosted on 2009-10-29 at 06:15:44ID: 25693248

Looking at this screenshot it seems all normal and working good. Read my previous comments though.
Also if you did not set the initial and maximum size of your paging file to be the same (around 2 to 2.5 times the physical RAM), do it as it improves performance.

Cláudio Rodrigues
Citrix CTP

 

by: SWESupportPosted on 2009-10-29 at 18:15:36ID: 25699562

How do you set the minimum and maximum for the page file?

 

by: tsmvpPosted on 2009-10-29 at 20:19:30ID: 25699997

Right click my computer and go to properties. Under the Advanced tab you will find the paging file. It will show you both sizes (min/max). Set both to the same (2X the RAM) and reboot.

Cláudio Rodrigues
Citrix CTP

 

by: madhurjya123Posted on 2009-10-29 at 20:36:52ID: 25700050

The screenshot shows that high CPU activity for kernel mode (priviledged mode), Do you see high CPU usage for the system process in task manager > processes?

If you see more red lines in CPU usage section as shown in the task manager screenshot, its a problem.

If you do not see any processes with CPU usage in the task manager, there might be high DPC or interrupts. these things run in the kernel mode and you won't be able to see it from task manager.

The system process is a container for kernel mode threads, so if you see high CPU usage for system process in task manager > processes tab, it means some thread running in the kernel mode is pegging the CPU.

Do you constantly see more red lines in the CPU Usage section in task manager > Performance tab?

if yes, the server slowness is most probably due to high cpu usage by a kernel mode thread, high Interrupts or high DPC.

You can run "process explorer" tool from www.sysinternals.com to check these and what is running under the "system" process

Click on start > Run > type in "Perfmon" and hit enter
in "System Monitor" hit the "+" icon on the toolbar to bring up the counters box
select "Processor" from the object list and select "%DPC time" and %interrupt time from the list
click add
hit ok
what values do you see for these two counters?

I don't see problems with memory in the screenshot. this seems more like a high cpu usage in kernel mode.

 

by: SWESupportPosted on 2009-11-02 at 15:58:21ID: 25725050

Theres no tree for system monitor on mine?

 

by: madhurjya123Posted on 2009-11-02 at 18:16:31ID: 25725599

The system monitor does not have a tree. select System monitor and on the right hand side pane, on the toolbar click the '+" symbol to add the counters

 

by: SWESupportPosted on 2009-11-05 at 23:15:15ID: 25757227

avg interrupt is .950
DPC is 3.141

 

by: PCBONEZPosted on 2009-11-14 at 04:21:31ID: 25820371

In a 32-bit OS the memory maps are limited to 4GB.
PF uses a different memory map than system RAM and each one is limited to 4GB.
For best performance the PF should be set manually to 1.5x physical memory -as long as- it is less than 4GB.
With 2GB of physical RAM your PF should be set to 3GB.
-
If you had 3GB of physical RAM your PF should be set to 4GB. [Address table size limit overrides the 1.5x.]
If you had 4GB of physical RAM your PF should be set to 4GB. [Address table size limit overrides the 1.5x.]

 

by: SWESupportPosted on 2009-11-29 at 23:02:50ID: 31647295

No official solution however these process helped investigate.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...