]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: Adding parallelism to check-generated.sh
authorErwan Velu <erwan@redhat.com>
Wed, 16 Mar 2016 15:54:35 +0000 (16:54 +0100)
committerErwan Velu <erwan@redhat.com>
Tue, 5 Apr 2016 07:36:25 +0000 (09:36 +0200)
commit0ac3ac71ec06f9172853e47783902ea431f7db88
tree06539cab99d5a60b0210e4c63add9ebf920a4aa4
parentd66c852b4656835ec3777cf58dc1bcd8a253f906
tests: Adding parallelism to check-generated.sh

This script had the following performance issue :
- 4 ceph-dencoders spawn sequentialy
- running twice the same dencoder command

This patch is adding parallelism around the 4 sequential calls but also
prevent from testing the deterministic feature twice.

On a recent laptop, this patch drops the running time from 7mn to 3m46
while keeping the loadavg < 2.

Signed-off-by: Erwan Velu <erwan@redhat.com>
src/test/encoding/check-generated.sh