[Ksummit-discuss] [CORE TOPIC] Redesign Memory Management layer and more core subsystem

Dave Hansen dave at sr71.net
Wed Jun 11 20:52:08 UTC 2014


On 06/11/2014 12:03 PM, Christoph Lameter wrote:
> 4. Swap: No one really wants to swap today. This needs to be replaced with
> something else. Going heavily into swap is akin to locking up the system.
> There are numerous band aid solutions but nothing appealing. Maybe the
> best idea is the Android idea of the saving app state and removing it from
> memory.

Yeah, our entire approach is getting a bit dated, and I think it's
really designed around the fact that our swap devices have historically
been (relatively) painfully slow to access.

There are some patches in mm to _help_, but currently if you throw a
really fast swap device in a system and try to swap heavily to it, you
don't get anywhere near saturating the device.

We'd probably be better off if we just blasted data at the device and
just ignored the LRU.


More information about the Ksummit-discuss mailing list