Score:1

Benchmarking a GPU on a headless node (one without a display or monitor)

in flag

How can I benchmark a GPU on a machine that has no display connected to it?


I am provisioning VMs with different types of GPUs. I want to benchmark the GPUs in order to compare them. But they're (remote) VMs. There's no display.

I tried for example running glxgears in tty, but it says there's no display.

Note that these are the currently available GPUs that I can provision. They're Nvidia.

"NVIDIA Corporation TU102GL [Quadro RTX 6000/8000] (rev a1)"
"NVIDIA Corporation TU104GL [Tesla T4] (rev a1)"

This reference has some ways to benchmark a GPU, but they require a display.

  • sudo apt install mesa-utils
    glxgears
    
  • sudo apt-get install glmark2
    glmark2
    
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.