Closed kami619 closed 4 months ago
Able to generate 1 million users in 2.37 hrs using the dataset module with the removed references from the dataset provider about hashing iterations.
{"timestamp":"2024-03-28T15:25:00.327252386Z","sequence":63032,"loggerClassName":"org.jboss.logging.Logger","loggerName":"org.keycloak.benchmark.dataset.DatasetResourceProvider","level":"INFO","message":"Created all 1000000 users in realm realm-2, Time since start of the task 'Creation of 1000000 users in the realm realm-2': 8544827 ms","threadName":"Thread-44","threadId":145,"mdc":{},"ndc":"","hostName":"keycloak-2","processName":"QuarkusEntryPoint","processId":1}
Able to confirm the hashing is matching to whats expected.
Resource utilization during the time with the -XX:MinRAMPercentage=30.000000
set:
Output of $jcmd 1 VM.flags
-XX:AdaptiveSizePolicyWeight=90 -XX:CICompilerCount=12 -XX:CompressedClassSpaceSize=218103808 -XX:+ExitOnOutOfMemoryError -XX:FlightRecorderOptions=stackdepth=512 -XX:GCTimeRatio=4 -XX:InitialHeapSize=2000683008 -XX:InitialRAMPercentage=50.000000 -XX:+ManagementServer -XX:MaxHeapFreeRatio=20 -XX:MaxHeapSize=2801795072 -XX:MaxMetaspaceSize=268435456 -XX:MaxNewSize=933756928 -XX:MaxRAM=3999997952 -XX:MaxRAMPercentage=70.000000 -XX:MetaspaceSize=100663296 -XX:MinHeapDeltaBytes=524288 -XX:MinHeapFreeRatio=10 -XX:MinHeapSize=8388608 -XX:MinRAMPercentage=30.000000 -XX:NewSize=666894336 -XX:NonNMethodCodeHeapSize=7602480 -XX:NonProfiledCodeHeapSize=122027880 -XX:OldSize=1333788672 -XX:ProfiledCodeHeapSize=122027880 -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:SoftMaxHeapSize=2801795072 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps -XX:+UseParallelGC
Fixes #744