From cdeedf52ff5d545fa4d7a1061224e075a3aad1a1 Mon Sep 17 00:00:00 2001 From: Pramod Raghavendra Jayathirth Date: Wed, 3 Oct 2018 11:03:02 -0700 Subject: Adding multithreading support to the application change "thread_count" variable in the CaSignMultThread.java file to control the number of threads created Change-Id: I2296c01d476a7cf18e7fa221d5dd74044cd87293 Issue-ID: AAF-471 Signed-off-by: Pramod Raghavendra Jayathirth --- bin/caservicecontainer/README | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'bin/caservicecontainer/README') diff --git a/bin/caservicecontainer/README b/bin/caservicecontainer/README index 930d510..0d874c7 100755 --- a/bin/caservicecontainer/README +++ b/bin/caservicecontainer/README @@ -5,19 +5,29 @@ ### Build docker image with a base image ```` -$ docker build -t -f dockerfile . +$ docker build -t -f dockerfile . ```` ### Running the CA service container - Below command will run and log you into the container ```` -$ docker run -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name -i -t --entrypoint=/bin/bash +$ docker run -d -e DATA_FOLDER= -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name -i -t --entrypoint=/bin/bash +```` + +### Login to the container +```` +$ docker exec -it /bin/bash ```` ### Running the Import utility ```` $ import.sh ```` + +### Running the Import utility with stress test with multithreading +```` +$ ./testca/test/multithreadimport.sh +```` #### Make sure the TABRMD container is running on the same dbus mountpoint on the host as the CA service container ### Expected Input files for SoftHSM operations -- cgit 1.2.3-korg