<<  >> (p.69)
    Author Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot)  (Read 500589 times)
    pallas
    Legendary
    *
    Offline Offline

    Activity: 2716
    Merit: 1094


    Black Belt Developer


    View Profile
    February 08, 2017, 04:35:32 PM
     #1361

    This is an open question to all devs.

    What's the deal with midstate? Some hash functions alway hash some bits to the same constant value and
    don't have to be repeated each time the're called.

    I've seen it mostly on blake functions but it also works on whirlpool (I'm working on it).

    I've tried using the technique on some other algos that use blake but it hasn't worked.

    I'd like to propagate the technique to all applicable algos but don't know which ones are applicable.
    Other than dumping debug data to analyze the hash results is there an easier way to identify algos
    that could benefit?

    Usually it's not worth doing on cpu.
    It's very useful, and valid for most algos, on gpu miners, as part of the hash is precalculated on cpu, then sent to thousands of gpu threads.
    How much speedup you can get (if any), depends on how many redundant gpu instructions you can save.

Page 68
Viewing Page: 69