[DRBD-user] Ussing on-line verification

Eduardo Diaz - Gmail ediazrod at gmail.com
Wed Dec 7 11:00:07 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Thanks, I are using crc32c

But fells rare because I have two machines one has:

Intel(R) Core(TM)2 CPU          6320  @ 1.86GHz

The other machine has:

 Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz

It is funny but when you launch the verification whatever machine the
drbdworker use the same CPU :-) 32%.


On Tue, Dec 6, 2011 at 2:10 PM, Florian Haas <florian at hastexo.com> wrote:
> On Tue, Dec 6, 2011 at 1:51 PM, Eduardo Diaz - Gmail <ediazrod at gmail.com> wrote:
>> Hi to all.
>>
>> I use on-line verification for my drbd instalation but I try find some
>> documentation about "message digest algorithm supported by the kernel
>> crypto API".
>
> "cat /proc/crypto" will produce a list; you can use any of the
> algorithms marked "type: shash".
>
>> First I try to find what algorithm is less CPU use..
>>
>> I dont find any information only here.
>>
>> http://en.wikipedia.org/wiki/Cryptographic_hash_function
>>
>> What is the algorithm that use less CPU?
>
> crc32c is just a cheap checksum, not a full-blown crypto hash, but you
> can use it for DRBD verification purposes.
>
>> What is the algorithm  that has less probability to have a Collision ?
>
> Feel free to peruse the literature (or google) on that one. For
> collision probabilities in SHA-1, for example, this is a rather
> amusing appraisal:
>
> http://theblogthatnoonereads.davegrijalva.com/2009/09/25/sha-1-collision-probability/
>
> Hope this helps.
>
> Cheers,
> Florian
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list