Blender Benchmark - multi socket CPU setup does not allow to run the benchmark #56443

Closed
opened 2018-08-18 08:21:58 +02:00 by GarageFarm.NET · 8 comments

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).

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).
Author

Added subscriber: @GarageFarm.NET

Added subscriber: @GarageFarm.NET

#56480 was marked as duplicate of this issue

#56480 was marked as duplicate of this issue

Added subscribers: @beCoarse, @dr.sybren, @brecht

Added subscribers: @beCoarse, @dr.sybren, @brecht

Added subscriber: @RomanGischig

Added subscriber: @RomanGischig

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
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

Added subscriber: @SemMulder

Added subscriber: @SemMulder

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Sem Mulder self-assigned this 2020-01-14 10:40:59 +01:00

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/blender-open-data#56443
No description provided.