calc cpus with sockets*threads