Note
Go to the end to download the full example code.
Description of the benchmark machine#
Description of the machine on which benchmarks were run.
import subprocess
# traverse the info
Id = subprocess.check_output(['lshw']).decode('utf-8').split('\n')
for line in Id:
print(line)
pc-fixe
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 61GiB
*-cpu
product: AMD Ryzen 9 9950X 16-Core Processor
vendor: Advanced Micro Devices [AMD]
physical id: 1
bus info: cpu@0
version: 26.68.0
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 clzero xsaveerptr arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload avx512vbmi umip avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm avx512_vp2intersect
configuration: microcode=4294967295
*-scsi
description: SCSI storage controller
product: Virtio 1.0 console
vendor: Red Hat, Inc.
physical id: 2
bus info: pci@5582:00:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: scsi bus_master cap_list
configuration: driver=virtio-pci latency=64
resources: iomemory:90-8f iomemory:90-8f iomemory:90-8f irq:0 memory:9ffe00000-9ffe00fff memory:9ffe01000-9ffe01fff memory:9ffe02000-9ffe02fff
*-virtio0 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@0
configuration: driver=virtio_console
*-display:0
description: 3D controller
product: Basic Render Driver
vendor: Microsoft Corporation
physical id: 3
bus info: pci@78fe:00:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=dxgkrnl latency=0
resources: irq:0
*-display:1
description: 3D controller
product: Basic Render Driver
vendor: Microsoft Corporation
physical id: 4
bus info: pci@a8ca:00:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=dxgkrnl latency=0
resources: irq:0
*-generic
description: System peripheral
product: Virtio file system
vendor: Red Hat, Inc.
physical id: 5
bus info: pci@fca6:00:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=virtio-pci latency=64
resources: iomemory:e0-df iomemory:e0-df iomemory:c0-bf irq:0 memory:e00000000-e00000fff memory:e00001000-e00001fff memory:c00000000-dffffffff
*-virtio1 UNCLAIMED
description: Virtual I/O device
physical id: 0
bus info: virtio@1
configuration: driver=virtiofs
*-pnp00:00
product: PnP device PNP0b00
physical id: 6
capabilities: pnp
configuration: driver=rtc_cmos
*-network
description: Ethernet interface
physical id: 1
logical name: eth0
serial: 00:15:5d:e3:f7:91
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=hv_netvsc driverversion=5.15.167.4-microsoft-standard-W duplex=full firmware=N/A ip=172.28.98.79 link=yes multicast=yes speed=10Gbit/s
Numpy config informations
import numpy as np
np.show_config()
Build Dependencies:
blas:
detection method: pkgconfig
found: true
include directory: /opt/_internal/cpython-3.12.7/lib/python3.12/site-packages/scipy_openblas64/include
lib directory: /opt/_internal/cpython-3.12.7/lib/python3.12/site-packages/scipy_openblas64/lib
name: scipy-openblas
openblas configuration: OpenBLAS 0.3.27 USE64BITINT DYNAMIC_ARCH NO_AFFINITY
Haswell MAX_THREADS=64
pc file directory: /project/.openblas
version: 0.3.27
lapack:
detection method: pkgconfig
found: true
include directory: /opt/_internal/cpython-3.12.7/lib/python3.12/site-packages/scipy_openblas64/include
lib directory: /opt/_internal/cpython-3.12.7/lib/python3.12/site-packages/scipy_openblas64/lib
name: scipy-openblas
openblas configuration: OpenBLAS 0.3.27 USE64BITINT DYNAMIC_ARCH NO_AFFINITY
Haswell MAX_THREADS=64
pc file directory: /project/.openblas
version: 0.3.27
Compilers:
c:
commands: cc
linker: ld.bfd
name: gcc
version: 10.2.1
c++:
commands: c++
linker: ld.bfd
name: gcc
version: 10.2.1
cython:
commands: cython
linker: cython
name: cython
version: 3.0.11
Machine Information:
build:
cpu: x86_64
endian: little
family: x86_64
system: linux
host:
cpu: x86_64
endian: little
family: x86_64
system: linux
Python Information:
path: /tmp/build-env-_wd9mzfv/bin/python
version: '3.12'
SIMD Extensions:
baseline:
- SSE
- SSE2
- SSE3
found:
- SSSE3
- SSE41
- POPCNT
- SSE42
- AVX
- F16C
- FMA3
- AVX2
- AVX512F
- AVX512CD
- AVX512_SKX
- AVX512_CLX
- AVX512_CNL
- AVX512_ICL
not found:
- AVX512_KNL
- AVX512_KNM
Scipy config informations
import scipy
scipy.show_config()
Build Dependencies:
blas:
detection method: pkgconfig
found: true
include directory: /home/gfo/miniforge3/envs/choreo/include
lib directory: /home/gfo/miniforge3/envs/choreo/lib
name: openblas
openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 PRESCOTT MAX_THREADS=128
pc file directory: /home/gfo/miniforge3/envs/choreo/lib/pkgconfig
version: 0.3.21
lapack:
detection method: pkgconfig
found: true
include directory: /home/gfo/miniforge3/envs/choreo/include
lib directory: /home/gfo/miniforge3/envs/choreo/lib
name: openblas
openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 PRESCOTT MAX_THREADS=128
pc file directory: /home/gfo/miniforge3/envs/choreo/lib/pkgconfig
version: 0.3.21
pybind11:
detection method: pkgconfig
include directory: /home/gfo/miniforge3/envs/choreo/include
name: pybind11
version: 2.13.6
Compilers:
c:
args: -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
-fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix,
-DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/gfo/miniforge3/envs/choreo/include
commands: /croot/scipy_1743153247252/_build_env/bin/x86_64-conda-linux-gnu-cc
linker: ld.bfd
linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
-Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,-rpath,/home/gfo/miniforge3/envs/choreo/lib,
-Wl,-rpath-link,/home/gfo/miniforge3/envs/choreo/lib, -L/home/gfo/miniforge3/envs/choreo/lib,
-march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
-fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix,
-DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/gfo/miniforge3/envs/choreo/include
name: gcc
version: 11.2.0
c++:
args: -fvisibility-inlines-hidden, -std=c++17, -fmessage-length=0, -march=nocona,
-mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt,
-O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix,
-DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/gfo/miniforge3/envs/choreo/include
commands: /croot/scipy_1743153247252/_build_env/bin/x86_64-conda-linux-gnu-c++
linker: ld.bfd
linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
-Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,-rpath,/home/gfo/miniforge3/envs/choreo/lib,
-Wl,-rpath-link,/home/gfo/miniforge3/envs/choreo/lib, -L/home/gfo/miniforge3/envs/choreo/lib,
-fvisibility-inlines-hidden, -std=c++17, -fmessage-length=0, -march=nocona,
-mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong, -fno-plt,
-O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix,
-DNDEBUG, -D_FORTIFY_SOURCE=2, -O2, -isystem, /home/gfo/miniforge3/envs/choreo/include
name: gcc
version: 11.2.0
cython:
commands: cython
linker: cython
name: cython
version: 3.0.11
fortran:
args: -fopenmp, -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
-fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix
commands: /croot/scipy_1743153247252/_build_env/bin/x86_64-conda-linux-gnu-gfortran
linker: ld.bfd
linker args: -Wl,-O2, -Wl,--sort-common, -Wl,--as-needed, -Wl,-z,relro, -Wl,-z,now,
-Wl,--disable-new-dtags, -Wl,--gc-sections, -Wl,-rpath,/home/gfo/miniforge3/envs/choreo/lib,
-Wl,-rpath-link,/home/gfo/miniforge3/envs/choreo/lib, -L/home/gfo/miniforge3/envs/choreo/lib,
-fopenmp, -march=nocona, -mtune=haswell, -ftree-vectorize, -fPIC, -fstack-protector-strong,
-fno-plt, -O2, -ffunction-sections, -pipe, -isystem, /home/gfo/miniforge3/envs/choreo/include,
-fdebug-prefix-map=/croot/scipy_1743153247252/work=/usr/local/src/conda/scipy-1.15.2,
-fdebug-prefix-map=/home/gfo/miniforge3/envs/choreo=/usr/local/src/conda-prefix
name: gcc
version: 11.2.0
pythran:
include directory: ../../_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.12/site-packages/pythran
version: 0.16.1
Machine Information:
build:
cpu: x86_64
endian: little
family: x86_64
system: linux
cross-compiled: false
host:
cpu: x86_64
endian: little
family: x86_64
system: linux
Python Information:
path: /home/gfo/miniforge3/envs/choreo/bin/python
version: '3.12'