[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shared pagetable benchmarking



Dave McCracken wrote:
> 
> [ ... ]
>

Thanks.

> I'll look for ways to optimize the unsharing to reduce the penalty, but I'm
> not optimistic that we can eliminate it entirely.

So changing userspace to place its writeable memory on a new 4M boundary
would be a big win?

It's years since I played with elf, but I think this is feasible.  Change
the linker and just wait for it to propagate.

Do we know someone who can guide us in prototyping that?

Do we know where the writes are occurring?

> Let's also not lose sight of what I consider the primary goal of shared
> page tables, which is to greatly reduce the page table memory overhead of
> massively shared large regions.

Well yes.  But this is optimising the (extremely) uncommon case while
penalising the (very) common one.

It's the same with the reverse map - we've gone and added significant
expense even to machines and workloads which perform no page reclaim
at all.  Perhaps pagetable sharing can get that back for us.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/