Re: Running multiple agents simultaneously in grinder
Gary Mulder <[email protected]>
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKy9zTBgjfLqbKYkybhxCQ5j9R-UiJ7bFKLce9ZQYyE3QxSt0g@mail.gmail.com> |
I've found that Grinder tends to scale well to about 100 threads per core, at least on Linux. It does however depend on how complex your test scripts are. I haven't had any performance issues running over 1000 concurrent threads on a 12 core load injector. There is also the option to use processes as well as threads within grinder.properties. Scaling threads and then processes will almost always be better than running multiple agents on the same server. The only caveat here is that more threads means more temporary objects created, which means more Java garbage collection. See the following doc on how to monitor and tune GC: http://grinder.sourceforge.net/g3/garbage-collection.html Unless you start binding JVMs to sockets to reduce NUMA latency I'd only run one Agent per server. Regards, Gary On 1 November 2013 11:02, [email protected] <[email protected]> wrote: > Yes.. That would be an ideal case, but even though JVM does not limit the > amount of memory/cores/CPU to be used, the OS will. I wanted to cheat the > OS > into assuming that each JVM is a different program altogether. Please > correct me if my memory fundamentals are wrong.!! > > And, also, please tell me if running 10000 threads on 100 Agents is > equivalent to running 10000 threads on 1 agent (with respect to time)..??? > I > am really confused about this memory issues. > > > > -- > View this message in context: > http://grinder.996249.n3.nabble.com/Running-multiple-agents-simultaneously-in-grinder-tp8667p8673.html > Sent from the Grinder - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use