4 ms·
This is a terrible suggestion, but you could always attach a debugger to find out
by foota 6y ago
This is a terrible suggestion, but you could always attach a debugger to find out
- fluffything 6y agoOr just disassemble the binary and grep for avx-512 or avx2 instructions ? Or if SQL server is open source, just go to their github/gitlab/whatever repo, and enter the name of a commonly-used avx512 intrinsic on the search field ?
- foota 6y agoI figured it would be easier to find the specific area by debugging than disassembling, since it's likely easily tens to hundreds of megs. Also, SQL server is definitely not open source lmao.
- dragontamer 6y ago> This is a terrible suggestion Well, if we're optimizing a terrible idea anyway... https://download.01.org/perfmon/index/skylake_server.html https://download.01.org/perfmon/index/skylake_server.html The FP_ARITH_INST_RETIRED.512B_PACKED_SINGLE performance counter _seems_ to be the hardware performance counter tracking AVX512-32-bit instructions. You wouldn't even need a debugger. Just a reset: turn on hardware performance counters in the BIOS and run a profiler that can read the hardware performance counters. I don't know if that's the performance counter for sure that we're looking for. There's a few other 512B counters there.