From Kevin_Xie1 at symantec.com Thu May 3 19:00:16 2012 From: Kevin_Xie1 at symantec.com (Kevin Xie1) Date: Thu, 3 May 2012 12:00:16 -0700 Subject: Is a client robot an OS thread? Message-ID: <3E6DF46E67210942B7919419E636D0291552F6DA1B@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> Hi, Is a client robot a real OS thread? I'm using web polygrah in Linux, but I doesn't see multiple threads in the OS during a test with 500 robots. Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry.kurochkin at measurement-factory.com Thu May 3 19:18:51 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Thu, 03 May 2012 23:18:51 +0400 Subject: Is a client robot an OS thread? In-Reply-To: <3E6DF46E67210942B7919419E636D0291552F6DA1B@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> References: <3E6DF46E67210942B7919419E636D0291552F6DA1B@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> Message-ID: <87pqaloyxw.fsf@gmail.com> Hi Kevin. Kevin Xie1 writes: > Hi, > > Is a client robot a real OS thread? I'm using web polygrah in Linux, > but I doesn't see multiple threads in the OS during a test with 500 > robots. > Polygraph client and server processes are single-threaded. All Robot and Server agents are running in a single thread. Regards, Dmitry > Thanks, > Kevin > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From Kevin_Xie1 at symantec.com Thu May 3 19:31:17 2012 From: Kevin_Xie1 at symantec.com (Kevin Xie1) Date: Thu, 3 May 2012 12:31:17 -0700 Subject: Is a client robot an OS thread? In-Reply-To: <87pqaloyxw.fsf@gmail.com> References: <3E6DF46E67210942B7919419E636D0291552F6DA1B@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> <87pqaloyxw.fsf@gmail.com> Message-ID: <3E6DF46E67210942B7919419E636D0291552F6DA88@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> Thanks for your quick response, Dmitry. However, I don't understand how a single thread can simulate multiple concurrent "users" submitting request to web servers. Is it that the single thread iterates all open connections one by one (submitting a request or processing response one at a time)? This can be easily bound by CPU since just 1 core is used at a time, or by slow connections ..., do I miss something here, or my understanding is fundamentally wrong? Appreciated for any light shed! Kevin -----Original Message----- From: Dmitry Kurochkin [mailto:dmitry.kurochkin at measurement-factory.com] Sent: May-03-12 3:19 PM To: Kevin Xie1 Cc: users at web-polygraph.org Subject: Re: Is a client robot an OS thread? Hi Kevin. Kevin Xie1 writes: > Hi, > > Is a client robot a real OS thread? I'm using web polygrah in Linux, > but I doesn't see multiple threads in the OS during a test with 500 > robots. > Polygraph client and server processes are single-threaded. All Robot and Server agents are running in a single thread. Regards, Dmitry > Thanks, > Kevin > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From dmitry.kurochkin at measurement-factory.com Thu May 3 21:09:35 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Fri, 04 May 2012 01:09:35 +0400 Subject: Is a client robot an OS thread? In-Reply-To: <3E6DF46E67210942B7919419E636D0291552F6DA88@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> References: <3E6DF46E67210942B7919419E636D0291552F6DA1B@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> <87pqaloyxw.fsf@gmail.com> <3E6DF46E67210942B7919419E636D0291552F6DA88@TUS1XCHEVSPIN34.SYMC.SYMANTEC.COM> Message-ID: <87mx5pottc.fsf@gmail.com> Kevin Xie1 writes: > Thanks for your quick response, Dmitry. > > However, I don't understand how a single thread can simulate multiple > concurrent "users" submitting request to web servers. Is it that the > single thread iterates all open connections one by one (submitting a > request or processing response one at a time)? Sort of, though details are more complex than that. If you are interested, search for I/O multiplexing. > bound by CPU since just 1 core is used at a time, or by slow > connections ..., do I miss something here, or my understanding is > fundamentally wrong? > The fact that a single polygraph process can use only a single core may be a limitation indeed. But moving each simulated agent to a separate OS thread is not the solution. You can run multiple Polygraph client or server processes on a single system. But that makes it harder to manage the test and usually requires some auxiliary scripts to start all processes. It would be nice to have SMP support in Polygraph and we have some ideas about it. But so far there has not been enough interest in such project. Patches or sponsorships are welcome. In any case, please do not make conclusions about Polygraph performance from the fact that it is single-threaded. Polygraph is successfully used for high performance tests in 10Gbit networks (though it may require multiple Polygraph processes and/or systems). Regards, Dmitry > Appreciated for any light shed! > > Kevin > > -----Original Message----- > From: Dmitry Kurochkin [mailto:dmitry.kurochkin at measurement-factory.com] > Sent: May-03-12 3:19 PM > To: Kevin Xie1 > Cc: users at web-polygraph.org > Subject: Re: Is a client robot an OS thread? > > Hi Kevin. > > Kevin Xie1 writes: > >> Hi, >> >> Is a client robot a real OS thread? I'm using web polygrah in Linux, >> but I doesn't see multiple threads in the OS during a test with 500 >> robots. >> > > Polygraph client and server processes are single-threaded. All Robot > and Server agents are running in a single thread. > > Regards, > Dmitry > >> Thanks, >> Kevin >> _______________________________________________ >> Users mailing list >> Users at web-polygraph.org >> http://www.web-polygraph.org/mailman/listinfo/users From igorlogos at gmail.com Thu May 10 11:59:04 2012 From: igorlogos at gmail.com (Igor Rafael) Date: Thu, 10 May 2012 08:59:04 -0300 Subject: About Distributions Message-ID: Hello, I'm working on performance analysis of web proxy cache servers. And I wish to analyze from the P2P traffic and VOD. That is, I have to implement some distributions for the collect of results. Distributions such as Beta, Zipf-Mandelbrot and other distributions for VOD traffic, from the Pareto distribution which is already implemented in Web Polygraph. Can anyone show me how to proceed? Or even direct me to a material so i can study and do? Thanked! -- Igor Rafael da Rocha Graduando em Ci?ncia da Computa??o - UFAL - Campus Arapiraca T?cnico em Redes de Computadores - IFAL - Campus Palmeira dos ?ndios -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry.kurochkin at measurement-factory.com Thu May 10 19:26:59 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Thu, 10 May 2012 23:26:59 +0400 Subject: About Distributions In-Reply-To: References: Message-ID: <87fwb7albw.fsf@gmail.com> Hi Igor. I do not think I fully understand what you need to do. AFAIK Pareto distribution is not implemented in Web Polygraph but Zipf-like is. I would suggest you to study existing implementation of some distribution which you know (e.g. exponential) and use it as a reference to implement a new one. If you have more specific questions on implementation and Web Polygraph code I would try to help you. I remember discussing distributions in Web Polygraph with Erico. He put you in Cc in one of his emails, so I guess you know him. He might provide you some help on the topic. Regards, Dmitry From shahab371 at gmail.com Thu May 10 22:16:54 2012 From: shahab371 at gmail.com (shahab bakhtiyari) Date: Fri, 11 May 2012 00:16:54 +0200 Subject: object size Message-ID: Hi guys Yet another question for me(thank you very very much for previous responses), I am wondering if the objects' size used in webaxe-1(or generally in all ) workload(s) are realistic? or how much they are close to true size? I mean , using exp(4.5kb) with mean4.5kb and max 53kb for image objects sounds too little, is'nt that? or 300kb for downloads? am I totally wrong? thank you --Shahab -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry.kurochkin at measurement-factory.com Fri May 11 16:39:20 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Fri, 11 May 2012 20:39:20 +0400 Subject: object size In-Reply-To: References: Message-ID: <87d36aaczr.fsf@gmail.com> Hi Shahab. shahab bakhtiyari writes: > Hi guys > > Yet another question for me(thank you very very much for previous > responses), > > I am wondering if the objects' size used in webaxe-1(or generally in all ) > workload(s) are realistic? or how much they are close to true size? > > I mean , using exp(4.5kb) with mean4.5kb and max 53kb for image > objects sounds too little, is'nt that? > or 300kb for downloads? am I totally wrong? > You may be right. I do not think these sizes match average object or image on the Internet. But usually what you are interested in is simulating *your* traffic properties. The numbers in the provided workloads should be a good starting point. But for best results you should create distributions that match your needs. See [1] for details on user-defined distributions. Creating proper distributions for your tests may be difficult. You will need some existing data for it (e.g. Squid access logs). Then you analyze it with some auxiliary tools to get percentages for distributions (for Squid access logs you might use access2pgl tool from src/tools/access2poly/). Regards, Dmitry [1] http://www.web-polygraph.org/docs/reference/tabdistr.html > thank you > --Shahab > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From shahab371 at gmail.com Fri May 11 17:36:11 2012 From: shahab371 at gmail.com (shahab bakhtiyari) Date: Fri, 11 May 2012 19:36:11 +0200 Subject: object size In-Reply-To: <87d36aaczr.fsf@gmail.com> References: <87d36aaczr.fsf@gmail.com> Message-ID: Thank you Dimitry well I dont think that I'll go for making my own distribution, rather I use the existing ones. But I need a little documentation about existing ones, like zipf(64) , I have no idea how large it is? the only thing I found says : "Zipf(1): *zipf(world_size)*" . its alittle bit unclear for me, is there any documentation for that? On 11 May 2012 18:39, Dmitry Kurochkin < dmitry.kurochkin at measurement-factory.com> wrote: > Hi Shahab. > > shahab bakhtiyari writes: > > > Hi guys > > > > Yet another question for me(thank you very very much for previous > > responses), > > > > I am wondering if the objects' size used in webaxe-1(or generally in all > ) > > workload(s) are realistic? or how much they are close to true size? > > > > I mean , using exp(4.5kb) with mean4.5kb and max 53kb for image > > objects sounds too little, is'nt that? > > or 300kb for downloads? am I totally wrong? > > > > You may be right. I do not think these sizes match average object or > image on the Internet. But usually what you are interested in is > simulating *your* traffic properties. > > The numbers in the provided workloads should be a good starting point. > But for best results you should create distributions that match your > needs. See [1] for details on user-defined distributions. Creating > proper distributions for your tests may be difficult. You will need > some existing data for it (e.g. Squid access logs). Then you analyze it > with some auxiliary tools to get percentages for distributions (for > Squid access logs you might use access2pgl tool from > src/tools/access2poly/). > > Regards, > Dmitry > > [1] http://www.web-polygraph.org/docs/reference/tabdistr.html > > > thank you > > --Shahab > > _______________________________________________ > > Users mailing list > > Users at web-polygraph.org > > http://www.web-polygraph.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry.kurochkin at measurement-factory.com Fri May 11 19:27:46 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Fri, 11 May 2012 23:27:46 +0400 Subject: object size In-Reply-To: References: <87d36aaczr.fsf@gmail.com> Message-ID: <878vgya571.fsf@gmail.com> shahab bakhtiyari writes: > Thank you Dimitry > > well I dont think that I'll go for making my own distribution, rather I > use the existing ones. But I need a little documentation about existing > ones, like zipf(64) , I have no idea how large it is? the only thing > I found says : "Zipf(1): *zipf(world_size)*" . its alittle bit unclear > for me, is there any documentation for that? > A list of distributions and their parameters is available at [1]. You can find information on a particular distributions on wikipedia or other resources (e.g. Zipf's law [2]). Note that Polygraph's implementation may not match exactly the mathematical formula. You can test particular parameters for Polygraph distributions using distr-test tool (installed as polygraph-distr-test(1)), e.g. to see what values zipf(64) would produce run: $ polygraph-distr-test --distr 'zipf(64)' It would generate 100000 values (by default) and print histogram, mean, min, max values and some other information. Regards, Dmitry [1] http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/distr [2] http://en.wikipedia.org/wiki/Zipf's_law > On 11 May 2012 18:39, Dmitry Kurochkin < > dmitry.kurochkin at measurement-factory.com> wrote: > >> Hi Shahab. >> >> shahab bakhtiyari writes: >> >> > Hi guys >> > >> > Yet another question for me(thank you very very much for previous >> > responses), >> > >> > I am wondering if the objects' size used in webaxe-1(or generally in all >> ) >> > workload(s) are realistic? or how much they are close to true size? >> > >> > I mean , using exp(4.5kb) with mean4.5kb and max 53kb for image >> > objects sounds too little, is'nt that? >> > or 300kb for downloads? am I totally wrong? >> > >> >> You may be right. I do not think these sizes match average object or >> image on the Internet. But usually what you are interested in is >> simulating *your* traffic properties. >> >> The numbers in the provided workloads should be a good starting point. >> But for best results you should create distributions that match your >> needs. See [1] for details on user-defined distributions. Creating >> proper distributions for your tests may be difficult. You will need >> some existing data for it (e.g. Squid access logs). Then you analyze it >> with some auxiliary tools to get percentages for distributions (for >> Squid access logs you might use access2pgl tool from >> src/tools/access2poly/). >> >> Regards, >> Dmitry >> >> [1] http://www.web-polygraph.org/docs/reference/tabdistr.html >> >> > thank you >> > --Shahab >> > _______________________________________________ >> > Users mailing list >> > Users at web-polygraph.org >> > http://www.web-polygraph.org/mailman/listinfo/users >> From shahab371 at gmail.com Fri May 11 20:21:30 2012 From: shahab371 at gmail.com (shahab bakhtiyari) Date: Fri, 11 May 2012 22:21:30 +0200 Subject: object size In-Reply-To: <878vgya571.fsf@gmail.com> References: <87d36aaczr.fsf@gmail.com> <878vgya571.fsf@gmail.com> Message-ID: Thanks Dimitry, that was what I needed :) Regards --Shahab On 11 May 2012 21:27, Dmitry Kurochkin < dmitry.kurochkin at measurement-factory.com> wrote: > shahab bakhtiyari writes: > > > Thank you Dimitry > > > > well I dont think that I'll go for making my own distribution, rather I > > use the existing ones. But I need a little documentation about existing > > ones, like zipf(64) , I have no idea how large it is? the only > thing > > I found says : "Zipf(1): *zipf(world_size)*" . its alittle bit unclear > > for me, is there any documentation for that? > > > > A list of distributions and their parameters is available at [1]. You > can find information on a particular distributions on wikipedia or other > resources (e.g. Zipf's law [2]). Note that Polygraph's implementation > may not match exactly the mathematical formula. You can test particular > parameters for Polygraph distributions using distr-test tool (installed > as polygraph-distr-test(1)), e.g. to see what values zipf(64) would > produce run: > > $ polygraph-distr-test --distr 'zipf(64)' > > It would generate 100000 values (by default) and print histogram, mean, > min, max values and some other information. > > Regards, > Dmitry > > [1] > http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/distr > [2] http://en.wikipedia.org/wiki/Zipf's_law > > > On 11 May 2012 18:39, Dmitry Kurochkin < > > dmitry.kurochkin at measurement-factory.com> wrote: > > > >> Hi Shahab. > >> > >> shahab bakhtiyari writes: > >> > >> > Hi guys > >> > > >> > Yet another question for me(thank you very very much for previous > >> > responses), > >> > > >> > I am wondering if the objects' size used in webaxe-1(or generally in > all > >> ) > >> > workload(s) are realistic? or how much they are close to true size? > >> > > >> > I mean , using exp(4.5kb) with mean4.5kb and max 53kb for image > >> > objects sounds too little, is'nt that? > >> > or 300kb for downloads? am I totally wrong? > >> > > >> > >> You may be right. I do not think these sizes match average object or > >> image on the Internet. But usually what you are interested in is > >> simulating *your* traffic properties. > >> > >> The numbers in the provided workloads should be a good starting point. > >> But for best results you should create distributions that match your > >> needs. See [1] for details on user-defined distributions. Creating > >> proper distributions for your tests may be difficult. You will need > >> some existing data for it (e.g. Squid access logs). Then you analyze it > >> with some auxiliary tools to get percentages for distributions (for > >> Squid access logs you might use access2pgl tool from > >> src/tools/access2poly/). > >> > >> Regards, > >> Dmitry > >> > >> [1] http://www.web-polygraph.org/docs/reference/tabdistr.html > >> > >> > thank you > >> > --Shahab > >> > _______________________________________________ > >> > Users mailing list > >> > Users at web-polygraph.org > >> > http://www.web-polygraph.org/mailman/listinfo/users > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmix at hendrie.id.au Mon May 14 12:27:28 2012 From: pmix at hendrie.id.au (Michael Hendrie) Date: Mon, 14 May 2012 21:57:28 +0930 Subject: Adjust Test throughput (bandwidth) Message-ID: Hello, I'm using the standard polymix-4.pg config file and notice I get around 10:1 when looking at request:bandwidth, eg 200req/sec is around 20mbps I was hoping to increase the bandwidth while retaining the same request rate and have had some success by adjusting object sizes in the standard contents.pg file. Does anyone know if there is a better/easier way to achieve this, I notice there is "bwidth" PGL type but it is unclear to me if (and how) this can be used to set a fixed throughput. Any help (and or examples) would be greatly appreciated. Thanks Michael. From unjc.email at gmail.com Mon May 14 21:59:59 2012 From: unjc.email at gmail.com (unjc email) Date: Mon, 14 May 2012 17:59:59 -0400 Subject: Dynamic Domain Names Message-ID: Hello there, I have encountered a problem to use dynamic domain names in workload. I have followed the insturction on http://www.web-polygraph.org/docs/userman/dns.html to create the dynamic names. But I got a fatal error that the dynamic name is not found in the address maps. Would you please advise what I have misconfigured? DynamicName DN = dynamicName('*.foo.com:9090', 10%); AddrMap NN = { names = [ DN ]; addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // IP addresses of server-side hosts }; Server S = { contents = [ SimpleContent ]; direct_access = contents; addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // where to create these server agents http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default }; Robot R = { recurrence = 50%; req_rate = undef(); origins = NN.names; addresses = robotAddrs(authAddrScheme, theBench); pconn_use_lmt = const(2147483647); // Persistent connections - should tune this value idle_pconn_tout = idleConnectionTimeout; open_conn_lmt = maxConnPerRobot; // maximum concurrent connections http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default }; 000.32| registered client-side session watches: 0 000.32| registered client-side data filters: 0 000.32| fyi: PGL configuration stored (107574bytes) 000.32| found 276 Robot IP address(es) total (276 unique address(es) with interface name and netmask). 000.32| fyi: lo: deleted 0 old IP aliases 000.32| fyi: created 138 agent addresses total CltCfg.cc:284: visible server name .foo.com:9090 is not found in address maps 000.32| got 0 xactions and 0 errors 000.32| shutdown reason: fatal error Thanks From dmitry.kurochkin at measurement-factory.com Tue May 15 20:19:43 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Wed, 16 May 2012 00:19:43 +0400 Subject: Adjust Test throughput (bandwidth) In-Reply-To: References: Message-ID: <87d365b3j4.fsf@gmail.com> Hi Michael. Michael Hendrie writes: > Hello, > > I'm using the standard polymix-4.pg config file and notice I get around 10:1 when looking at request:bandwidth, eg 200req/sec is around 20mbps > > I was hoping to increase the bandwidth while retaining the same request rate and have had some success by adjusting object sizes in the standard contents.pg file. > > Does anyone know if there is a better/easier way to achieve this, I notice there is "bwidth" PGL type but it is unclear to me if (and how) this can be used to set a fixed throughput. > Basically there are two ways to increase bandwidth: * increase reply size (what you already did) * increase request rate Both increasing reply size and increasing request rate may be done in several ways. E.g. you can increase size for all content types or only for images. You may increase request rate of each Robot or you may increase the total number of Robots. In PolyMix-4.pg you can set TheBench.peak_req_rate field to a higher value to increase the number of Robots. Note that there is no "right" way to increase bandwidth, it depends on your test and goals. As for the "bwidth" PGL type, it is just a convenient type for size/time fraction. AFAIK it is not currently used. Regards, Dmitry > Any help (and or examples) would be greatly appreciated. > > Thanks > > Michael. > > > > > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From dmitry.kurochkin at measurement-factory.com Tue May 15 20:28:05 2012 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Wed, 16 May 2012 00:28:05 +0400 Subject: Dynamic Domain Names In-Reply-To: References: Message-ID: <878vgtb356.fsf@gmail.com> Hi Jacky. unjc email writes: > Hello there, > > I have encountered a problem to use dynamic domain names in workload. > I have followed the insturction on > http://www.web-polygraph.org/docs/userman/dns.html to create the > dynamic names. But I got a fatal error that the dynamic name is not > found in the address maps. Would you please advise what I have > misconfigured? > Did you use() the address map (i.e. "use(NN);")? > > > DynamicName DN = dynamicName('*.foo.com:9090', 10%); > > AddrMap NN = { > names = [ DN ]; > addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // IP > addresses of server-side hosts > }; > > Server S = { > contents = [ SimpleContent ]; > direct_access = contents; > addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // where to > create these server agents Note that you may use NN.addresses here to keep the IP list in one place. Regards, Dmitry > http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default > }; > > Robot R = { > recurrence = 50%; > req_rate = undef(); > origins = NN.names; > addresses = robotAddrs(authAddrScheme, theBench); > pconn_use_lmt = const(2147483647); // Persistent connections - > should tune this value > idle_pconn_tout = idleConnectionTimeout; > open_conn_lmt = maxConnPerRobot; // maximum concurrent connections > http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default > }; > > > > 000.32| registered client-side session watches: 0 > 000.32| registered client-side data filters: 0 > 000.32| fyi: PGL configuration stored (107574bytes) > 000.32| found 276 Robot IP address(es) total (276 unique address(es) > with interface name and netmask). > 000.32| fyi: lo: deleted 0 old IP aliases > 000.32| fyi: created 138 agent addresses total > CltCfg.cc:284: visible server name .foo.com:9090 is not found in address maps > 000.32| got 0 xactions and 0 errors > 000.32| shutdown reason: fatal error > > > Thanks > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From unjc.email at gmail.com Wed May 16 14:24:10 2012 From: unjc.email at gmail.com (unjc email) Date: Wed, 16 May 2012 10:24:10 -0400 Subject: Dynamic Domain Names In-Reply-To: <878vgtb356.fsf@gmail.com> References: <878vgtb356.fsf@gmail.com> Message-ID: Thanks Dmitry. You pointed out the silly mistake I made - I did not put use(NN). Thanks, Jacky On Tue, May 15, 2012 at 4:28 PM, Dmitry Kurochkin wrote: > Hi Jacky. > > unjc email writes: > >> Hello there, >> >> I have encountered a problem to use dynamic domain names in workload. >> I have followed the insturction on >> http://www.web-polygraph.org/docs/userman/dns.html to create the >> dynamic names. ?But I got a fatal error that the dynamic name is not >> found in the address maps. ?Would you please advise what I have >> misconfigured? >> > > Did you use() the address map (i.e. "use(NN);")? > >> >> >> DynamicName DN = dynamicName('*.foo.com:9090', 10%); >> >> AddrMap NN = { >> ? ? ?names = [ DN ]; >> ? ? ?addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // IP >> addresses of server-side hosts >> }; >> >> Server S = { >> ? ? contents = [ SimpleContent ]; >> ? ? direct_access = contents; >> ? ? addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; ? // where to >> create these server agents > > Note that you may use NN.addresses here to keep the IP list in one > place. > > Regards, > ?Dmitry > >> ? ? http_versions = [ "1.0" ]; ?// newer agents use HTTP/1.1 by default >> }; >> >> Robot R = { >> ? ? recurrence = 50%; >> ? ? req_rate = undef(); >> ? ? origins = NN.names; >> ? ? addresses = robotAddrs(authAddrScheme, theBench); >> ? ? pconn_use_lmt = const(2147483647); // Persistent connections - >> should tune this value >> ? ? idle_pconn_tout = idleConnectionTimeout; >> ? ? open_conn_lmt = maxConnPerRobot; // maximum concurrent connections >> ? ? http_versions = [ "1.0" ]; ?// newer agents use HTTP/1.1 by default >> }; >> >> >> >> 000.32| registered client-side session watches: 0 >> 000.32| registered client-side data filters: 0 >> 000.32| fyi: PGL configuration stored (107574bytes) >> 000.32| found 276 Robot IP address(es) total (276 unique address(es) >> with interface name and netmask). >> 000.32| fyi: lo: deleted 0 old IP aliases >> 000.32| fyi: created 138 agent addresses total >> CltCfg.cc:284: visible server name .foo.com:9090 is not found in address maps >> 000.32| got 0 xactions and 0 errors >> 000.32| shutdown reason: fatal error >> >> >> Thanks >> _______________________________________________ >> Users mailing list >> Users at web-polygraph.org >> http://www.web-polygraph.org/mailman/listinfo/users