Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

From: Ingo Molnar
Date: Mon Oct 14 2013 - 03:49:09 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Neil Horman <nhorman@xxxxxxxxxxxxx> writes:
>
> > Sébastien Dugué reported to me that devices implementing ipoib (which
> > don't have checksum offload hardware were spending a significant
> > amount of time computing
>
> Must be an odd workload, most TCP/UDP workloads do copy-checksum
> anyways. I would rather investigate why that doesn't work.

There's a fair amount of csum_partial()-only workloads, a packet does not
need to hit user-space to be a significant portion of the system's
workload.

That said, it would indeed be nice to hear which particular code path was
hit in this case, if nothing else then for education purposes.

Thanks,

Ingo
--
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/