public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Brandewie <dirk.brandewie@gmail.com>
To: Tim Chen <tim.c.chen@linux.intel.com>
Cc: dirk.brandewie@gmail.com, Dave Jones <davej@redhat.com>,
	George Spelvin <linux@horizon.com>,
	herbert@gondor.apana.org.au, james.guilford@intel.com,
	JBeulich@suse.com, linux-kernel@vger.kernel.org,
	Jacob jun Pan <jacob.jun.pan@intel.com>
Subject: Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table
Date: Fri, 30 May 2014 13:15:46 -0700	[thread overview]
Message-ID: <5388E6F2.1010603@gmail.com> (raw)
In-Reply-To: <1401480439.2970.507.camel@schen9-DESK>

On 05/30/2014 01:07 PM, Tim Chen wrote:
> On Fri, 2014-05-30 at 12:38 -0700, Dirk Brandewie wrote:
>
>>> Dirk,
>>>
>>> Thanks for checking things out.
>>>
>>> I tested on a Haswell system, and I see that the frequency
>>> can dip below the max even when I set the min_perf_pct to 100.
>>> Let me know if you want to log on to my system and check if
>>> there's something I missed. It is odd that the package 1's
>>> cores are at a much higher frequency and close to
>>> max than package 0, once min_perf_pct is set to 100.
>>>
>>
>> Can you run turbostat for a few samples it reports an average over the sample
>> time.
>>
>
> Here it is.
>

You have me at a loss here I can come in on Monday if you are around and
we can try to figure out what is happening.

