Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Enrico Weigelt <weigelt@...>
Subject: Re: Re: Memory usage; 32 bit vs 64 bit.
Date: Thu, 6 Jan 2011 23:28:45 +0100
* Volker Armin Hemmann <volkerarmin@...> wrote:

> > Is there anything userland apps could do to improve it ?
> > eg. memory pools based on usage patterns ?
> 
> sure, they can try to mlock themselves. But that is a nother bucket of 
> worms...

Wouldn't that defeat the purpose of swapping ?

I was thinking about something different: trying to design
applications in a more swap-friendly way, eg. keeping data thats
used together in a relatively closed set of pages. Or separate
heavily used data from seldomly used ones.

For example, an web browser could use an own pool per window.
If some window is minimized, it shouldn't have to be repainted
(in theory ;-)), and everything belonging to it could potentially
be swapped out together, while other (active) windows dont need
data from these pages. OTOH closing an window would free the
whole pool - if it's an anonymous mmap()ed region, the kernel
could simply throw the pages away.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@...
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


References:
Memory usage; 32 bit vs 64 bit.
-- Dale
Re: Re: Memory usage; 32 bit vs 64 bit.
-- Volker Armin Hemmann
Re: Re: Memory usage; 32 bit vs 64 bit.
-- Enrico Weigelt
Re: Re: Memory usage; 32 bit vs 64 bit.
-- Volker Armin Hemmann
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Memory usage; 32 bit vs 64 bit.
Next by thread:
Re: Re: Memory usage; 32 bit vs 64 bit.
Previous by date:
Re: Re: Memory usage; 32 bit vs 64 bit.
Next by date:
Re: Memory usage; 32 bit vs 64 bit.


Updated Jun 04, 2012

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.