Announcement

Collapse
No announcement yet.

Test suite not using NVIDIA pci-passthrough on VMware

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Test suite not using NVIDIA pci-passthrough on VMware

    Hi,

    I'd like to do some benchmarks on a virtual machine under Vmware (vSphere 6.7u1), but looks like Phoronix Test Suite is trying to use the default Video Card instead the NVIDIA connected using PCI-Passthrough.

    Using 'nvtop' I see the following:
    Code:
     Device 0 [Tesla V100-PCIE-16GB] PCIe GEN 3@16x RX: 0.000 kB/s TX: 0.000 kB/s
     GPU 135MHz  MEM 877MHz  TEMP  44°C FAN N/A% POW  28 / 250 W
    Or, by using nvidia-smi:

    Code:
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 418.30       Driver Version: 418.30       CUDA Version: 10.1     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  Tesla V100-PCIE...  Off  | 00000000:03:00.0 Off |                   0* |
    | N/A   44C    P0    28W / 250W |     11MiB / 16130MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+
    However, Test Suite fails on CUDA tests. Here's the output when using 'diagnostics':

    Code:
    PTS_VERSION = 8.6.1
    PTS_CORE_VERSION = 8610
    PTS_RELEASE_DATE = 20190221
    PTS_CODENAME = Spydeberg
    PTS_IS_CLIENT = 1
    PTS_IS_WEB_CLIENT =
    PTS_IS_DEV_BUILD =
    PTS_PHP_VERSION = 5.4.16
    QUICK_START =
    PTS_CORE_PATH = /root/phoronix-test-suite/pts-core/
    PTS_IS_DAEMONIZED_SERVER_PROCESS = 1
    PTS_USER_PATH = /var/lib/phoronix-test-suite/
    PTS_CORE_STORAGE = /var/lib/phoronix-test-suite/core.pt2so
    PTS_DOWNLOAD_CACHE_PATH = /var/cache/phoronix-test-suite/download-cache/
    PTS_OPENBENCHMARKING_SCRATCH_PATH = /var/cache/phoronix-test-suite/openbenchmarking.org/
    PTS_TEST_PROFILE_PATH = /var/lib/phoronix-test-suite/test-profiles/
    PTS_TEST_SUITE_PATH = /var/lib/phoronix-test-suite/test-suites/
    PTS_CORE_STATIC_PATH = /root/phoronix-test-suite/pts-core/static/
    PTS_SHARE_PATH = /usr/share/phoronix-test-suite/
    PTS_INIT_TIME = 1554119918
    PTS_COMMAND_PATH = /root/phoronix-test-suite/pts-core/commands/
    PHP_BIN = php
    FIRST_RUN_ON_PTS_UPGRADE =
    IS_FIRST_RUN_TODAY =
    TIME_SINCE_LAST_RUN = 155
    PTS_TEST_INSTALL_DEFAULT_PATH = /var/lib/phoronix-test-suite/installed-tests/
    PTS_SAVE_RESULTS_PATH = /var/lib/phoronix-test-suite/test-results/
    PTS_USER_LOCK = /var/lib/phoronix-test-suite/run-lock-tskvLA
    PTS_STARTUP_TASK_PERFORMED = 1
    HAS_REFRESHED_OBO_LIST = 1
    
    Variables That Can Be Used As Result Identifiers / File Names:
    VIDEO_RESOLUTION = 1176x885
    VIDEO_CARD = VMware SVGA II 16GB
    VIDEO_DRIVER =
    OPENGL_DRIVER =
    OPERATING_SYSTEM = CentOS Linux 7
    PROCESSOR = Intel Xeon E5-2687W v4 (12 Cores)
    MOTHERBOARD = Intel 440BX (VMW71.00V.0.B64.1801120748 BIOS)
    CHIPSET = Intel 440BX/ZX/DX
    KERNEL_VERSION = 4.4.172-1.el7.elrepo.x86_64
    COMPILER = GCC 4.8.5 20150623 + CUDA 9.2
    HOSTNAME = NVIDIA
    
    Environmental Variables (accessible via test scripts):
    PTS_VERSION = 8.6.1
    PTS_CODENAME = Spydeberg
    PTS_DIR = /root/phoronix-test-suite/
    PTS_LAUNCHER = /root/phoronix-test-suite/phoronix-test-suite
    PHP_BIN = php
    NUM_CPU_CORES = 12
    NUM_CPU_PHYSICAL_CORES = 12
    NUM_CPU_NODES = 1
    NUM_CPU_JOBS = 24
    SYS_MEMORY = 59392
    VIDEO_MEMORY = 16130
    VIDEO_WIDTH = 1176
    VIDEO_HEIGHT = 885
    VIDEO_MONITOR_COUNT = 1
    VIDEO_MONITOR_LAYOUT = CENTER
    VIDEO_MONITOR_SIZES = 1176x885
    OPERATING_SYSTEM = centos
    OS_VERSION = 7
    OS_ARCH = x86_64
    OS_TYPE = Linux
    THIS_RUN_TIME = 1554119918
    DEBUG_REAL_HOME = /root/
    DEBUG_PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/cuda-9.2/bin:/root/bin
    SYSTEM_TYPE_ID = V
    SYSTEM_TYPE = Virtual
    TERMINAL_WIDTH = 185
    C_CXX_FLAGS_DEFAULT = -O3 -march=native

    Any way to 'force' test suite to use the pci-passthrough device?




    Thanks and kind regards,
Working...
X