News for hackers. Stuff that matters.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by jcpham2 on Monday April 12, 2021 @10:40AM (#26779942)
Ran proxmox from beta .9 to 1.8 ish at my previous job in production - maybe 20 VM's with uptimes in the 5 years range.

Solid product, solid team. Really a nice polished product at this point.

Edit: just for clarification this looks really neat for GPU pci switching? Back in 2012 ish we tried to build a 8 GPU bitcoin mining beast group thread over on bitcointalk on proxmox and we could never get more than 6 GPU's working IIRC. Things were different then.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by Naac on Monday April 12, 2021 @10:59AM (#26780122)
What does this actually do?

I'm familiar with proxmox, and I think I'm a fairly technical person, but I can't decipher what this means:

"Switch among Guest VMs organized by Resource Pool"

This readme does not seem very well written.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by rosineygp on Monday April 12, 2021 @03:35PM (#26784069)
When you have a PCI device assigned to two or more VMs you cannot up them at same time... the second will fail because the resource already in use.

This tool handler this kind of "lock" like a switch button.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @11:31AM (#26780490)
Read the answers to the identical question I posted on this thread a couple of hours ago.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @08:55AM (#26778844)
I use (and love!) Proxmox but as a way to virtualise dedicated servers (eg from OVH / Hetzner) and avoid having to pay hosts like DO everytime I need a new VPS for a project.

I'm completely confused by what this ("Proxmox PCI Switcher") is – and the readme isn't helping very much. Can someone explain?

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by simcop2387 on Monday April 12, 2021 @08:58AM (#26778870)
It looks like it's a tool to help manage hardware passthrough, specifically to pass through a single resource (GPU most often) and have the UI know that all the guests sharing it are mutually exclusive and you can only have one running at a time.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @09:16AM (#26779045)
Thanks, I see (I think).

So some use cases would be for gaming (where you really need dedicated graphics performance), and also for MacOS as a guest OS (as otherwise the user interface is really slow)?

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by zrail on Monday April 12, 2021 @10:26AM (#26779795)
This is also useful if you want to pass dedicated network interfaces through to specific guests. For example, I am planning to run a router on top of proxmox and pass through several dedicated NICs specifically for routing purposes.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by _joel on Monday April 12, 2021 @09:51AM (#26779418)
Passing through for GPU releated ML tasks or perhaps HW accelerated encoding. I've also used PCI passthrough with Blackmagic SDI capture cards so that a given VM could access the device and the SDI input feed.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by djrogers on Monday April 12, 2021 @12:21PM (#26781286)
> for MacOS as a guest OS (as otherwise the user interface is really slow)

Is this something specific to proxmox or non-mac hosted virtualization? I ask because I regularly run MacOS without GPU passthrough without any UI slowdowns at all. In fact, at one point I ran macOS in a VM as the primary UI on my MacBook for several years..

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by m463 on Monday April 12, 2021 @03:36PM (#26784089)
I have a main mac desktop, and "uploaded" my macbook into proxmox near the start of the pandemic. I just use mac to mac screen sharing to get to it and it works wonderfully.

If you don't know, screen sharing is done very well - it does very intelligent things, such as drag and drop files from desktop to desktop or rich-text copy/paste between systems. It will also pass keys correctly, so command-q will quit a remote app instead of quitting the screen sharing app itself. same with alt-tab.

I used to use screen sharing with the macbook itself, but it kept going to sleep with the lid closed at inopportune times even with caffeinate, so I just cut to the chase.

I also was able to migrate the macos vm when I upgraded my proxmox machine hardware. "vzdump <vmid>", copy the dumpfile, "qmrestore <dumpfile> <vmid>", voila

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @12:27PM (#26781375)
I tried running MacOS as a guest OS using VMWare Fusion a while back (2 or 3 years), and my recollection is that all the UI stuff (drag/drop, transitions, etc) were super slow.

This was on a late 2013 though, so the experience may be very different now, in fact now that I've replaced it with a 2020 iMac, I'll give it another go and see.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by rosineygp on Monday April 12, 2021 @03:26PM (#26783960)
nice words, thanks!

I have a lot of difficult to explain this. I will improve the docs... maybe record a video.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @04:02PM (#26784439)
That would be a great idea, especially for people (like me) who are struggling to understand what this is, and why it could be useful.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by unixhero on Monday April 12, 2021 @08:40AM (#26778702)
Love Proxmox!
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by _joel on Monday April 12, 2021 @09:03AM (#26778912)
Indeed, I've used it for years. Actually ran a production deployment for Sahana Foundation where it was used to coordinate disaster recovery efforts in the field, Haiti, Chengdu etc. It never missed a beat, even with KVM being (fairly) new at the time.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by unixhero on Monday April 12, 2021 @09:55AM (#26779473)
Yes exactly. And now it has matured immensely, even expanded their offering into a Backup-node product and various ways to make use of zfs and ceph. Such a fun solution to solve problems with. I have used it in production for container workloads without any issues, for 4 years.

I only wish they would build a way to also handle handle Docker containers[0]. It is no problem to run in a VM of course, but the footprint of a VM is completely different than from a container.

[0] https://www.reddit.com/r/Proxmox/comments/g3wozs/best_way_to...

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by rosineygp on Saturday April 10, 2021 @11:25AM (#26762127)
Switch among Guest VMs organized by Resource Pool