getting affinity benchmark framework correct