ec2instances.info icon indicating copy to clipboard operation
ec2instances.info copied to clipboard

Add a column to show NUMA support

Open eliaslevy opened this issue 7 years ago • 3 comments

Add a column specifying if an instance type supports NUMA (i.e. whether it cores span more than one processor socket).

eliaslevy avatar Sep 23 '17 22:09 eliaslevy

Thanks for the proposal, do you know if this data is available for scraping in any of the AWS documentation pages?

cristim avatar Sep 24 '17 04:09 cristim

Indirectly. Per https://aws.amazon.com/ec2/instance-types/

Each vCPU is a hyperthread of an Intel Xeon core except for T2 and m3.medium.

The CPU specification for instance types are largely known and you already list some of them, from which we can determine the number of hyperthreads/vCPUs a single CPU can support. So if for a given instance the # vCPUs / # hyperthreads is one or greater, then it should be executing across two physical CPUs and thus be using NUMA.

E.g. a c3.8xlarge with 32 vCPUs uses Intel Xeon E5-2680 v2 CPUs. Those support 20 hyperthreads, so a c3.8xlarge should execute across two physical CPUs.

eliaslevy avatar Sep 24 '17 06:09 eliaslevy

Thanks for explaining, but I am not sure how would this logic be coded into the scraper script.

Please create a PR with an implementation proposal.

cristim avatar Sep 26 '17 18:09 cristim