by GordonS · 5y ago · 0 comments
Unless they mean it'll instantly show a loading screen, I'll bet it doesn't.
I've used various VDI implementations over the years, and they've all been pretty slow to get to a working desktop.
I also wonder about latency. I have a 100/20 FTTC connection at home, which I find to be fast. Most recent VDI I used was Citrix, where I was expected to code in a VDI hosted in Netherlands (I'm in the UK) - the latency when typing drove me fucking NUTS! It was mostly just long enough to be intensely irritating and distracting, but occasionally latency would increase to a few seconds too.
After out-of-hand saying "no" once, I had someone offer me a contract by way of a friend. I valued the friend so I met with the client. About half way through, the client's (a large-ish health org) point-of-contact asked about my internet connection because they wanted me to remote desktop into their windows-citrix-machine-thingamputer for "billing purposes"... it was an iOS(in swift) developer role.
I didn't say anything about how preposterous that was and politely declined in email after the meeting. Or so I thought. I, apparently, did so much talking with my eyebrows that it got back to my friend... we broke out laughing when I explained what caused be to be "visually rude" (whatever that means).
When there is one red flag, there are bound to be others.
I ended up writing an email to the decision markers in the project outlining why "1) I didn't want a VDI 2) A VDI would take me forever to setup properly for my workflow anyway* 3) It would do nothing for the project's security to have me working on a VDI and 4) It would be a pain in the but trying to work on a VDI.
I was told that my objections were valid and true but I needed to work on a VDI anyway. It was at that moment I stopped caring about the project.
I did end up winning in the end however as when I finally agreed to do it (not my money the company was setting on fire) they asked me to send a list of what I'd need my VDI to be setup like. So I sent them a list of everything I'd need to mimic my current working environment and what I was doing now, including a Linux OS (The VDI solution was Windows only) with X11 and i3 setup. A full Doom Emacs configuration, special developer libraries and tooling, and several other items. With a long list of alternatives I would need installed if my first choice wasn't available, with specific versions, etc.
I sent off that email and they said they'd set me up with the desktop environment I need and let me know when it was finished being created. I am still waiting for that email letting me know it is setup, and happily working from my real machine until it does become available.
The moral of the story is sometimes the easiest way to thrawt management incompetence is to throw it reams of useless busy work that it will be festering away on while you can get real work done.
You absolutely can. I am not sure what tech Microsoft is using, but a similar experience can be had with VMware Horizon VDI product with something called Instant Clone, which is essentially forking an already booted up Desktop VM. On each esxi hypervisor host, you would have one of these parent/seed VMs that is booted up and ready in a frozen state, and when a new desktop VM is needed, it's created from the seed/parent using copy-on-write memory/disk and runtime state less than a second.
Usually the issue with VDI startup times these days is the layers on layers of group policy and agents that need to execute. You don’t notice on PCs because most folks lock their devices instead of rebooting.
Latency like that sounds like a problem in the company network stack somewhere… UK to Netherlands isn’t exactly a high latency wan link.
Ironically windows does not implement fork()
The ZwCreateProcess kernel api can do fork() semantic.
With that, you don't even need to do deduplication after the fact, it comes for free. When a new VM is forked, it's memory and disk are copy-on-write from the source/parent VM.
And the latency, I completely understand you. You learn to live with it after a while, sometimes you don't even notice it.
Citrix is a partner, so is VMWare afaik.
That right there is the reason they are doing this. It's not about customers or what people want it's about keeping control of the whole stack, and the power that comes with that.
Same. Now the client has me working in a Amazon Workspace w/ Windows 10. Typing and screen update latency is terrible, I have to run it down scaled on my 4K screen to make it bearable, it disconnects or shuts down due to inactivity and reconnect/boot reminds me of that time I booted Windows 7 on a Dell Mini 9 Netbook (probably an Intel Atom w/ 2GB of RAM) and worst of all, my happy place tool chain is back in macOS or Linux.
I had the exact same experience.
Back at my old company, all of our development was done on a secure Sungrid server farm that could only be accessed from the VDI environment. The way my coworker initially showed me how to do it, the terminal was sent to an X session on the VDI, and yet everyone at the company was OK with this. I explained how typing is something that you do tens to hundreds of thousands of times per day, and that a few frames of latency every single key press really fatigues you mentally. The sungrid farm didn't support SSH (for load balancing purposes,) so I eventually had to deepdive into the spec for how to access via terminal, and wrote a script.
But that's not the worst part as I was interviewing around at other companies, I asked them how their computing is done, and you wouldn't believe how many companies have their development environment set up this exact way! These are all major semiconductor companies in Silicon Valley too, not some "IT as an afterthought" industry!
It's refreshing to see that VDIs are about as popular with developers on HN as Google Stadia is with hardcore gamers.
with some 50Gbps Ethernet one should be able to quickly load a GB or two os ram image quickly. basically, un-hobernate, with decent infra.
more sophisticated options are having some kind of generic os image in ram one can spawn an instance of, load with local per-user configurations quickly.
being able to get an os going quickly is not a new trick.