RE: Virtual Memory

  • From: "Kevin Closson" <kevinc@xxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 25 Aug 2006 12:07:16 -0700

 >>>
>>>A decent OS shouldn't start paging much before it starts 
>>>running out of physical memory, 


...well, there is a difference between paging and allocating 
swap in the event paging is required. The jury is out on
OSes that allocate swap only at the point when some major
page faults or process swaps (same mechanisms usually) need
to occur. If there doesn't happen to be enough swap space when
such an on-demand allocation takes place, the only resort 
for the OS is to start killing "stuff"... what "stuff" is
best to kill?

Way beck when, there were Unix derivations that didn't
like this idea so they allocated swap within the page
allocation code so there would never be a desperation swap
failure... if a process has a page, there is a page in
swap behind it.

I never could grasp the idea of just picking a process and killing
it because the system is low on swap...especially since the
best candidate to kill is one that has a significant amount
of virtual memory...


--
//www.freelists.org/webpage/oracle-l


Other related posts: