public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Priority in Memory management
@ 2006-03-17  8:37 Pradeep Vincent
  2006-03-17 10:29 ` Con Kolivas
  2006-03-17 17:46 ` Christoph Lameter
  0 siblings, 2 replies; 3+ messages in thread
From: Pradeep Vincent @ 2006-03-17  8:37 UTC (permalink / raw)
  To: linux-kernel

I tried searching for discussions related to this but in vain A
significant number of servers running Linux come under the category of
"Caching Servers". These servers usually try to server data either
from RAM or disk sub-systems and for obvious reasons want to serve as
much data as possible from RAM. Even if the dataset is comparable to
RAM size, other bon-performance critical activities on the system
(such as logging, log rotation/compression, remote performance
monitors, application code updates, security related searches )
disturb the cache hit ratio.

Mlocking the dataset is one option. Using fadvise/O_STREAM for
everything else is another option - but this doesn't address all the
cases.

Instead of locking out all memory, being able to set priorities for
virtual memory regions comes across as a better idea. This way if the
system really really needs memory, kernel can reclaim the cache pages
but not just because somebody is writing something and it might seem
fair to reclaim the dataset cache.


Has this come up in the past. Any history at all - I am all ears for
ideas and concerns.

Thanks,

Pradeep Vincent

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-17 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17  8:37 Priority in Memory management Pradeep Vincent
2006-03-17 10:29 ` Con Kolivas
2006-03-17 17:46 ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox