masterzorag's Activity

Thursday, October 21, 2010

Meanwhile, at lower levels...

Writing OpenCL code needs some C knowledges, in time I've thinked about PMK algo, Cell/BE, python, and C...
How can C code run faster, pointers, arrays and structs, ints, memory allocation/alignment and more...
Time to see what can be done in C, so how easy can be porting mine bruteforge python script other than code written by others?
I've wrote this time ago, code and algorithms are in my mind! I want to see the diffs, and learning C for my needs, of course.
As expected, C uses less memory (68kb over 1990Kb) and runs moOore faster, it generates 10.000.000 words in 3.384s, the python version computes the same numbers of words in 1m46.062s, so I've got a x31 speedup in front of 1/31 in memory!
My new code isn't well optimized, I'll spend some more time with it, but actual results are impressive; so I'm working to complete the C port of bruteforge with renewed logics; all will be in function of the -so called- 'advanced mode', so users can sets a custom charset (including special and spaces characters) and assign a maximum number of use for every char to compose a word!
Patterns eventually excluded like 'abc', 'stuv'... due to consecutiveness will be ever skipped by setting pattern's length, this also for consecutive repetition of same char like 'aaa', 'rrrr'... but I'm re-evaluating others skips like inversed consecutives that in case can skip too often probable words!
When completed, maybe I'll learned C better (a little bit) to expand functionalities, like transform words to compute some kind of hash...
Mine PS3 don't play games, but is hungry of ints!

Thursday, May 20, 2010

"Cops can't stop me!", but I need fuel!

Screenshot
Can't release anything yet, I've tested, but sometimes got wrong results!
Too busy at the moment, I'm not a real programmer, I've to spend some time working now...
I'm not surrendered, but working changes needs study.
By the way, IBM has released an upgrade to OpenCL, with big changes about device control and more, but I haven't test yet.
I've to end up with a simple host code to run the cpyrit_opencl alone and setup timing to see if any changes are good!

Friday, April 30, 2010

Mine PS3 hits 7000 PMKs/s!

Screenshot
Small changes in the code about feeding and organizing the WorkSizes, but there are other improvements we can do about; personally I have two of those, one is make use of uint4 power, the other regards the use of couples of WorkItem per WorkGroup...
I'm passed from 1200 to 7000 PMKs without changes in the kernel!
There is now a place in the performance-graph? Eh eh

Friday, March 19, 2010

pyrit: OpenCL + PS3

Less than one month to see the results, setting up gentoo with a broken xlcl compiler, than wiping all for F12, now OpenCL are running as core in pyrit, and computing.
Thanks to joker that points me in a right direction, now lukas can update again his performance graph!

Thursday, February 25, 2010

Now what?! I've got a PS3

With bruteforge 0.52 you can do any wordlist!
In a spare time will try to approaching the ppc world, to setup a gentoo system on my 60gb PS3
First milestone will be run python 2.6 and how bruteforge performs on the cell, than interfacing pyrit
I've read here about the OpenCL on cell, I'll try.