Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 20 Feb 2012 18:32:47 +0100
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: GPU formats .text size

2012/2/20 magnum <john.magnum@...hmail.com>:
> I wonder what makes for the large .text size for -cuda, it's 3x a
> non-GPU build. Maybe this is completely normal?
>
>   text    data       bss       dec      hex  filename
> 1065513  122008    936064   2123585   206741  john-64i
> 1117843  131824   1559864   2809531   2adebb  john-opencl
> 3262601  128248  14934280  18325129  1179e89  john-cuda
> 3314803  138064  15558104  19010971  122159b  john-gpu
>
> Also, the .bss is 15x but it's not by far as bad as the situation we
> rectified half a year ago in
> http://www.openwall.com/lists/john-dev/2011/11/28/1
>
> magnum
>
It is because of big tables for passwords and hashes ( for each
format). I'll change that thanks a lot for pointing it out.

for example phpass:
>>> 126(BLOCKS)*3*256(THREADS)*32(HASH+PASS)=3096576

This is from previous (not latest) version:
ukasz@...kstar$size *.o | sort -rnk 3 | head
   1881     288 3096648 3098817  2f48c1 phpasscuda_fmt.o
   3954     168  229450  233572   39064 cryptmd5cuda_fmt.o
  21092    4096  147440  172628   2a254 x86.o
   7715     168  145508  153391   2572f cryptsha512cuda_fmt.o
   4830     168  129240  134238   20c5e cryptsha256cuda_fmt.o
   1250     168  114896  116314   1c65a mscash2cuda_fmt.o
   5942     232   21808   27982    6d4e AFS_fmt.o
  26857       0   20488   47345    b8f1 x86-sse.o
   3876     208   19936   24020    5dd4 c3_fmt.o
   2043     192   16448   18683    48fb dummy.o

Lukas

Powered by blists - more mailing lists

Your e-mail address:

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