|
Message-ID: <CAEo4CeNP56Q-=F-SGEKuy+a1SbJ-oQfWpzFPTkXbfidC0wByhg@mail.gmail.com>
Date: Fri, 19 Sep 2014 17:17:46 +0200
From: Albert Veli <albert.veli@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Restart work on mask mode
Have you tried gprof? http://www.thegeekstuff.com/2012/08/gprof-tutorial/
I think clang also has some profiling tools you can try. Haven't tried them
myself.
On Fri, Sep 19, 2014 at 4:46 PM, Sayantan Datta <std2048@...il.com> wrote:
> Hi
>
> I am glad to inform that I'm resuming my work on mask mode and to begin
> with, I'm trying to find the bottleneck on cpu portion of mask mode which
> is quite slower compared to incremental mode.
>
> To my surprise I can't get anything faster than 7.2 Mp/s(compared to
> 15Mp/s on inc mode) even with this simple password generation loop:
>
> while(!crk_process_key("a"));
>
> replacing the original code:
>
> while ((word = rpp_next(&ctx))) {
> if (options.node_count) {
> seq++;
> if (their_words) {
> their_words--;
> continue;
> }
> if (--my_words == 0) {
> my_words =
> options.node_max - options.node_min + 1;
> their_words = options.node_count - my_words;
> }
> }
> if (ext_filter(word))
> if (crk_process_key(word))
> break;
> }
>
> Manually, for now, I'm unable to find the bottleneck. So does anyone
> knows if there is any good cpu profiler for linux64 machines ?
>
> Regards,
> Sayantan
>
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.