Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 19 Sep 2014 20:16:58 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev <john-dev@...ts.openwall.com>
Subject: Restart work on mask mode

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

Your e-mail address:

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