Re: [RFC] [PATCH 0/3] ioat: DMA engine support
From: Andi Kleen
Date: Thu Nov 24 2005 - 10:29:17 EST
On Thu, Nov 24, 2005 at 05:24:34PM +0200, Avi Kivity wrote:
> Andi Kleen wrote:
>
> >>Don't forget that there are benefits of not polluting the cache with the
> >>traffic for the incoming skbs.
> >>
> >>
> >
> >Is that a general benefit outside benchmarks? I would expect
> >most real programs to actually do something with the data
> >- and that usually involves needing it in cache.
> >
> >
> >
> As an example, an NFS server reads some data pages using iSCSI and sends
> them using NFS/TCP (or vice versa).
For TX this can be done zero copy using a sendfile like setup.
For RX it may help - but my point was that most applications
are not structured in this simple way.
> >>In the I/O AT case it might make sense to do a few prefetch()es of the
> >>userland data on the return-to-userspace code path.
> >>
> >>
> >
> >Some prefetches for user space might be a good idea yes
> >
> >
> >
> As long as they can be turned off. Not all usespace applications want to
> touch the data immediately.
Perhaps. And lots of others might. Of course the simple
network benchmarks don't so the number on them look good.
Just pointing out that it's not clear it will always be a big help.
-Andi
-
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/