calculate threads based of processor count