7

Is taskset for CPU affinity applicable when trying to use L2 cache efficiently on a multi core processor in a virtualised environment like Amazon EC2?

David Kierans
  • 1,599
  • 1
  • 16
  • 24

1 Answers1

2

No, especially towards the smaller instances, there's heavy CPU sharing, you're dependent on what the other instances are doing with the CPU.

Frodo Baggins
  • 8,290
  • 6
  • 45
  • 55
  • 1
    What about for large instances, especially cluster compute instances? – gazarsgo Sep 10 '13 at 02:03
  • 2
    Amazon implies that you can use CPU affinity for larger cluster instances here: http://aws.typepad.com/aws/2013/01/ec2-for-in-memory-computing-the-high-memory-cluster-eight-extra-large.html – Pinko Apr 24 '14 at 00:47