HighTechTalks DotNet Forums  

PF Delta

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss PF Delta in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
James Jenkins
 
Posts: n/a

Default PF Delta - 12-07-2005 , 11:23 AM






Hi I have a C# app which opens a process and reads the output via a
streamreader - the program reads the output from netstat. The amount of PF
Delta goes up to 400 + ... I am concerned about this, however I do not have
a memory leak, Page file is static and memory usage is also static. I would
appreciate any pointers.

James Jenkins



Reply With Quote
  #2  
Old   
Goran Sliskovic
 
Posts: n/a

Default Re: PF Delta - 12-07-2005 , 12:16 PM







"James Jenkins" <james (@) tamarsolutions.co.uk> wrote

Quote:
Hi I have a C# app which opens a process and reads the output via a
streamreader - the program reads the output from netstat. The amount of
PF
Delta goes up to 400 + ... I am concerned about this, however I do not
have
a memory leak, Page file is static and memory usage is also static. I
would
appreciate any pointers.

....

Hi,
I would not be concerned if performance is OK to you. Page faulting is not
usually bad. It is controlled by the operating system itself. For example,
when executable is started, OS might not load whole image in memory, but
rather only load start page. Page fault handler will provide additional
pages when needed (whole executable does not need to be loaded). Also, when
you allocate memory, only address space is reserved. When data is written,
page is allocated by the OS ("soft" page fault is generated).

Bottom line is that memory model in windows is rather complex and if you
don't see performance problems, don't bother.

Regards,
Goran




Reply With Quote
  #3  
Old   
James Jenkins
 
Posts: n/a

Default Re: PF Delta - 12-07-2005 , 12:26 PM




"Goran Sliskovic" <gsliskov (AT) yahoo (DOT) com> wrote

Quote:
"James Jenkins" <james (@) tamarsolutions.co.uk> wrote in message
news:Oj$Ffq0%23FHA.1988 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi I have a C# app which opens a process and reads the output via a
streamreader - the program reads the output from netstat. The amount of
PF
Delta goes up to 400 + ... I am concerned about this, however I do not
have
a memory leak, Page file is static and memory usage is also static. I
would
appreciate any pointers.

...

Hi,
I would not be concerned if performance is OK to you. Page faulting is not
usually bad. It is controlled by the operating system itself. For example,
when executable is started, OS might not load whole image in memory, but
rather only load start page. Page fault handler will provide additional
pages when needed (whole executable does not need to be loaded). Also,
when
you allocate memory, only address space is reserved. When data is written,
page is allocated by the OS ("soft" page fault is generated).

Bottom line is that memory model in windows is rather complex and if you
don't see performance problems, don't bother.

Regards,
Goran


Thanks Goran - I have run CLR Profiler and there is no problems there - so I
will take your advice - thanks again

James




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.