Earlier quoted context omitted.
protobuf is more friction, and actually slow to write and read. For better or worse, CSV is easy to produce via printf. Easy to read by breaking lines and splitting by the delimiter. Escaping delimiters part of the content is not hard, though often added as an afterthought. Protobuf requires to install a library. Understand how it works. Write a schema file. Share the shema to others. The API is cumbersome. Finally t…
> For better or worse, CSV is easy to produce via printf. Easy to read by breaking lines and splitting by the delimiter. Escaping delimiters part of the content is not hard, though often added as an afterthought. Based on the amount of software I seen producing broken CSV or can't parse (more-or-less) valid CSV, I don't think that is true. It seems to be easy, because just printf("%s,%d,%d\n", ...) but it is full of…
21 GB/s CSV Parsing Using SIMD on AMD 9950X
131–140 of 176 posts
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#132Earlier quoted context omitted.
That is what Intel does, they build up a market (Optane) and then do a rug pull (Depth Cameras). They continue to do this thing where they do a huge push into a new technology, then don't see the uptake and let it die. Instead of building slowly and then at the right time, doing a big push. Optane support was just getting mature in the Linux kernel when they pulled it. And they focused on some weird cost cutting move…
Indeed. Octane/3dxpoint was mind blowing futuristic stuff but it was just gone after 5 years? On the market? Talk about short sighted.
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#133Earlier quoted context omitted.
That is what Intel does, they build up a market (Optane) and then do a rug pull (Depth Cameras). They continue to do this thing where they do a huge push into a new technology, then don't see the uptake and let it die. Instead of building slowly and then at the right time, doing a big push. Optane support was just getting mature in the Linux kernel when they pulled it. And they focused on some weird cost cutting move…
Until this day, I miss Optane — I work for a timeseries database company focused on finance, the amount of use cases I have that screams “faster than NVMe, slower than RAM” is insane. And these companies have money to throw at these problems. Which begs the question, why isn’t anyone else stepping into this gap? Is the technology heavily patented?
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#134Earlier quoted context omitted.
That is what Intel does, they build up a market (Optane) and then do a rug pull (Depth Cameras). They continue to do this thing where they do a huge push into a new technology, then don't see the uptake and let it die. Instead of building slowly and then at the right time, doing a big push. Optane support was just getting mature in the Linux kernel when they pulled it. And they focused on some weird cost cutting move…
Optane was cancelled because manufacturer sold the fab
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#135Earlier quoted context omitted.
> What the VLIW of Itanium needed and never really got was proper compiler support. This is kinda under-selling it. The fundamental problem with statically-scheduled VLIW machines like Itanium is it puts all of the complexity in the compiler. Unfortunately it turns out it's just really hard to make a good static scheduler! In contrast, dynamically-scheduled out-of-order superscalar machines work great but put all the…
>What happened was that static scheduling stayed really hard while the transistor overhead for dynamic scheduling became irrelevantly cheap Is the latter part true? AFAIK most of modern CPU die area and power consumption goes towards overhead as opposed to the actual ALU operations.
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#136Earlier quoted context omitted.
That is what Intel does, they build up a market (Optane) and then do a rug pull (Depth Cameras). They continue to do this thing where they do a huge push into a new technology, then don't see the uptake and let it die. Instead of building slowly and then at the right time, doing a big push. Optane support was just getting mature in the Linux kernel when they pulled it. And they focused on some weird cost cutting move…
The rugpull on Optane was incredibly frustrating. Intel developed a technology which made really meaningful improvements to workloads in an industry that is full of sticky late adopters (RDBMSes). They kept investing until the point where they had unequivocally made their point and the late adopters were just about getting it... and then killed it! It's hard to understand how they could have played that particular ha…
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#137This is a staggering ~3x improvement in just under 2 years since Sep was introduced June, 2023. You can't claim this when you also do a huge hardware jump
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#138Earlier quoted context omitted.
> For better or worse, CSV is easy to produce via printf. Easy to read by breaking lines and splitting by the delimiter. Escaping delimiters part of the content is not hard, though often added as an afterthought. Based on the amount of software I seen producing broken CSV or can't parse (more-or-less) valid CSV, I don't think that is true. It seems to be easy, because just printf("%s,%d,%d\n", ...) but it is full of…
Not an issue when you control both ends of the pipe. CSV is a great interchange format for tabular data, especially so if it's only/mostly numeric. If you need to pass tabular data from internal service X to internal service Y it's great. And it's really fast.
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#139Earlier quoted context omitted.
Not an issue when you control both ends of the pipe. CSV is a great interchange format for tabular data, especially so if it's only/mostly numeric. If you need to pass tabular data from internal service X to internal service Y it's great. And it's really fast.
Hmmm if they're just internal tools, why not just an array of structs? No parsing needed. Can have optionals. Can't go faster than nothing.
Re: 21 GB/s CSV Parsing Using SIMD on AMD 9950X
#140Earlier quoted context omitted.
I honestly wonder if JSON is king. I used to think so until I started working in fintech. XML is unfortunately everywhere.
JSON isn't great for tabular data. And an awful lot of data is tabular.