> - do the highmem pte bouncing only for CONFIG_X86_PAE: with less then 4GB
> of RAM this doesn't seem to matter all that much (rule of thumb: we
> need about 1% of memory for page tables).
Actually, with 100 processes mapping a 1 GB area of shared
memory, you'll need about 100 MB of page tables or 10% of
the SHM segment. This rises even further with PAE and/or
more processes.
The page table cost for heavily shared memory segments is
really getting out of hand, IMHO ... it might be worth it
to set aside a separate memory zone and use 4 MB pages for
the SHM segment.
regards,
Rik
-- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" documenthttp://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/