News for hackers. Stuff that matters.
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by fluffything on Monday November 04, 2019 @07:54AM (#21441137)
> at triple to quadruple the bandwidth at the cost of 5-10 ns higher load-to-use

You need to make full use of the bandwidth for this to be an overall win.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by drewg123 on Monday November 04, 2019 @08:32AM (#21441434)
Once you use more than 75% of the available DRAM bandwidth, things start to get wonky, with large unpredictable CPU spikes, as the CPU stalls increase. So I think you'd see a definite benefit if you use more than 75% of the available bandwidth.

We (Netflix CDN) are currently bandwidth limited for serving TLS encrypted video using software ktls. (~100Gb/s on broadwell, 150-160Gb/s on skylake/cascade lake, 220Gb/s on EPYC Rome). So I'd love to have twice the bandwidth. With twice the bandwidth, I think we could probably serve 400Gb/s from a single Rome based box.

Note that I'm also looking forward to trying new kTLS offload NICs that should cut the bandwidth requirements.. those are a much more viable short-term path forward.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by baybal2 on Monday November 04, 2019 @12:58PM (#21444318)
Wow, you still handle TLS in software?

I worked on a few CDN projects, and on a DC project for Alibaba. Even in 2013, I think, all big CDNs used Intel hardware accelerators.

The beauty of this approach is that if you need more TLS bandwidth, you just plug more TLS cards, and you are done.

Otherwise, it's impressive to see how much TLS throughput people can get on CPUs today. Back in 2013, the best accelerator was only able to pull like 30Gb/s per card

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by drewg123 on Monday November 04, 2019 @02:25PM (#21445388)
Intel hardware accelerators sit on the PCIe bus, and burn just as much memory bandwidth as software encryption. The dataflow is basically:

  - disk DMA writes page from disk into DRAM
  - CPU (or PCIe crypto accel DMA) reads page from DRAM
  - CPU (or PCIe crypto accel DMA) writes encrypted page to DRAM
  - NIC DMA reads encrypted page from DRAM
Nothing changes from a memory bandwidth standpoint if its the CPU or a PCIE device doing those middle 2 steps. With "NIC TLS" (eg, inline hardware TLS) accelerators that sit on the NIC, those 2 middle steps can be eliminated, and condensed to the pre-crypto dataflow

   - disk DMA writes page from disk to DRAM
   - NIC DMA reads page from DRAM to NIC
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by baybal2 on Monday November 04, 2019 @03:12PM (#21445941)
That's wonderful, I and wish we had those things years ago.

Back then it was a realm of custom FPGA setups with very few niches like digital TV broadcasting, or expensive VPN appliances.

Ideally, I would've liked it a lot if the NIC could've spoken directly with the raid card or NVME using PCIE P2P... dreaming too big

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by rasz on Monday November 04, 2019 @01:35PM (#21444791)
How much are the accelerators? something tells me more expensive than delivering comparable throughput, highly flexible off the shelf x86 hardware.
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by baybal2 on Monday November 04, 2019 @01:59PM (#21445075)
Back in 2013, Intel 8920 did cost $750 wholesale, and similar Broadcom card a little bit cheaper.

Looks a lot now, but back then you didn't have server CPUs with gazillion cores on the cheap.

It was also about getting more bandwidth to a single server. 20Gb/s was a practical limit per mainstream server, but with accelerators you could've multiplied it many times more than the fastest CPU on the market.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by snark42 on Monday November 04, 2019 @02:20PM (#21445329)
> Looks a lot now, but back then you didn't have server CPUs with gazillion cores on the cheap.

You also didn't have the AES instruction set to improve the SSL performance.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by Unklejoe on Monday November 04, 2019 @01:52PM (#21444994)
You're also not tied to any particular vendor with a pure software approach.
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by wmf on Monday November 04, 2019 @03:03PM (#21445841)
Realistically with something well-defined like TLS you use a library that supports pure software or hardware acceleration. Then you can use acceleration without any lock-in.
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by fluffything on Tuesday November 05, 2019 @11:20AM (#21453747)
> We (Netflix CDN) are currently bandwidth limited for serving TLS encrypted video using software ktls. (~100Gb/s on broadwell, 150-160Gb/s on skylake/cascade lake, 220Gb/s on EPYC Rome). So I'd love to have twice the bandwidth. With twice the bandwidth, I think we could probably serve 400Gb/s from a single Rome based box.

When I commented, I was assuming that people would be moving memory from RAM to the CPU to do something useful with it. If you are just dumping memory to the network, it would be more efficient to skip moving the memory to the CPU all together, or to even skip a normal CPU completely and just have network cards with a lot of RAM.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by e12e on Monday November 04, 2019 @09:35AM (#21441990)
Wow. What kind of networking hardware do you push to/through? I have a hard time visualizing where/how you would "put" 200 gbps worth of data over (any) network...
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by joaovictortr on Monday November 04, 2019 @09:44AM (#21442075)
There is a presentation from EuroBSDCon 2019, that describes the techniques and hardware used to achieve that figure [0].

There is also a thread in HN if you're interested [1].

[0] https://people.freebsd.org/~gallatin/talks/euro2019.pdf

[1] https://news.ycombinator.com/item?id=21043765

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by drewg123 on Monday November 04, 2019 @10:30AM (#21442511)
Multiple Mellanox or Chelsio 100GbE NICs in an LACP bundle.

The 220g is from a prototype with a Rome CPU in a Naples-designed motherboard, with 4 Mellanox ConnectX-4 100GbE NICs. 2 of them are limited to Gen 3 x8 (since it is a Naples generation mobo).

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by Teknoman117 on Monday November 04, 2019 @02:54PM (#21445728)
I'm curious about you being limited to 220 Gb/s on an AMD Rome box. The maximum theoretical DDR4 bandwidth on such a system with 3200 MT DDR4 is 204 GiB/s, so you'd only be using ~15% of the DRAM bandwidth assuming the block/record/file size of the cached data you're serving is enough to mask the DRAM latency.
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by rasz on Monday November 04, 2019 @01:32PM (#21444740)
as to where, is internet infrastructure this bad in US? Even something like 35C3 had 500gbit pipe last year https://media.ccc.de/v/35c3-9576-35c3_infrastructure_review
Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by kev009 on Monday November 04, 2019 @02:26PM (#21445402)
No, the US is one of the most densely connected countries in the world. Fiber was over-provisioned by the functional Bell monopoly, railroads, and a smattering of upstarts in the 1980s and massive infrastructure capital bubble in the 2000 dotcom crash which was more about this infrastructure than software or computer hardware.

If you hear people in the US complaining about their internet connection, it is because the local duopoly of telephone and cable company is failing them. In terms of industrial fiber, the competition is fierce and you can light up Nx100G to almost anywhere in the country.

Re:IBM Adds POWER9 AIO, Pushes for an Open Memory-Agnostic I... by Teknoman117 on Monday November 04, 2019 @02:55PM (#21445744)
The industrial fiber capacity is fantastic here. What sucks is the consumer internet service. In most places in the US, there is a monopoly/duopoly for consumer ISPs and they certainly abuse their positions.