by drewg123 · 6y ago · 0 comments
AMD has a profiler, but it is nowhere near as capable as Vtune.
AMD has ways to do some things that Intel's PCM tools do (like monitor memory bandwidth), but they are exceedingly awkward (eg, only option is producing a CSV, no live output). And there are lots of things which are just missing (like support for monitoring NUMA fabric bandwidth, PCIe bandwidth, power, etc). I gave a talk at AMD in Austin last fall where I beat them up about some of these things.
Oh, and I'm up to over 260Gb/s of 100% TLS traffic from an AMD Rome :)
But, isn't it a pretty narrow market that benefits from Intel's tooling here?
Startups running their entire business on JITed runtimes on top of multiple layers of virtualization in cloud providers aren't using this. Enterprises with enough resources to revise their entire stack to work on ARM (Cloudflare, Microsoft, Google, Amazon) likely have the internal resources and skills already to build the missing tooling and profile statistically using massive fleets of servers.
How large is the target market of Intel purchasers that are large enough and performance sensitive enough that it's profitable to micro-optimize assembly, and yet not large enough that it's a rounding error to build similar tooling for AMD x86-64 or ARM or otherwise?
And we (Netflix Open Connect) kind of fit that middle ground that you're talking about.
Have you tried JTAG?
> How large is the target market of Intel purchasers that are large enough and performance sensitive enough that it's profitable to micro-optimize assembly
I'd like to think if a large customer picked up the phone and called Intel and asked why the new processors they got are slower than the old ones, that asking that they send someone to take a look at it would not be outside of the realm of reasonable requests. But not being in a position to buy millions of dollars worth of gear from Intel so I'll have to wait for someone to tell me what happened.
If they bother to send someone out, that person would probably like to have - or even insist on - some decent tools. Reliable and informative, if not necessarily friendly enough for consumers.
I wonder to what extent Intel's tools prevent such customer visits, versus being made to give small and medium sized customer a feeling that they have some secret weapon using Intel, rather than the reality of one. A pretty collar for the pig to wear to the Fair.
And then there's also "Intel is Removing End of Life Drivers and BIOS Downloads"[0]. Great, if I didn't save them, I need to go to a 3rd party site, run the risk of getting malware, have to compare hashes, etc, etc, etc... This is, in my opinion, an absolute no-go as a vendor, and instantly makes me want to drop them. Which I did, all the PCs my clients get from me are AMD systems now.
AMD is a serious vendor, you can even get the old ATI RAGE drivers off their website.
[0]: https://www.bleepingcomputer.com/news/hardware/intel-is-remo...
EDIT: The linked tweet[1] in the article mirrors my sentiments on this topic almost perfectly:
> "DEAR COMPANIES THAT MAKE HARDWARE: YOU'RE SUPPOSED TO HOST YOUR DRIVERS UNTIL THE SUN EXPLODES OR YOU GO OUT OF BUSINESS, NOT UNTIL YOU GET TIRED OF HOSTING 20 MEGABYTES"
That said, AMD (and Intel) have reinvented themselves several times with pretty big cultural shifts so I'm hopeful they get someone like Jim Keller with the authority to shake things up.
I's say it is even less likely if Jim will be on the board
I know Vtune for Linux exists but I've never heard much a bout it, everyone seems to be recommending "perf". Is there more to measuring memory bandwidth than multiplying last level cache misses with cache line size?
I think where Intel does best is their open source drivers, tools and contributions, though AMD has improved a lot in that respect too.
Hold on, is that 30% improvement from 3-6 months ago? I thought it was 200Gb/s last time and it was sort of pushed to the limit with memory bandwidth bottleneck? Do you think you can push it even further something like 300Gb/s?
Seriously this is mind boggling.
If we were serving plain http without TLS, we could probably reach 400Gb/s from this box (based purely on back of the envelope math)
The lookaside accelerators (like QAT) sit on the PCIe bus and DMA plaintext into the accelerator, and DMA encrypted data out. This offloads the CPU, but it does not help with memory bandwidth. Since memory bandwidth is our biggest bottleneck, they don't help.
Inline accelerators are "smart nics". The NIC DMAs a pre-formatted TLS record in plain text inside a (series of) TCP packet(s) from the host, encrypts it, and sends it in an almost stateless way. This is what we call "NIC TLS" in FreeSD. Sadly, the inline accelerators we've tried all have fatal flaws which prevent us from using them. I cannot get into those flaws for NDA reasons, but we're hopeful that there will be one that we can use soon.