Everything2
Near Matches
Ignore Exact
Full Text
Everything2

page fault

created by delsarto

(idea) by illusionist (8 mon) (print)   ?   (I like it!) Thu Nov 09 2000 at 5:56:04

There are two types of page faults: Soft and Hard. Soft are the best; thus making hard the worst (speaking in performance terms).

In paged memory systems there are three levels of memory pages: In memory, in cache, and on disk. Most people are familiar with the in memory / on disk concept. However, most paged memory implementations keep a few recently used memory blocks in a page pool that gets written to disk when they are untouched for a certain amount of time. Basically, it's a collection of pages that are on their way out. When requesting a bit of memory that is not in the main memory banks, it goes to the page pool to see if it is a recent main memory visitor. If so, a soft page fault occurs, and the page is placed back into memory from memory (a quick operation). Pages not even in the pool have to be fetched from disk, causing a hard fault. This is the slowest and most horrible of operations for a computer and should be avoided at all costs. Too many hard page faults are often referred to as "thrashing".

printable version
chaos

I'll give up printf() when you pry my cold dead fingers from it Translation Look-Aside Buffer Magnetic core memory Coca-Cola
page paging Windows Error Lookup Guide Segmentation fault
How to draw anime bodies The USA has fucked up priorities ARM6 There is no you
Windows Error 0x00000000 - 0x0000007F Thrashing Virtual 8086 Mode felix culpa
convoy effect Belady's anomaly SMP virtual memory
interrupt The Saturday Evening Post General Protection Fault crosstalk
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes to live by:
Wall of Death
Archimedes' Principle
Lindisfarne
The Amityville Horror
map projection
Klein bottle
apple orchard
Rosette-forming Crassulaceae
the Literary Canon
Climb up on the Moon? Of course we did.
synthetic diamond
Everything you just read is bullshit
The United States is already at war with Iraq
New Writeups
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
John_Fox
Good Intentions Gone Wrong(person)
Cuckowski
Slavonic Princess(poetry)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
dagnyswaggart
Wild tides guard her secrets(poetry)
Lord Brawl
Caesar's last breath(poetry)
locke baron
Forgotten things in space(fiction)
sitaraika
Colours(idea)
etouffee
Wild tides guard her secrets(poetry)
Everything 2 is brought to you by the letter C and The Everything Development Company