Skip to main content

Clear Linux KVM Hypervisor

 In 2019 I built this server to fill a few rolls for what was supposed to be a growing business and development of some products as a service 

This isn't so much a how to as a rough idea of what can be done on the cheep with 2nd hand hardware and Intel's linux distro know as Clear linux fulfilling the role of KVM-QEMU host.

At some point I'll probably talk more about clear containers as well this isn't meant to go that indepth








I would bet I bought this board 3rd hand. if you look at the PCI Express slots you might notice someone has applied thermal paste to what I'm guessing was a graphics card. Applied thermal paste liberally to the point that it literally oozed on to the PCI Express slots.

99% IPA and contact cleaner made it a non-issue



I'll post more pics as I find them. See paulmarwuethrich.blogspot.com as to why that's a challenge

Specs of the final build were as follows

  • Cpu: E5 2660 v3 
  • Ram: 48gb ddr4 ecc
  • Mboard: gigabyte md70
  • Video 1: Aspeed
  • Video 2: nvidia 1060ti
  • Storage: 2x nvme 1x sata ssd 1x hdd
  • Lan: intel 10 gb x540


Cable management was a planned future upgrade.As was a wreck, I had actually bought the rails and then a party I know stoled my MIG welder out of my garage along with my LGA 1366 workstation and compound miter saw.

 this state is a dystopian place to live


I was previously hosting vengeance tech.biz through my vdsl2 connection. 80/40 Mb/s and a block of 5 static ip4 addresses.

The modem was in bridge mode

Cover was off the modem because I was checking out it's internal serial header . At some point I should also write about the hot air soldering station I bought and how that saved the modem from chef boyardee inside the RF can. 😁. Desoldering those is not always the easiest task. Large copper pores AKA ground planes carry a lot of thermal Mass but I digress





Guests / Instances/VMs



  • opnsense was doing the pppoe tunnel and routing as well as firewall (opnsense is hardened BSD

I had a /29 block (cidr) of static ipv4 addresses and had configured a private NAT subnet for wifi/lan devices as well

  • Ubuntu for ip cctv recording (the nvidia card was passed to the guest to do the video transcoding/take the burden off the cpu)

Something about watching this screen come to life (the first time I got the graphics passthrough working) was uniquely satisfying. No it wasn't just the Bionic Beaver in 4k. 

I usually ran it headless as the gpu was for transcoding but for getting it going it helped to have it plugged in.
  • Enterprise lite speed web server running on cent 8(rip)
  • Astrix server (pbx)


I had utilized pci-e iommu and the intel nic features to establish a pf/vf config and pass NICs to the guest with less cpu burden.

Web Server of Choice

Lite speed Enterprise free license on centos 8(rip)

Which was limited to off the top of my head I think it was two gigabytes of RAM. If it detected more on the machine the process wouldn't start. 

I realized quickly that there's a way to further improve performance. I used z ram mounts on the host past them through his drives to the virtual machine.

if I could do that again what I would have done different is containers. Rather than making the ram drive on the host/hypervisor I would have used the resource limit of a Linux container inside the cent instance. 

I'm not sure how much performance would have differed. It was more than adequate as it was. But it would have been a cleaner set up less prone to break and more able to migrate if I had established those capabilities.

I had ttfb and over all throughput preforming marviously before the police raided. 

After thoughts:

It would have been really cool to try one of the Intel 7xx NICs. They have a more programmable interface and rumor has it you can do pppoe offloading. Although my connection was probably the primary bottleneck it would have been interesting to see what that did to time to first bit. It might have been interesting to see it in power consumption differences as well. I had most of the related settings to any sort of sleep or low power mode on the host CPU disabled. My thoughts there were keep everything running hot so it's ready when a request comes in.

I'm not sure it's actually worth aspiring to own anything, owning anything, existing in the state of Minnesota with its current laws

If hulk don't understand or like hulk take hulk smash (I guess) ...or hold it hostage for 3 years while you are held up to a year. I digress

Comments

Popular Content

XT - 30 Motorcycle Phone Charger

Not a huge achivment by any means. But made life better for a client.  A perspective client approached me with an issue. His solution for charging his phone via USB on his bike was taking up too much room under the seat 

Lawn Tractor Snow Plow Electric Upgrade

Do you have a lawn tractor you use to plow snow? Ever wondered if you could make a manual snow plow attachment into a push button? A friend of mine had a riding lawn mower and snow plow blade attachment. Every winter he used the riding lawn mower to plow the driveway. The plow was a kit that bolted on the front of the lawn tractor and it had a mechanicaly actuated adjustable snow plow blade. The issue and this project came about when the arm to adjust the snow plow blade broke. I had just bought a mig welder. I had also watched linear actuators capable of handling 300lbs of force drop to $25 on ebay.  Here's what I came up with for converting a riding lawn mower snow plow into an electricity adjusted lawn tractor plow. Repair  The lawn tractor snow plow kit had seen better days. The fork that attaches it had bent /deflected and spread. I used a map gas torch and a bench vise to squeeze the tongs back and then welded some L channel angle iron on the sides. Less Play I also tack weld

CD Resistance Spot Welder

This post is for anyone interested in owning or building a CD welder. I wanted a reliable Resistive spot welder for lithium ion pack construction and or repair. I didn't want to spend 3k or buy from china. I decided to design and fabricate my own. Bellow is my first crack at a Mosfet Switched capacitive discharge mcu controlled spot welder. This post is a work in progress. If you've stumbled across in hoping to build your own cd welder feel free to ask questions in the comments section.  I'll provide any help I can.  My CD Spot Welder  Here's pics of the first working version from 2018