]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: Adding parallelism for sequential ceph-dencoder calls
authorErwan Velu <erwan@redhat.com>
Wed, 16 Mar 2016 13:24:04 +0000 (14:24 +0100)
committerErwan Velu <erwan@redhat.com>
Tue, 5 Apr 2016 07:36:25 +0000 (09:36 +0200)
commitd66c852b4656835ec3777cf58dc1bcd8a253f906
tree9b039a7134b2770bd7d0ce66ca8df20dec083695
parent8b6be11a3605f1a0e44a3302ca2ab43830d2e774
tests: Adding parallelism for sequential ceph-dencoder calls

The current code was running sequentially two ceph-dencoder calls.
This process is executed pretty fast but adding sequentiality and by the number
of loops to execute, it have a cost.

This patch is just making this two calls being run in parallel.

As a result, the test/encoding/readable.sh test is running in 4m50 instead of 6.
The associate loadavg isn't impacted as it stays at 6 while being run with
nproc=8.

This patch save 1/6th of building time without impact the loadavg.

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