Re: [PATCH v17 2/3] /proc/pid/arch_status: Add AVX-512 usage elapsed time

2019-04-24 Thread Thomas Gleixner
On Mon, 22 Apr 2019, Aubrey Li wrote: $Subject: /proc/pid/arch_status: Add AVX-512 usage elapsed time x86 patches surely have a different prefix. > > +#ifdef CONFIG_PROC_PID_ARCH_STATUS > +/* Add support for task architecture specific output in > /proc/pid/arch_status */ > +void

[PATCH v17 2/3] /proc/pid/arch_status: Add AVX-512 usage elapsed time

2019-04-21 Thread Aubrey Li
AVX-512 components use could cause core turbo frequency drop. So it's useful to expose AVX-512 usage elapsed time as a heuristic hint for the user space job scheduler to cluster the AVX-512 using tasks together. Tensorflow example: $ while [ 1 ]; do cat /proc/tid/arch_status | grep AVX512; sleep