andygrove commented on PR #27998: URL: https://github.com/apache/datafusion/pull/27998#issuecomment-7394145278
> I had looked into something similar in the past and I'm not sure about enabling this by default. FWIW I tested now on a `c4-highcpu-32` (16c/32t) and the benchmarks became slower with this PR: Thanks for testing this. Those are big regressions, and the opposite of what I saw on a Ryzen 9 7950X. I asked Claude to look into the `c4-highcpu-32` specs, and this is what Claude has to say on this: > C4 can run on Emerald Rapids or Granite Rapids. The Emerald Rapids part (Xeon Platinum 8581C) has 2 MiB of L2 per core, twice the 7950X, and a much larger L3. So two threads sharing a core likely costs less there, and server memory latency is higher, which the second thread helps hide. Also, `target_partitions` sets how many files are scanned at once, so 16 instead of 32 could slow down runs that read from Hyperdisk. To narrow it down, could you share: - `lscpu` output, to see which CPU you got - whether the data was in the page cache or read from Hyperdisk during the run - whether `turboMode=ALL_CORE_MAX` was set If this holds up, a default that helps one CPU and hurts another isn't a good default. I'm leaning towards turning this PR into tuning advice in the docs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
