<div dir="ltr">I&#39;m just adding basic users though. Are you adding more attributes, credentials and role mappings at the same time?<div><br></div><div>Also, are you running clustered or just standalone?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 June 2016 at 06:19, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;ve ran with a standard 2.0.0.CR1 server and only changes are adding &quot;&lt;eviction max-entries=&quot;10000&quot; strategy=&quot;LRU&quot;/&gt;&quot; to realmVersions cache.<br><div><br></div><div>I&#39;ve now created 10 million users over night and still have steady throughput of 200 user/sec and memory around 150. What db are you using? I&#39;m just using default H2 db at the moment,</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 29 June 2016 at 17:51, Chris Hairfield <span dir="ltr">&lt;<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><i>My replies started bouncing; guess I sent too many pictures ;)</i><div><br></div><div><div>I&#39;d be perfectly happy with that throughput. What other parameters did you run it under?</div><div><br></div><div>JAVA_OPTS: &quot;-server -Xms1g -Xmx4g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -XX:+UseParallelGC -XX:ParallelGCThreads=4&quot;</div><div><br></div><div>Run command: bin/standalone.sh -c standalone.xml</div><div><br></div><div>My standalone.xml:</div><div>            &lt;cache-container name=&quot;keycloak&quot; jndi-name=&quot;infinispan/Keycloak&quot;&gt;</div><div>                &lt;local-cache name=&quot;realms&quot;/&gt;</div><div>                &lt;local-cache name=&quot;users&quot;&gt;</div><div>                    &lt;eviction max-entries=&quot;10000&quot; strategy=&quot;LRU&quot;/&gt;</div><div>                &lt;/local-cache&gt;</div><div>                &lt;local-cache name=&quot;sessions&quot;/&gt;</div><div>                &lt;local-cache name=&quot;offlineSessions&quot;/&gt;</div><div>                &lt;local-cache name=&quot;loginFailures&quot;/&gt;</div><div>                &lt;local-cache name=&quot;work&quot;/&gt;</div><div>                &lt;local-cache name=&quot;realmVersions&quot;&gt;</div><div>                    &lt;transaction mode=&quot;BATCH&quot; locking=&quot;PESSIMISTIC&quot;/&gt;</div><div>                    &lt;eviction max-entries=&quot;10000&quot; strategy=&quot;LRU&quot;/&gt;</div><div>                &lt;/local-cache&gt;</div><div>            &lt;/cache-container&gt;</div><div><br></div><div>You can see memory starting to thrash at a higher rate (up to 1.4 GB). I only created 22k users in this test.</div></div></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>