[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs
- From: Andi Kleen <ak linux intel com>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: Herbert Xu <herbert gondor hengli com au>, device-mapper development <dm-devel redhat com>, linux-kernel vger kernel org, agk redhat com
- Subject: Re: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs
- Date: Wed, 02 Jun 2010 09:51:59 +0200
It is pointless to track the submitting CPU.
No you are wrong.
For what? For avoiding cache bounces? But the encrypting is
order-of-magnitude slower than memory speed.
On a system with reasonably fast CPUs it's fastest to just stay
on your current CPU, don't try to talk to other CPUs, avoid
communication, just get the work done ASAP. But make
sure you can do this on multiple CPUs at the same time.
With AES-NI this becomes even more pronounced because it effectively
makes the CPU faster for encryption.
-andi
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]