Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview

From: Avi Kivity
Date: Mon Apr 26 2010 - 09:48:47 EST


On 04/26/2010 03:45 PM, Dan Magenheimer wrote:
dma engines are present on commodity hardware now:

http://en.wikipedia.org/wiki/I/O_Acceleration_Technology

I don't know if consumer machines have them, but servers certainly do.
modprobe ioatdma.
They don't seem to have gained much ground in the FIVE YEARS
since the patch was first posted to Linux, have they?

Why do you say this? Servers have them and AFAIK networking uses them. There are other uses of the API in the code, but I don't know how much of this is for bulk copies.

Maybe it's because memory-to-memory copy using a CPU
is so fast (especially for page-ish quantities of data)
and is a small percentage of CPU utilization these days?

Copies take a small percentage of cpu because a lot of care goes into avoiding them, or placing them near the place where the copy is used. They certainly show up in high speed networking.

A page-sized copy is small, but many of them will be expensive.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/