Re: Need to simulate 1000 - 5000 clients using polygraph 2.5.4 using Solaris
Alex Rousskov <[email protected]>
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <Pine.BSF.4.10.10011271103180.80493-100000@measurement-factory.com> |
On Mon, 27 Nov 2000, Monte Turner wrote: > We are using polygraph 2.5.4 and running Solaris 2.7. We need > to simulate 1000 clients and are having trouble figuring it > out. We have polygraph running fine with one client and one server, > but need to simulate more. How do we do this? You have several options. The recommended way is to create IP aliases for each simulated Robot. See PolyMix-3 instructions, for example: http://www.measurement-factory.com/docs/PolyMix-3/ Last time I checked, the aka tool for creating aliases was working on Solaris. I no longer have access to a Solaris box, so I cannot double check for you. A possible alternative is to "clone" robots. See http://polygraph.ircache.net/cgi-bin/mail2html.cgi?fnames=20000601/707 http://polygraph.ircache.net/cgi-bin/mail2html.cgi?fnames=19991101/388 http://www.measurement-factory.com/docs/FAQ/FAQ-3.html#ss3.4 for more info. Adding robots without adding more hosts increases CPU and RAM requirements for a host. Be careful not to create a bottleneck by using too many robots on s single host. With PolyMix-2,3, we use 1000 robots per host. Using 5000 robots with default request rates will require Gigabit NICs and powerful CPU/RAM configuration. For servers, you can use IP aliases or different ports. The former is recommended. For the latter, Polygraph 2.6 will support port ranges; with 2.5 you have to list all IP addresses in your PGL file, varying the port number. You cannot clone servers without adjusting the addresses because a server needs a unique address to listen on. HTH, Alex. P.S. Stock Solaris configuration may not be able to support many robots efficiently. See what we have to do to tune FreeBSD and try to mimic those changes on Solaris: http://polygraph.ircache.net/Tips/ IIRC, mailing list archive has some Solaris-specific tips.