Re: [ceph-users] Confusion in Erasure Code benchmark app

2015-07-14 Thread Loic Dachary
Hi,

I've observed the same thing but never spent time to figure that out. It would 
be nice to know. I don't think it's a bug, just something slightly confusing.

Cheers

On 14/07/2015 14:52, Nitin Saxena wrote:
> Hi All,
> 
> I am trying to debug ceph_erasure_code_benchmark_app available in ceph repo. 
> using cauchy_good technique. I am running gdb using following command:
> 
> src/ceph_erasure_code_benchmark --plugin jerasure_neon --workload encode 
> --iterations 10 --size 1048576 --parameter k=6 --parameter m=2 --parameter 
> directory=src/.libs --parameter packetsize=3072 --parameter 
> technique=cauchy_good
> 
> My confusion here is why underlying GF(32) function galois_w32_region_xor() 
> is called even if the parameter value of w passed in 
> jerasure_schedule_encode() is 8. 
> 
> According to me since GF(8) is passed in jerasure_schedule_encode() (with 
> parameter w==8) then underlying gf function "galois_w8_region_xor()" should 
> have been called instead of GF(32) function galois_w32_region_xor
> 
> Thanks in advance
> Nitin
> 
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 

-- 
Loïc Dachary, Artisan Logiciel Libre



signature.asc
Description: OpenPGP digital signature
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Confusion in Erasure Code benchmark app

2015-07-14 Thread Nitin Saxena
Hi All,

I am trying to debug ceph_erasure_code_benchmark_app available in ceph
repo. using cauchy_good technique. I am running gdb using following command:

src/ceph_erasure_code_benchmark --plugin jerasure_neon --workload encode
--iterations 10 --size 1048576 --parameter k=6 --parameter m=2 --parameter
directory=src/.libs --parameter packetsize=3072 --parameter
technique=cauchy_good

My confusion here is why underlying GF(32) function galois_w32_region_xor()
is called even if the parameter value of w passed in
jerasure_schedule_encode() is 8.

According to me since GF(8) is passed in jerasure_schedule_encode() (with
parameter w==8) then underlying gf function "galois_w8_region_xor()" should
have been called instead of GF(32) function galois_w32_region_xor

Thanks in advance
Nitin
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com