Category: Programming

Scripting VDI By Day and Compute By Night

Cycle of VDI by Day and Compute By Night (Cycle Harvesting)

Over the weekend I finished writing a PowerCLI script to do VDI by day and compute by night. In in this post I’m going to share the script and how to set it up with you.

For those not familiar with the term VDI by day and compute by night here is my vision for it. Let’s say you have a bunch of VDI users who are structural engineers. They typically work from 8 in the morning to 5 or so at night. On their VDI desktops they have programs like like AutoCAD which require high end GPUs, but since they are using VDI they’re virtual GPUs or vGPUs. That means you have these high end GPUs that might be sitting idle for 12 to 16 hours a day and the organization spent a lot of money for those GPUs.

Now what if you could use those GPUs for something other than just engineers virtual desktops? You know, get a little more millage out of them. The R&D department keeps wanting more servers for their high performance computing (HPC) farm… What could 12 extra hours a day of GPU time coming from the Engineers idle VDI hosts do to help them?

Permanent link to this article: https://www.wondernerd.net/scripting-vdi-by-day-and-compute-by-night/

Number of vGPUs Available in vSphere

PowerCLI Code Snippit for Carrying Capacity Function

I’ve been working on a PowerCLI function for the last few months in my free time and now I’d like to share it with everyone. This is a pretty spiffy function for those folks working with vGPUs, and it’s not just for VDI it can help those looking to virtualize ML/DL systems too. It calculates the vGPU carrying capacity of a vSphere environment.

Permanent link to this article: https://www.wondernerd.net/number-of-vgpus-available-in-vsphere/

OpenVPN on IOS 12.x fails to Connect to PiVPN

OpenVPN Client Screenshot

I use the PiVPN deployment of OpenVPN on a Raspberry Pi to connect back into my home network when I’m on the road. About a month ago my SD card gave out and I had to rebuild. I decided to go with PiVPN for my OpenVPN deployment. Setup was really easy and it worked great …

Continue reading

Permanent link to this article: https://www.wondernerd.net/openvpn-on-ios-12-x-fails-to-connect-to-pivpn/

vGPU PowerCLI Commands

PowerCLI Screen on vGPUs

I’m a noob when it comes to PowerCLI, I can Get-VM like most everyone else, but not much more.  You may have seen my previous post about Taking Back Resources where I talked about the theory and logic behind vGPU cycle harvesting. Right now I’m working on putting it into action and the best way …

Continue reading

Permanent link to this article: https://www.wondernerd.net/vgpu-powercli-commands/

Permanent link to this article: https://www.wondernerd.net/taking-back-resources/

NVIDIA CUDA Toolkit Test Script

Code Snipit in C++

At GTC18 I mentioned that I created a script to run through all the samples in the CUDA Toolkit. I had a few moments so I thought I’d share the code. You can use the code below to loop through the sample files. If you are interested in the results I obtained on VMs with …

Continue reading

Permanent link to this article: https://www.wondernerd.net/cuda-toolkit-test-script/

GTC18, Session S8483 – Links

A tile for more information

Thank you to everyone who attended session S8483, Empowering CUDA Developers with Virtual Desktops, at GTC. Below are the links provided in the session today. If you have questions or need additional resources please contact me or leave a message in the comment section below. The items below that begin with a ‘/’ are shortened …

Continue reading

Permanent link to this article: https://www.wondernerd.net/gtc18-session-s8483-links/

GTC18 Session S8483 – Empowering CUDA Developers with Virtual Desktops

S8483 - Empowering CUDA Developers with Virtual Desktops - Slide Deck

Thank you to all attendees who started GTC18 at this session. I hope it was helpful for you. When recordings are available I will add them to this post as well. For your enjoyment, here are the slides from my GTC18 session, S8483, Empowering CUDA Developers with Virtual Desktops. If you are interested in the …

Continue reading

Permanent link to this article: https://www.wondernerd.net/gtc18-session-s8483/

Join me at GTC18

Join Me at GTC18, March 26-29

Do you need another reason to attend the GPU Tech Conference this March? How about this… I’ll be there and I’ll be presenting on something I’m sure you want to know about. I’ll be presenting session is S8483, “Empowering CUDA Developers with Virtual Desktops.” (I’ll update the post when the time and day are scheduled, …

Continue reading

Permanent link to this article: https://www.wondernerd.net/join-me-at-gtc18/