by Keyframe · 8y ago · 0 comments
An AWS vCPU is a single hyperthread of a two-thread Intel Xeon core for M5, M4, C5, C4, R4, and R4 instances. A simple way to think about this is that an AWS vCPU is equal to half a physical core. Therefore, when choosing an Amazon EC2 instance size, you should double number of cores you have purchased or wish to deploy with.
https://onlinehelp.tableau.com/current/server/en-us/ts_aws_v...
Don't know how true it is, but there's no reason for me not to trust what Tableau has to say.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance...
"Each vCPU is a hyperthread of an Intel Xeon CPU core, except for T2 instances."
I’ve benchmarked c5 and t3 against t2 and have found single thread perf to be better on c5 compared to t2. When loading all vCPUs the performance suffered on the newer instances (each HT performed worse than a single t2), so you would get more bang for your buck on t2. YMMV of course.
T3 gives you both threads of your physical core and commensurably more CPU credits per hour to utilize them. You may notice that even T3.nano offers 2 vCPUs where T2.small has 1 vCPU.