background image

 

gpumodeswitch

 

DU-07764-001  

|  1 

Chapter 1.

 

INTRODUCTION 

  

gpumodeswitch

 is a command-line tool that is used to switch supported NVIDIA GPUs 

between 

compute

 and 

graphics

 mode. This chapter describes these modes and when to 

use them. Chapter 2 describes how to use gpumodeswitch. 

1.1

 

COMPUTE AND GRAPHICS MODE 

NVIDIA Tesla GPUs are shipped in a configuration optimized for high-performance 
compute (HPC) applications:  

Setting 

Value 

Notes 

Classcode 

3D Controller 

This classcode indicates to operating systems (OS) that the GPU is not 
intended for use as a primary display device. 

Memory BAR  

8 gigabytes 

Tesla GPUs expose a large memory 

base address register

 (BAR) for direct 

access to the framebuffer from the CPU, and other PCI Express devices. 

I/O base BAR 

Disabled 

The GPU need not consume any legacy I/O resources when used as a non-
display device. 

ECC protection 

Enabled 

Error Correcting Code (ECC) is enabled on the GPU framebuffer to protect 
against single- and multi-bit memory errors. 

Table 1 Compute mode settings 

Collectively this GPU configuration is referred to as 

compute mode

.  While compute mode 

is optimal for HPC usage, it can cause compatibility problems with OS and hypervisors 
when the GPU is used primarily as a graphics device: 

 

Some OS require that the GPU advertise a VGA display controller classcode in order 
for the GPU to be used as a primary graphics device. 

Summary of Contents for DU-07764-001

Page 1: ...DU 07764 001 September 2015 User Guide GPUMODESWITCH...

Page 2: ...gpumodeswitch DU 07764 001 ii DOCUMENT CHANGE HISTORY DU 07764 001 Version Date Authors Description of Change 1 0 8 30 2015 AC Initial release...

Page 3: ...hapter 2 Using gpumodeswitch 4 2 1 Supported environments 4 2 2 What s in the package 4 2 3 Running gpumodeswitch 5 2 3 1 Listing current GPU modes 5 2 3 2 Switching GPU modes 6 2 4 Linux bootable ima...

Page 4: ...1 iv LIST OF FIGURES Figure 1 Connecting gpumodeswitch iso via server remote management 10 Figure 2 Launching an administrator command prompt 11 LIST OF TABLES Table 1 Compute mode settings 1 Table 2...

Page 5: ...gabytes Tesla GPUs expose a large memory base address register BAR for direct access to the framebuffer from the CPU and other PCI Express devices I O base BAR Disabled The GPU need not consume any le...

Page 6: ...bled by use of the nvidia smi management tool Table 2 Graphics mode settings The mode of the GPU is established directly at power on from settings stored in the GPU s non volatile memory gpumodeswitch...

Page 7: ...Introduction gpumodeswitch DU 07764 001 3 1 3 SUPPORTED PRODUCTS At the time of writing gpumodeswitch is supported on the following products Tesla M60 Tesla M6...

Page 8: ...erver dom0 Note If the server platform hosting the Tesla GPUs does not natively run any of the supported environments we recommend temporarily booting Linux on the server the gpumodeswitch release pac...

Page 9: ...n All Rights Reserved PLX 8747h 10B5 8747 10B5 8747 H NRM S 00 B 81 PCI D 00 F 00 Adapter PLX 8747h 10B5 8747 10B5 8747 H NRM S 00 B 81 PCI D 00 F 00 Identifying EEPROM EEPROM ID 47 8747 uChip 25AA320...

Page 10: ...2 10DE 113A H 82 SP16 S 00 B 84 PCI D 00 F 00 GPU Mode Graphics 2 3 2 Switching GPU modes To switch a GPU s mode use the gpumode command gpumode graphics switches to graphics mode gpumode compute swit...

Page 11: ...updated from version 84 04 7C 00 00 to 84 04 7C 00 00 A reboot is required for the update to take effect InfoROM image updated successfully Tesla M60 10DE 13F2 10DE 113A H 82 SP16 S 00 B 84 PCI D 00...

Page 12: ...0 F 00 2 Tesla M60 10DE 13F2 10DE 113A H 82 SP16 S 00 B 84 PCI D 00 F 00 3 PLX 8747h 10B5 8747 10B5 8747 H NRM S 00 B 85 PCI D 00 F 00 4 PLX 8747h 10B5 8747 10B5 8747 H 86 SP8 S 00 B 87 PCI D 00 F 00...

Page 13: ...bundled Linux bootable images see section 2 4 the system boots into a read only file system Log files can be generated by using the outfilepath option to write the log files into tmp The log file summ...

Page 14: ...te management The ISO image boots to a Linux shell prompt from which gpumodeswitch can be run directly Refer to section 2 3 for instructions on running gpumodeswitch from the shell 2 4 2 Booting from...

Page 15: ...cmd program icon and selecting Run as administrator Figure 2 Launching an administrator command prompt In the command prompt change to the USB drive by typing its drive letter and then hitting return...

Page 16: ...the irreparable damage to your graphics adapter it is necessary to unload the NVIDIA kernel driver first rmmod nvidia root xenserver 2 5 1 1 Linux On Linux halt any services using the GPU then use rm...

Page 17: ...ion of otherwise under any patent rights of NVIDIA Corporation Specifications mentioned in this publication are subject to change without notice This publication supersedes and replaces all other info...

Reviews: