Re: 3.5G user space speed

Brian Gerst (bgerst@didntduck.org)
Tue, 15 Jan 2002 16:41:56 -0500


Peter Zaitsev wrote:
>
> Hello Brian,
>
> Wednesday, January 16, 2002, 12:05:39 AM, you wrote:
>
> BG> You can't have it both ways with the x86 (speed vs. large userspace).
> BG> Kernel 2.5 may help a bit here because changes were made to allow DMA
> BG> from all memory (subject to card limitations), lessening the burden for
> BG> direct-mapped memory. Otherwise you'll need to move to a 64-bit arch.
>
> Well. May be you can tell about the numbers a bit ? I can chose 3.0G
> for user instead of 3.5G for user with not really huge loss, but I'd
> like to know how much it will increase speed and in which cases, also
> about standard 2/2 mode.

I don't have quantifiable numbers available, but the speed issue will be
a result of the kernel running out of direct-mapped memory and having to
start swapping even though there is free memory in the system (in the
highmem zone). The best thing you can do is try both and find what
works best for you.

--

Brian Gerst - 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/