News for hackers. Stuff that matters.
Re:Simdjson – Parsing Gigabytes of JSON per Second by scottlamb on Thursday February 21, 2019 @12:29AM (#19214769)
iirc, it's complicated. Some instructions don't reduce the frequency; some reduce it a little; some reduce it a lot.

I'm not sure AVX2 is as ubiquitous as the README says: "We assume AVX2 support which is available in all recent mainstream x86 processors produced by AMD and Intel."

I guess "mainstream" is somewhat subjective, but some recent Chromebooks have Celeron processors with no AVX2:

https://us-store.acer.com/chromebook-14-cb3-431-c5fm

https://ark.intel.com/products/91831/Intel-Celeron-Processor...

Re:Simdjson – Parsing Gigabytes of JSON per Second by Ultimatt on Thursday February 21, 2019 @01:10AM (#19214919)
Because someone wanting 2.2GB/s JSON parsing is deploying to a chromebook...
Re:Simdjson – Parsing Gigabytes of JSON per Second by scottlamb on Thursday February 21, 2019 @11:42AM (#19218072)
It doesn't seem that laughable to me to want faster JSON parsing on a Chromebook, given how heavily JSON is used to communicate between webservers and client-side Javascript.

"Faster" meaning faster than Chromebooks do now; 2.2 GB/s may simply be unachievable hardware-wise with these cheap processors. They're kinda slow, so any speed increase would be welcome.

Re:Simdjson – Parsing Gigabytes of JSON per Second by sitkack on Thursday February 21, 2019 @01:36AM (#19214991)
AVX2 also incurs some pretty large penalties for switching between SSE and AVX2. Depending on the amount of time taken in the library between calls, it could be problematic.

This looks mostly applicable to server scenarios where the runtime environment is highly controlled.

Re:Simdjson – Parsing Gigabytes of JSON per Second by BeeOnRope on Friday February 22, 2019 @07:15PM (#19230464)
There is no real penalty for switching between SSE and AVX2, unless you do it wrong. What are you referring to specifically?

Are you talking about state transition penalties that can occur if you forget a vzeroupper? That's the only thing I'm aware of which kind of matches that.