Skip to content

Instantly share code, notes, and snippets.

@wstrange wstrange/benchmark-testing
Last active Mar 13, 2017

Embed
What would you like to do?
bin/searchrate -p 389 -h userstore-0.userstore -D "cn=directory manager" -w password \
-F -c 10 -t 10 --baseDn "dc=openam,dc=forgerock,dc=org" \
-g "rand(0,1000)" "(uid=user.%d)"
bin/modrate -p 389 -D "cn=directory manager" -h userstore-0.userstore -w password \
-F -c 20 -t 10 -b "uid=user.%d,ou=People,dc=openam,dc=forgerock,dc=org" \
-g "rand(0,9000)" -g "randstr(16)" 'description:%2$s'
# uid=user.0,ou=People,dc=openam,dc=forgerock,dc=org
bin/authrate
bin/authrate -p 389 -D "uid=user.%d,ou=people,dc=openam,dc=forgerock,dc=org" \
-w password -f -c 10 -g "rand(0,9000)"
# Mac - default JVM
bin/searchrate -p 1389 -D "cn=directory manager" -w password \
-F -c 10 -t 10 --baseDn "dc=openam,dc=forgerock,dc=org" \
-g "rand(0,1000)" "(uid=user.%d)"
bin/modrate -p 1389 -D "cn=directory manager" -w password \
-F -c 10 -t 10 -b "uid=user.%d,ou=People,dc=openam,dc=forgerock,dc=org" \
-g "rand(0,1000)" -g "randstr(16)" 'description:%2$s'
export OPENDJ_JAVA_ARGS="-Xmx5g -Xms5g -server -XX:+UseG1GC"
dsconfig set-backend-prop \
--backend-name userRoot \
--set db-txn-no-sync:true \
--set db-txn-write-no-sync:false \
--no-prompt
addL:
-h, -p -D , -w
dsconfgi --set je-property:<property-key/value>
com.sleepycat.je.EnvironmentConfig.
bin/addrate -h localhost -p 389 -D "cn=directory manager" -w password --noRebind --resourcePath ./MakeLDIF --noPurge --deleteMode off -c 10 -t 1 ./MakeLDIF/ctstemplate.txt
bin/addrate -h localhost -p 389 -D "cn=directory manager" -w password --noRebind --resourcePath ./MakeLDIF --noPurge --deleteMode off -c 10 -t 5 ./MakeLDIF/ctstemplate.txt
bin/dsconfig --trustAll -w password -h localhost --bindDN "cn=Directory Manager" set-backend-prop \
--backend-name userRoot \
--set db-txn-no-sync:false \
--set db-txn-write-no-sync:true \
--no-prompt
ldapsearch -b "cn=Work Queue,cn=monitor" -D "cn=directory manager" -w password objectclass=*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.