Re: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-20 Thread Arjan van de Ven
On 2/20/2019 7:35 AM, David Laight wrote: From: Sent: 16 February 2019 12:56 To: Li, Aubrey ... The above experiment just confirms what I said: The numbers are inaccurate and potentially misleading to a large extent when the AVX using task is not scheduled out for a longer time. Not only

RE: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-20 Thread David Laight
From: Sent: 16 February 2019 12:56 > To: Li, Aubrey ... > The above experiment just confirms what I said: The numbers are inaccurate > and potentially misleading to a large extent when the AVX using task is not > scheduled out for a longer time. Not only that, they won't detect programs that use

Re: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-16 Thread Li, Aubrey
On 2019/2/16 20:55, Thomas Gleixner wrote: > On Fri, 15 Feb 2019, Li, Aubrey wrote: >> On 2019/2/14 19:29, Thomas Gleixner wrote: >> Under this scenario, the elapsed time becomes longer than normal indeed, see >> below: >> >> $ while [ 1 ]; do cat /proc/6985/status | grep AVX; sleep 1; done >>

Re: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-16 Thread Thomas Gleixner
On Fri, 15 Feb 2019, Li, Aubrey wrote: > On 2019/2/14 19:29, Thomas Gleixner wrote: > Under this scenario, the elapsed time becomes longer than normal indeed, see > below: > > $ while [ 1 ]; do cat /proc/6985/status | grep AVX; sleep 1; done > AVX512_elapsed_ms:3432 > AVX512_elapsed_ms:

Re: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-14 Thread Li, Aubrey
On 2019/2/14 19:29, Thomas Gleixner wrote: > On Wed, 13 Feb 2019, Aubrey Li wrote: > >> 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

Re: [PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-14 Thread Thomas Gleixner
On Wed, 13 Feb 2019, Aubrey Li wrote: > 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. > > Example: > $ cat /proc/pid/status

[PATCH v11 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-12 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. Example: $ cat /proc/pid/status | grep AVX512_elapsed_ms AVX512_elapsed_ms: 1020