I do not think the arch and number of cores will change time to time. Can we do that in constructor instead of get it on each calls?