Similarities

  1. Both allow programs to run despite insufficient memory
  2. Pages and segments are stored on the disk
  3. Pages and segments are transferred to memory when needed

Differences

  1. Pages are fixed sized, segments are different
  2. Pages are made to fit sections of memory, segments are complete sections of programs
  3. Pages are physical divisions, segments are logical divisions

Disk Thrashing and Paging

If a large amount of time is spent moving pages/segments from memory to the disk (thrashing) than processing instructions, it results in the computer performing really slow.