http403 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

cuda vs core 2 Duo #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pyrit -e ESSID batch
2.
3.

What is the expected output? What do you see instead?
The PMK/s is slower if I use CUDA than when I use two cores

What version of the product are you using? On what operating system?
0.2.4 on Ubuntu 9.10

Please provide any additional information below.
The PMK/s is slower if I use CUDA than when I use two cores

Original issue reported on code.google.com by andrea.c...@gmail.com on 18 Nov 2009 at 11:51

GoogleCodeExporter commented 9 years ago
Hey Andrea just wondering what graphics card you have? I myself have a Ati 3650
Mobility on my laptop and found that since it's such a weak card it had very 
similar
performance to using just the cores. Also could you paste a copy of the 
benchmarks
into here.

Original comment by adam.k...@gmail.com on 19 Nov 2009 at 12:05

GoogleCodeExporter commented 9 years ago
Hi adam, My processor is a Intel Core 2 Duo P8600 (2x2.4ghz) and my video card 
is a
nvidia GeForce 9400M. I am currently away from the laptop where I have Linux
installed. With the core due I get approx. 1150PMK/s while with one processor 
and the
CUDA I get approx. 800PMK/s. I noticed that when I use both processors they work
between 90% and 100%. While if I use cuda and one processor, the cuda work 
between 90
and 100% while the single processor work between 30 and 50%. How is that 
possible? Am
I doing something wrong or is it just my video card that is not so powerful?

Thank you,

Andrea.

Original comment by andrea.c...@gmail.com on 19 Nov 2009 at 12:17

GoogleCodeExporter commented 9 years ago
Hi Adam. SO I got back home. Here are the two ouput. The first one as you can 
see is
with my 2 cores, while the second one is using cuda and one core. Any help? 
Thank you
in advance.

Andrea.

root@ubuntu:~# pyrit -e myessid batch
Pyrit 0.2.4 (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3

Working on ESSID 'myessid'
Error: API mismatch: the NVIDIA kernel module has version 185.18.36,
but this NVIDIA driver component has version 190.18.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
Processed all workunits for ESSID 'myessid'; 1146 PMKs per second.
Computed 1146.13 PMKs/s total.
#1: 'CPU-Core (SSE2)': 689.2 PMKs/s (Occ. 73.7%; RTT 0.9)
#2: 'CPU-Core (SSE2)': 684.7 PMKs/s (Occ. 93.2%; RTT 1.1)

------

root@ubuntu:~# pyrit -e myessid1 batch
Pyrit 0.2.4 (C) 2008, 2009 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3

Working on ESSID 'myessid1'
Processed all workunits for ESSID 'myessid1'; 847 PMKs per second.
Computed 847.80 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce 9400M G'': 687.9 PMKs/s (Occ. 91.6%; RTT 4.4)
#2: 'CPU-Core (SSE2)': 382.4 PMKs/s (Occ. 56.9%; RTT 1.4)

Original comment by andrea.c...@gmail.com on 19 Nov 2009 at 1:09

GoogleCodeExporter commented 9 years ago
Hey Andrea, 
I'm not to sure about this but I think it may be because your graphics card 
isn't
powerful enough. Also I don't know why your second core is showing low 
occupancy but
I think Lucas said before that it the it's just the CUDA process taking up some 
CPU
time causing less of it to be available to pyrit. I had the same problem with my
laptop with an ATI 3650 mobility, I found that there was no improvement or 
less, so I
just gave up on it.

Hope this all makes sense,
Adam.

Original comment by adam.k...@gmail.com on 19 Nov 2009 at 1:42

GoogleCodeExporter commented 9 years ago
A 9400M is just too slow. The CUDA-driver busy-polls the hardware and consumes
precious cpu-cycles.

Closed for now, thanks for reporting.

Original comment by lukas.l...@gmail.com on 19 Nov 2009 at 4:29