Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 14 Feb 2018 15:52:53 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Profiling John

On 2018-02-14 03:12, Lukas Odzioba wrote:
>    %   cumulative   self              self     total
>   time   seconds   seconds    calls  ms/call  ms/call  name
>   75.00      0.06     0.06    16086     0.00     0.00  cfg_get_section
>   12.50      0.07     0.01      100     0.10     0.10  cmp_all
>   12.50      0.08     0.01        1    10.00    19.02  fmt_self_test
>    0.00      0.08     0.00   326700     0.00     0.00  set_key
>    0.00      0.08     0.00   196511     0.00     0.00  longcand
>    0.00      0.08     0.00    33485     0.00     0.00  mem_alloc_tiny_func
>    0.00      0.08     0.00    32858     0.00     0.00  get_key
> 
> 
> crypt_all should be somewhere at the top and it is reported as 0% of
> the time, but call count is not zero.


Why do you expect crypt_all to be spending CPU time? It only consists of 
a few calls to launch the GPU.

If you try -dev=cpu instead, I guess it'd look very different.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