Re: [Lse-tech] Re: 10.31 second kernel compile

Bill Davidsen
2002-03-19T16:38:37Z

On Sat, 16 Mar 2002, Daniel Phillips wrote:

> It breaks down somewhat as virtual memory range goes way beyond 4GB.
> There's the relatively minor issue of extra levels of tree traversal,
> currently limited to 4 by AMD's architecture but not so limited on other
> architectures. A bigger problem is what to do about internal fragmentation
> in the page table tree, say if somebody mmaps a 2 TB sparse file, then writes
> one byte every 2 meg. Bang, 4 gig worth of page tables, this is probably not
> what we want. IMHO, 'don't do that then' isn't a reasonable response.

Perhaps not, but "if you do that it will be slow" is a reasonable
response when any operation requires an unusual resource to complete. The
best solution is to reduce the resources needed by being clever, but the
next best is to prevent one process from beating the machine to death for
all others (if any).

--
bill davidsen <davidsen@tmr.com>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.