--Dirk
> Tim
>
> Package     Core     CPU Avg_MHz   %Busy Bzy_MHz TSC_MHz     SMI  CPU%c1  CPU%c3  CPU%c6  CPU%c7 CoreTmp  PkgTmp Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 PkgWatt RAMWatt   PKG_%   RAM_%
>         -       -       -       0    0.02    2048    2594       0    0.23    0.00   99.75    0.00      33      42    5.93    0.00   91.52    0.00   23.22    4.15    0.12    0.00
>         0       0       0       1    0.06    1997    2594       0    0.16    0.00   99.78    0.00      32      42    7.92    0.00   91.55    0.00   16.88    1.95    0.06    0.00
>         0       0      28       0    0.01    1338    2594       0    0.21
>         0       1       1       0    0.02    1696    2594       0    0.11    0.00   99.87    0.00      33
>         0       1      29       0    0.01    1455    2594       0    0.11
>         0       2       2       0    0.01    1618    2594       0    0.07    0.00   99.91    0.00      30
>         0       2      30       0    0.01    1513    2594       0    0.07
>         0       3       3       0    0.01    1724    2594       0    0.08    0.00   99.91    0.00      31
>         0       3      31       0    0.01    1447    2594       0    0.08
>         0       4       4       0    0.01    1769    2594       0    0.06    0.00   99.92    0.00      32
>         0       4      32       0    0.01    1483    2594       0    0.06
>         0       5       5       0    0.01    1670    2594       0    0.07    0.00   99.92    0.00      29
>         0       5      33       0    0.01    1515    2594       0    0.07
>         0       6       6       0    0.01    1600    2594       0    0.07    0.00   99.92    0.00      33
>         0       6      34       0    0.01    1412    2594       0    0.07
>         0       8       7       0    0.01    1588    2594       0    0.07    0.00   99.92    0.00      30
>         0       8      35       0    0.01    1432    2594       0    0.07
>         0       9       8       0    0.01    1662    2594       0    0.11    0.00   99.88    0.00      32
>         0       9      36       0    0.02    1658    2594       0    0.10
>         0      10       9       0    0.01    1570    2594       0    0.07    0.00   99.91    0.00      32
>         0      10      37       0    0.01    1468    2594       0    0.07
>         0      11      10       0    0.01    1680    2594       0    0.07    0.00   99.92    0.00      31
>         0      11      38       0    0.01    1511    2594       0    0.07
>         0      12      11       0    0.01    1690    2594       0    0.08    0.00   99.91    0.00      30
>         0      12      39       0    0.01    1560    2594       0    0.08
>         0      13      12       0    0.02    1604    2594       0    0.11    0.00   99.87    0.00      29
>         0      13      40       0    0.02    1436    2594       0    0.11
>         0      14      13       0    0.02    1620    2594       0    0.09    0.00   99.89    0.00      29
>         0      14      41       0    0.02    1440    2594       0    0.09
>         1       0      14       0    0.03    1666    2594       0    0.16    0.00   99.82    0.00      28      36    3.94    0.00   91.50    0.00    6.34    2.20    0.06    0.00
>         1       0      42       3    0.08    3263    2594       0    0.11
>         1       1      15       0    0.01    2194    2594       0    0.09    0.00   99.90    0.00      30
>         1       1      43       0    0.01    2358    2594       0    0.09
>         1       2      16       0    0.01    2650    2594       0    0.08    0.00   99.91    0.00      28
>         1       2      44       0    0.01    2032    2594       0    0.08
>         1       3      17       1    0.03    2305    2594       0    4.11    0.00   95.86    0.00      30
>         1       3      45       0    0.01    2290    2594       0    4.13
>         1       4      18       0    0.01    2362    2594       0    0.09    0.00   99.90    0.00      28
>         1       4      46       0    0.01    2325    2594       0    0.09
>         1       5      19       0    0.01    2374    2594       0    0.07    0.00   99.92    0.00      30
>         1       5      47       0    0.01    2442    2594       0    0.07
>         1       6      20       0    0.01    2476    2594       0    0.08    0.00   99.91    0.00      30
>         1       6      48       0    0.01    2382    2594       0    0.07
>         1       8      21       0    0.01    2669    2594       0    0.09    0.00   99.90    0.00      29
>         1       8      49       0    0.02    1953    2594       0    0.09
>         1       9      22       0    0.01    2537    2594       0    0.10    0.00   99.89    0.00      31
>         1       9      50       0    0.01    2117    2594       0    0.10
>         1      10      23       0    0.01    2531    2594       0    0.07    0.00   99.92    0.00      27
>         1      10      51       0    0.01    2404    2594       0    0.08
>         1      11      24       0    0.01    2315    2594       0    0.08    0.00   99.91    0.00      28
>         1      11      52       0    0.01    2210    2594       0    0.08
>         1      12      25       0    0.01    2434    2594       0    0.07    0.00   99.91    0.00      28
>         1      12      53       0    0.01    2113    2594       0    0.08
>         1      13      26       0    0.01    2070    2594       0    0.07    0.00   99.91    0.00      27
>         1      13      54       0    0.01    2114    2594       0    0.08
>         1      14      27       0    0.01    2324    2594       0    0.10    0.00   99.89    0.00      27
>         1      14      55       1    0.03    2991    2594       0    0.08
> Package     Core     CPU Avg_MHz   %Busy Bzy_MHz TSC_MHz     SMI  CPU%c1  CPU%c3  CPU%c6  CPU%c7 CoreTmp  PkgTmp Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 PkgWatt RAMWatt   PKG_%   RAM_%
>         -       -       -       0    0.01    2138    2594       0    0.10    0.01   99.88    0.00      33      42    4.32    0.09   94.88    0.00   22.45    3.56    0.12    0.00
>         0       0       0       1    0.07    2106    2594       0    0.25    0.00   99.68    0.00      31      42    4.20    0.00   95.00    0.00   16.72    1.73    0.06    0.00
>         0       0      28       0    0.01    2163    2594       0    0.31
>         0       1       1       0    0.02    2005    2594       0    0.11    0.00   99.87    0.00      33
>         0       1      29       0    0.01    1823    2594       0    0.12
>         0       2       2       0    0.02    2008    2594       0    0.10    0.00   99.88    0.00      30
>         0       2      30       0    0.01    1903    2594       0    0.10
>         0       3       3       0    0.02    1953    2594       0    0.10    0.00   99.88    0.00      31
>         0       3      31       0    0.01    1840    2594       0    0.11
>         0       4       4       0    0.02    2220    2594       0    0.09    0.01   99.89    0.00      33
>         0       4      32       0    0.01    1806    2594       0    0.09
>         0       5       5       0    0.01    1723    2594       0    0.09    0.00   99.89    0.00      28
>         0       5      33       0    0.01    1904    2594       0    0.09
>         0       6       6       0    0.01    1806    2594       0    0.08    0.00   99.91    0.00      33
>         0       6      34       0    0.01    1824    2594       0    0.08
>         0       8       7       0    0.01    1910    2594       0    0.10    0.00   99.89    0.00      30
>         0       8      35       0    0.01    1847    2594       0    0.10
>         0       9       8       0    0.02    2204    2594       0    0.11    0.00   99.88    0.00      30
>         0       9      36       0    0.02    1899    2594       0    0.11
>         0      10       9       0    0.01    1967    2594       0    0.09    0.00   99.90    0.00      33
>         0      10      37       0    0.01    1838    2594       0    0.09
>         0      11      10       0    0.01    1696    2594       0    0.08    0.00   99.90    0.00      31
>         0      11      38       0    0.01    1728    2594       0    0.08
>         0      12      11       0    0.02    1863    2594       0    0.09    0.00   99.90    0.00      30
>         0      12      39       0    0.01    1838    2594       0    0.09
>         0      13      12       0    0.02    1856    2594       0    0.11    0.00   99.87    0.00      29
>         0      13      40       0    0.01    1741    2594       0    0.12
>         0      14      13       0    0.02    1887    2594       0    0.10    0.00   99.88    0.00      30
>         0      14      41       0    0.01    1860    2594       0    0.11
>         1       0      14       0    0.03    1875    2594       0    0.09    0.00   99.88    0.00      28      38    4.44    0.18   94.75    0.00    5.72    1.82    0.06    0.00
>         1       0      42       0    0.01    2363    2594       0    0.11
>         1       1      15       0    0.01    2368    2594       0    0.09    0.00   99.90    0.00      31
>         1       1      43       0    0.01    2403    2594       0    0.09
>         1       2      16       0    0.01    2501    2594       0    0.07    0.00   99.91    0.00      27
>         1       2      44       0    0.01    2469    2594       0    0.07
>         1       3      17       1    0.04    2674    2594       0    0.10    0.19   99.66    0.00      30
>         1       3      45       0    0.01    2374    2594       0    0.13
>         1       4      18       0    0.01    2446    2594       0    0.08    0.00   99.91    0.00      28
>         1       4      46       0    0.01    2372    2594       0    0.08
>         1       5      19       0    0.01    2479    2594       0    0.08    0.00   99.91    0.00      29
>         1       5      47       0    0.01    2352    2594       0    0.08
>         1       6      20       0    0.01    2436    2594       0    0.07    0.00   99.91    0.00      30
>         1       6      48       0    0.01    2381    2594       0    0.08
>         1       8      21       0    0.01    2377    2594       0    0.08    0.00   99.91    0.00      29
>         1       8      49       0    0.01    2629    2594       0    0.08
>         1       9      22       0    0.01    2407    2594       0    0.09    0.00   99.90    0.00      30
>         1       9      50       0    0.01    2547    2594       0    0.09
>         1      10      23       0    0.01    2254    2594       0    0.09    0.00   99.90    0.00      28
>         1      10      51       0    0.01    2514    2594       0    0.09
>         1      11      24       0    0.01    2204    2594       0    0.10    0.00   99.89    0.00      29
>         1      11      52       0    0.01    2187    2594       0    0.09
>         1      12      25       0    0.01    2310    2594       0    0.09    0.00   99.90    0.00      27
>         1      12      53       0    0.01    2636    2594       0    0.09
>         1      13      26       0    0.01    2325    2594       0    0.09    0.00   99.89    0.00      29
>         1      13      54       0    0.02    1959    2594       0    0.09
>         1      14      27       0    0.01    2273    2594       0    0.11    0.00   99.88    0.00      28
>         1      14      55       1    0.02    2678    2594       0    0.10
> Package     Core     CPU Avg_MHz   %Busy Bzy_MHz TSC_MHz     SMI  CPU%c1  CPU%c3  CPU%c6  CPU%c7 CoreTmp  PkgTmp Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 PkgWatt RAMWatt   PKG_%   RAM_%
>         -       -       -       0    0.02    2223    2594       0    0.12    0.00   99.86    0.00      34      41    4.47    0.00   94.54    0.00   22.70    3.64    0.14    0.00
>         0       0       0       1    0.05    2251    2594       0    0.18    0.00   99.77    0.00      32      41    4.81    0.00   94.56    0.00   16.89    1.78    0.06    0.00
>         0       0      28       0    0.01    1846    2594       0    0.22
>         0       1       1       0    0.02    1758    2594       0    0.12    0.00   99.86    0.00      33
>         0       1      29       0    0.02    1945    2594       0    0.12
>         0       2       2       0    0.02    1635    2594       0    0.09    0.00   99.89    0.00      29
>         0       2      30       0    0.01    1939    2594       0    0.10
>         0       3       3       0    0.01    1834    2594       0    0.08    0.00   99.90    0.00      31
>         0       3      31       0    0.01    1554    2594       0    0.09
>         0       4       4       0    0.02    1827    2594       0    0.08    0.00   99.91    0.00      33
>         0       4      32       0    0.01    1824    2594       0    0.08
>         0       5       5       0    0.02    1925    2594       0    0.08    0.00   99.90    0.00      29
>         0       5      33       0    0.01    1796    2594       0    0.08
>         0       6       6       0    0.02    1801    2594       0    0.07    0.00   99.91    0.00      34
>         0       6      34       0    0.01    1874    2594       0    0.08
>         0       8       7       0    0.02    1930    2594       0    0.08    0.00   99.91    0.00      30
>         0       8      35       0    0.01    1901    2594       0    0.08
>         0       9       8       0    0.02    1874    2594       0    0.10    0.00   99.88    0.00      30
>         0       9      36       0    0.02    1915    2594       0    0.10
>         0      10       9       0    0.02    1779    2594       0    0.08    0.00   99.90    0.00      32
>         0      10      37       0    0.01    1983    2594       0    0.09
>         0      11      10       0    0.02    1754    2594       0    0.08    0.00   99.90    0.00      31
>         0      11      38       0    0.01    1722    2594       0    0.09
>         0      12      11       0    0.02    1730    2594       0    0.08    0.00   99.90    0.00      29
>         0      12      39       0    0.01    1892    2594       0    0.09
>         0      13      12       0    0.02    1943    2594       0    0.10    0.00   99.88    0.00      30
>         0      13      40       0    0.02    2016    2594       0    0.10
>         0      14      13       0    0.02    1893    2594       0    0.10    0.00   99.87    0.00      31
>         0      14      41       0    0.01    1790    2594       0    0.11
>         1       0      14       1    0.03    1998    2594       0    0.16    0.00   99.81    0.00      28      37    4.13    0.00   94.52    0.00    5.81    1.86    0.08    0.00
>         1       0      42       3    0.08    3493    2594       0    0.11
>         1       1      15       0    0.01    2483    2594       0    0.08    0.00   99.90    0.00      31
>         1       1      43       0    0.01    2279    2594       0    0.09
>         1       2      16       0    0.01    2454    2594       0    0.07    0.00   99.92    0.00      27
>         1       2      44       0    0.01    2405    2594       0    0.07
>         1       3      17       1    0.03    3069    2594       0    0.29    0.00   99.68    0.00      31
>         1       3      45       0    0.01    2298    2594       0    0.31
>         1       4      18       0    0.01    2515    2594       0    0.08    0.00   99.91    0.00      28
>         1       4      46       0    0.01    2193    2594       0    0.08
>         1       5      19       0    0.01    2547    2594       0    0.06    0.00   99.93    0.00      28
>         1       5      47       0    0.01    2327    2594       0    0.06
>         1       6      20       0    0.01    2315    2594       0    0.07    0.00   99.92    0.00      29
>         1       6      48       0    0.01    2120    2594       0    0.07
>         1       8      21       0    0.01    2482    2594       0    0.07    0.00   99.92    0.00      29
>         1       8      49       0    0.01    2311    2594       0    0.07
>         1       9      22       0    0.01    2372    2594       0    0.09    0.00   99.90    0.00      30
>         1       9      50       0    0.01    2509    2594       0    0.09
>         1      10      23       0    0.02    2147    2594       0    0.08    0.00   99.91    0.00      27
>         1      10      51       0    0.01    2477    2594       0    0.08
>         1      11      24       0    0.01    2138    2594       0    0.08    0.00   99.90    0.00      29
>         1      11      52       0    0.01    2365    2594       0    0.09
>         1      12      25       0    0.01    1965    2594       0    0.07    0.00   99.91    0.00      28
>         1      12      53       0    0.01    2447    2594       0    0.08
>         1      13      26       0    0.01    2476    2594       0    0.08    0.00   99.91    0.00      28
>         1      13      54       0    0.01    2282    2594       0    0.08
>         1      14      27       0    0.01    2386    2594       0    0.76    0.00   99.22    0.00      28
>         1      14      55       1    0.02    3065    2594       0    0.75
>
>


  reply	other threads:[~2014-05-30 20:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 14:40 [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table George Spelvin
2014-05-28 15:32 ` George Spelvin
2014-05-28 22:15   ` [PATCH v2] crypto: crc32c-pclmul - Shrink K_table to 32-bit words George Spelvin
2014-05-28 23:02     ` Tim Chen
2014-05-28 23:55       ` George Spelvin
2014-05-29  3:26       ` George Spelvin
2014-05-29 16:33         ` Tim Chen
2014-05-28 20:47 ` [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table Jan Beulich
2014-05-28 21:47   ` George Spelvin
2014-05-29  6:44     ` Jan Beulich
2014-05-28 22:32 ` Tim Chen
2014-05-28 23:01   ` George Spelvin
2014-05-28 23:28     ` Tim Chen
2014-05-29 23:54       ` George Spelvin
2014-05-30  1:07         ` Tim Chen
2014-05-30  1:16           ` Dave Jones
2014-05-30 17:56             ` Tim Chen
2014-05-30 18:45               ` Dirk Brandewie
2014-05-30 19:32                 ` Tim Chen
2014-05-30 19:38                   ` Dirk Brandewie
2014-05-30 20:07                     ` Tim Chen
2014-05-30 20:15                       ` Dirk Brandewie [this message]
2014-05-30  1:37           ` George Spelvin
2014-05-30  5:25             ` George Spelvin
2014-05-30 16:10               ` Tim Chen
2014-05-30 16:52                 ` George Spelvin
2014-05-30 17:01                   ` Tim Chen
2014-06-07  3:08                     ` [PATCH v3] crypto: crc32c-pclmul - Shrink K_table to 32-bit words George Spelvin
2014-06-20 18:42                       ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5388E6F2.1010603@gmail.com \
    --to=dirk.brandewie@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=davej@redhat.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jacob.jun.pan@intel.com \
    --cc=james.guilford@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@horizon.com \
    --cc=tim.c.chen@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox