Maniphest T56443

Blender Benchmark - multi socket CPU setup does not allow to run the benchmark
Closed, Resolved

Assigned To
Sem Mulder (SemMulder)
Authored By
GarageFarm.NET (GarageFarm.NET)
Aug 18 2018, 8:21 AM
Tags
  • Blender Open Data
Subscribers
André (KnickDesign)
Brecht Van Lommel (brecht)
GarageFarm.NET (GarageFarm.NET)
Roman Gischig (rgischig)
Sem Mulder (SemMulder)
Sybren A. Stüvel (sybren)

Description

Hi, Martin here from GarageFarm.NET.

I have tried your new benchmark utility and noticed an issue that the benchmark won't run on a multi socket setup.

We have nodes with E5-4669v4 CPUs which can be run in 3 configurations: 1CPU, 2CPU, 4CPU. I can run the benchmark without issues on 1CPU setup, but not on 2CPU or 4CPU.

I launched Blender Benchmark from command line and here's the error log:

location: <unknown location>:-1
Traceback (most recent call last):
  File "P:\blender\blender-benchmark-1.0beta-windows64\2.80\scripts\benchmark\benchmark\space\__init__.py", line 602, in draw
    self.draw_welcome(context)
  File "P:\blender\blender-benchmark-1.0beta-windows64\2.80\scripts\benchmark\benchmark\space\__init__.py", line 536, in draw_welcome
    compute_device_list_get(None, context)
  File "P:\blender\blender-benchmark-1.0beta-windows64\2.80\scripts\benchmark\benchmark\space\__init__.py", line 937, in compute_device_list_get
    global_cached_system_info = system_info_get(ctx)
  File "P:\blender\blender-benchmark-1.0beta-windows64\2.80\scripts\benchmark\benchmark\space\__init__.py", line 413, in system_info_get
    info = system_info.gatherSystemInfo(ctx)
  File "P:\blender\blender-benchmark-1.0beta-windows64\2.80\scripts\benchmark\benchmark\foundation\system_info.py", line 111, in gatherSystemInfo
    system_info["num_cpu_cores"] = int(cpu_topology['num_physical_cores'])
ValueError: invalid literal for int() with base 10: '22\r\r\n\r\r\n\r\r\nNumberOfCores'

It is a problem with reading the number of cores. I was able to launch the benchmark after editing file system_info.py and setting fixed number of cores in that line (22 in our case).

Related Objects

Event Timeline

GarageFarm.NET (GarageFarm.NET) created this task.Aug 18 2018, 8:21 AM
Sybren A. Stüvel (sybren) moved this task from Backlog to Benchmark Client on the Blender Open Data board.Aug 21 2018, 10:39 AM
Brecht Van Lommel (brecht) added subscribers: André (KnickDesign), Sybren A. Stüvel (sybren), Brecht Van Lommel (brecht).
Roman Gischig (rgischig) added a subscriber: Roman Gischig (rgischig).Oct 17 2018, 9:31 PM

if changed in the script manually to the right value, all works fine:

file: system_info.py

system_info['cpu_brand'] = cpu_info['brand']

system_info["num_cpu_threads"] = 32
system_info["num_cpu_sockets"] = 2
system_info["num_cpu_cores"] = 8
Sem Mulder (SemMulder) closed this task as Resolved.Jan 14 2020, 10:40 AM
Sem Mulder (SemMulder) claimed this task.
Sem Mulder (SemMulder) added a subscriber: Sem Mulder (SemMulder).

This should be fixed with the new version of the launcher available at https://opendata.blender.org/. Closing for now, feel free to reopen if problem persists.