Re: Swap

David S. Miller (davem@redhat.com)
Tue, 20 Nov 2001 15:01:54 -0800 (PST)


From: Andrew Morton <akpm@zip.com.au>
Date: Tue, 20 Nov 2001 14:23:38 -0800

Could you please explain further? What's more expensive
than the copy?

TLB misses add to the cost, and this overhead is more than
"noise".

The Apache guys were playing with using mmap() for page contents
and it was always slower than read() into a static buffer.
-
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/