EnglishFrenchSpanish

OnWorks favicon

alt-nvidia-340-cuda-mps-control - Online in the Cloud

Run alt-nvidia-340-cuda-mps-control in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command alt-nvidia-340-cuda-mps-control that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


nvidia-cuda-mps-control - NVIDIA CUDA Multi Process Service management program

SYNOPSIS


nvidia-cuda-mps-control [-d]

DESCRIPTION


MPS is a runtime service designed to let multiple MPI processes using CUDA to run
concurrently on a single GPU in a way that's transparent to the MPI program. A CUDA
program runs in MPS mode if the MPS control daemon is running on the system.

When CUDA is first initialized in a program, the CUDA driver attempts to connect to the
MPS control daemon. If the connection attempt fails, the program continues to run as it
normally would without MPS. If however, the connection attempt to the control daemon
succeeds, the CUDA driver then requests the daemon to start an MPS server on its behalf.
If there's an MPS server already running, and the user id of that server process matches
that of the requesting client process, the control daemon simply notifies the client
process of it, which then proceeds to connect to the server. If there's no MPS server
already running on the system, the control daemon launches an MPS server with the same
user id (UID) as that of the requesting client process. If there's an MPS server already
running, but with a different user id than that of the client process, the control daemon
requests the existing server to shutdown as soon as all its clients are done. Once the
existing server has terminated, the control daemon launches a new server with the user id
same as that of the queued client process.

The MPS server creates the shared GPU context, manages its clients, and issues work to the
GPU on behalf of its clients. An MPS server can support upto 16 client CUDA contexts at a
time. MPS is transparent to CUDA programs, with all the complexity of communication
between the client process, the server and the control daemon hidden within the driver
binaries.

Currently, CUDA MPS is available on 64-bit Linux only, requires a device that supports
Unified Virtual Address (UVA) and has compute capability SM 3.5 or higher. Applications
requiring pre-CUDA 4.0 APIs are not supported under CUDA MPS. MPS is also not supported
on multi-GPU configurations. Please use CUDA_VISIBLE_DEVICES when starting the control
daemon to limit visibility to a single device.

OPTIONS


-d
Start the MPS control daemon, assuming the user has enough privilege (e.g. root).

-h, --help
Print a help message.

<no arguments>
Start the front-end management user interface to the MPS control daemon, which needs to be
started first. The front-end UI keeps reading commands from stdin until EOF. Commands are
separated by the newline character. If an invalid command is issued and rejected, an error
message will be printed to stdout. The exit status of the front-end UI is zero if
communication with the daemon is successful. A non-zero value is returned if the daemon is
not found or connection to the daemon is broken unexpectedly. See the "quit" command below
for more information about the exit status.

Commands supported by the MPS control daemon:

get_server_list
Print out a list of PIDs of all MPS servers.

start_server -uid UID
Start a new MPS server for the specified user (UID).

shutdown_server PID [-f]
Shutdown the MPS server with given PID. The MPS server will not accept any new
client connections and it exits when all current clients disconnect. -f is forced
immediate shutdown. If a client launches a faulty kernel that runs forever, a
forced shutdown of the MPS server may be required, since the MPS server creates and
issues GPU work on behalf of its clients.

get_client_list PID
Print out a list of PIDs of all clients connected to the MPS server with given PID.

quit [-t TIMEOUT]
Shutdown the MPS control daemon process and all MPS servers. The MPS control daemon
stops accepting new clients while waiting for current MPS servers and MPS clients
to finish. If TIMEOUT is specified (in seconds), the daemon will force MPS servers
to shutdown if they are still running after TIMEOUT seconds.

This command is synchronous. The front-end UI waits for the daemon to shutdown,
then returns the daemon's exit status. The exit status is zero iff all MPS servers
have exited gracefully.

ENVIRONMENT


CUDA_MPS_PIPE_DIRECTORY
Specify the directory that contains the named pipes used for communication among
MPS control, MPS server, and MPS clients. The value of this environment variable
should be consistent in the MPS control daemon and all MPS client processes.
Default directory is /tmp/nvidia-mps

CUDA_MPS_LOG_DIRECTORY
Specify the directory that contains the MPS log files. This variable is used by the
MPS control daemon only. Default directory is /var/log/nvidia-mps

Use alt-nvidia-340-cuda-mps-control online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

  • 1
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 2
    4ti2-genmodel
    4ti2-genmodel
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-genmodel
  • 3
    coriander
    coriander
    coriander - control and display dc1394
    camera images ...
    Run coriander
  • 4
    corkscrew
    corkscrew
    corkscrew - Tunnel TCP connections
    through HTTP proxies ...
    Run corkscrew
  • 5
    g.gisenvgrass
    g.gisenvgrass
    g.gisenv - Outputs and modifies the
    user�s current GRASS variable settings.
    Prints all defined GRASS variables if no
    option is given. KEYWORDS: general,
    settin...
    Run g.gisenvgrass
  • 6
    g.guigrass
    g.guigrass
    g.gui - Launches a GRASS graphical user
    interface (GUI) session. Optionally
    updates default user interface settings.
    KEYWORDS: general, GUI, user interface ...
    Run g.guigrass
  • More »

Ad