Need speed? Then PCIe it is – server power without the politics

No longer for nerds and HPC geeks


How many PCI Express (PCIe) lanes does your computer have? How many of those are directly provided by the CPU? With only a few exceptions, nobody except high-end gamers and the High Performance Computing (HPC) crowd care. Regular punters (maybe) care about how many PCIe slots they have.

So why is it that gamers and HPC types get worked up about the details of lanes and why are start-ups emerging with the mission of taking PCIe out from inside the server, and of using it to connect nodes?

We should start with "what exactly is PCIe". Most readers of The Register will have heard of PCIe, and a goodly lot of you will have plugged in a PCIe card, Expresscard, or other similar device. For most people, PCIe is a bus within the computer that allows us to attach devices to the computer, usually by adding these devices inside the computer in a permanent fashion.

Graphics cards, RAID controllers, network cards, HBAs and just about everything else you can think of connects to a modern computer through PCIe. Other items you might add to a computer – a hard disk via the SATA interface or a keyboard via USB – plug into a controller which often backs on to PCIe.

To understand how this all slots together today, it's easiest to understand how it all used to work.

Backwards, ho!

The ultimate goal of a modern PC is to get data to the CPU, which crunches numbers, and then back out again in some useful form. Way back when, in the beforetime, the CPU was an isolated device. It talked to the rest of the system through the Front Side Bus (FSB). On the other end of the FSB was the Northbridge.

The RAM — which holds data the CPU needs fast access to — and high speed peripheral bus (AGP or PCIe) were controlled by the Northbridge. I/O – things like PCI, SATA, USB and so forth – were controlled by the Southbridge. The Southbridge and the Northbridge were connected by their own interconnect.

Eventually, the Northbridge was cut in half, with the memory controller going inside the CPU. The PCIe lanes were left to be managed by their own chip, but the FSB was no longer capable of keeping up.

The FSB was replaced by QPI (Intel) or Hypertransport (AMD). QPI and Hypertransport are ultra-high-speed buses that connect individual CPUs (and their associated memory) together, both with each other and with what was left of the Northbridge. The Southbridge and the Northbridge would talk to one another through a separate protocol.

Today

Eventually, what's left of the Northbridge (the PCIe controller) was simply built into the CPU as well. The Northbridge had disappeared entirely.

This means that PCIe devices have a shorter path to the CPU (yay!). If, however, you want more PCIe lanes on a system than are provided by the CPU die itself you either need another CPU or you hang them off the (distant and slow) Southbridge (boo!).

This has some real-world consequences. Looking at the modern Intel chips, those processors designed to be single processor only (such as desktop chips) don't have QPI. It was not deemed necessary as there is no Northbridge to speak of (it having been incorporated entirely into the CPU die) and the specific models having been designed so that adding additional CPUs isn't possible.

Adding PCIe lanes is thusly not really possible. The Southbridges of desktop processors typically come with a limited number of previous-generation PCIe lanes, but they have to fight for contention with USB, SATA and so forth for the limited bandwidth provided by the DMI link between the CPU and the Southbridge.

You could try adding in another Southbridge and sharing that DMI link, but it's already overloaded so the results will be pretty bad. Intel multiprocessor server chips, however, do have QPI. While it's theoretically possible to build a chip that hangs on the QPI bus and provides more PCIe lanes for use to the CPU, manufacturers just aren't producing Northbridge stubs like they used to. If you want more PCIe lanes, you'd better add some CPUs.

In a system-on-a-chip solution, the Southbridge is integrated into the CPU die and things can get all manner of complicated, as engineers seek to cut out as many interconnects as possible.

So why does all of this matter, and of what practical use is knowing how it goes together?

Next page: SATA sucks

Similar topics


Other stories you might like

  • Prisons transcribe private phone calls with inmates using speech-to-text AI

    Plus: A drug designed by machine learning algorithms to treat liver disease reaches human clinical trials and more

    In brief Prisons around the US are installing AI speech-to-text models to automatically transcribe conversations with inmates during their phone calls.

    A series of contracts and emails from eight different states revealed how Verus, an AI application developed by LEO Technologies and based on a speech-to-text system offered by Amazon, was used to eavesdrop on prisoners’ phone calls.

    In a sales pitch, LEO’s CEO James Sexton told officials working for a jail in Cook County, Illinois, that one of its customers in Calhoun County, Alabama, uses the software to protect prisons from getting sued, according to an investigation by the Thomson Reuters Foundation.

    Continue reading
  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading

Biting the hand that feeds IT © 1998–2021