INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: What is a page fault?  (Read 2389 times)

dragyn

  • Guest
What is a page fault?
« on: April 03, 2003, 03:44:29 pm »

I noticed this in the task manager. It's showing MC having 787,728 page faults. I don't think this is a good thing.  :(
Logged

dragyn

  • Guest
Re: What is a page fault?
« Reply #1 on: April 03, 2003, 03:50:37 pm »

I think it has something to do with thumbnails. If I view a lot, it skyrockets. I'm over a million now.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: What is a page fault?
« Reply #2 on: April 03, 2003, 03:53:03 pm »

Dave,
I think you're on to something.

Jim
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: What is a page fault?
« Reply #3 on: April 03, 2003, 08:01:28 pm »

A program has a virtual address space that is mapped onto the real memory available. Since multiple programs run on the same system, and since programs can be quite large, the virtual address space is not guaranteed to be in real memory all the time. The overflow is on the disk (in the swap space).

A page fault occurs when a running program references virtual memory that is not in real memory. Then the OS has to choose a page in real memory to write out to disk, and read in the page needed.

It's normal, though you may notice when using a busy system and a program with a lot of data that the disk is very busy (swapping in and out pages of memory).

j

dragyn

  • Guest
Re: What is a page fault?
« Reply #4 on: April 04, 2003, 01:18:55 am »

ok. thanks.

I left MC running overnight. holy cow...25,000,000+ page faults. There definately is a problem here.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
Re: What is a page fault?
« Reply #5 on: April 04, 2003, 01:38:40 am »

Need more memory?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: What is a page fault?
« Reply #6 on: April 04, 2003, 04:57:36 am »

There's a lot of paging in and out because of how MC cleans up it's memory space once in a while to help performance.

I don't think there's anything to worry about.
Logged
Matt Ashland, JRiver Media Center

dragyn

  • Guest
Re: What is a page fault?
« Reply #7 on: April 06, 2003, 08:59:37 am »

If you're not worried about it, then I'm not gonna worry about it.

It just seemed kinda odd that MC was in the millions while other programs were in the thousands if that. But like you said, it's using memory a lot more while other programs mainly sit there and do nothing.
Logged
Pages: [1]   Go Up