• 1 Post
  • 16 Comments
Joined 2 lata temu
cake
Cake day: 10 czerwca 2023

help-circle

  • An HBA (host bus adapter) is a SAS controller (or rather, has a SAS controller chip on it). You mostly just want to make sure that your host (the server) has enough physical PCIe lanes to use the whole card, otherwise you’ll get bottlenecked there. You also want to check whether you’ve got 6G SAS or 12G SAS capability. If your drives only support 6 gig, for example, there’s zero point in buying a 12G SAS card, which is actually nice because 6G cards are a lot cheaper. You do want to make sure you actually need an HBA and not a RAID controller though - they’re easily confused. Not sure if I actually answered anything there but I write SAS firmware and use HBAs all the time, so feel free to ask me more and I’ll try to piece together a coherent answer.










  • I started with C++ too, and then ended up finding a job writing firmware pretty much all in C. There really hasn’t been anything we’ve run into that’s made us consider switching to C++; being able to (and needing to) have complete control over your memory means you can do some pretty fancy stuff with the tiny amounts of memory on our ASICs.

    We’ve been eyeballing switching to rust a little bit, but really only for other applications; the root of our main code base is over 25 years old at this point and a rewrite would take a Herculean effort.