From conlon at yassl.com Fri Jul 1 18:12:46 2011 From: conlon at yassl.com (Chris Conlon) Date: Fri, 1 Jul 2011 12:12:46 -0600 Subject: Example of SSL workload In-Reply-To: <877h83uf9j.fsf@gmail.com> References: <877h83uf9j.fsf@gmail.com> Message-ID: <88D3993F-B0F3-4F61-9D36-08688CD4FC31@yassl.com> Hi Dmitry, On Jun 30, 2011, at 4:27 PM, Dmitry Kurochkin wrote: > Hi Chris. > > On Thu, 30 Jun 2011 16:08:49 -0600, Chris Conlon wrote: >> Hi, >> >> Does anyone have an example of a workload that generates HTTPS traffic? >> > > Attached is a simple SSL workload. You will need set the SSL > configuration file in the workload. Web Polygraph SSL-related > documentation and a sample SSL configuration file are available at [1] > and [2]. Thanks, that helped understand a how things should be used. I got it to work just between the client and server, but when I stick a squid proxy in between, I get an "access forbidden to an anonymous robot" error. I'm guessing there's some way I have to specify a client certificate for the robots. Regards, Chris > > Regards, > Dmitry > > [1] http://www.web-polygraph.org/docs/reference/models/ssl.html > [2] http://www.web-polygraph.org/docs/reference/models/myssl.conf > >> Thanks, >> Chris >> _______________________________________________ >> Users mailing list >> Users at web-polygraph.org >> http://www.web-polygraph.org/mailman/listinfo/users > From dmitry.kurochkin at measurement-factory.com Fri Jul 1 18:24:40 2011 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Fri, 01 Jul 2011 22:24:40 +0400 Subject: Example of SSL workload In-Reply-To: <88D3993F-B0F3-4F61-9D36-08688CD4FC31@yassl.com> References: <877h83uf9j.fsf@gmail.com> <88D3993F-B0F3-4F61-9D36-08688CD4FC31@yassl.com> Message-ID: <87wrg1uadz.fsf@gmail.com> Hi Chris. On Fri, 1 Jul 2011 12:12:46 -0600, Chris Conlon wrote: > Hi Dmitry, > > On Jun 30, 2011, at 4:27 PM, Dmitry Kurochkin wrote: > > > Hi Chris. > > > > On Thu, 30 Jun 2011 16:08:49 -0600, Chris Conlon wrote: > >> Hi, > >> > >> Does anyone have an example of a workload that generates HTTPS traffic? > >> > > > > Attached is a simple SSL workload. You will need set the SSL > > configuration file in the workload. Web Polygraph SSL-related > > documentation and a sample SSL configuration file are available at [1] > > and [2]. > > Thanks, that helped understand a how things should be used. I got it > to work just between the client and server, but when I stick a squid > proxy in between, I get an "access forbidden to an anonymous robot" > error. I'm guessing there's some way I have to specify a client > certificate for the robots. > You should either configure the proxy to allow unauthenticated access or set valid credentials for Web Polygraph Robots. Web Polygraph authentication is documented at [1]. Regards, Dmitry [1] http://www.web-polygraph.org/docs/userman/auth.html > Regards, > Chris > > > > > Regards, > > Dmitry > > > > [1] http://www.web-polygraph.org/docs/reference/models/ssl.html > > [2] http://www.web-polygraph.org/docs/reference/models/myssl.conf > > > >> Thanks, > >> Chris > >> _______________________________________________ > >> Users mailing list > >> Users at web-polygraph.org > >> http://www.web-polygraph.org/mailman/listinfo/users > > > From eacg at cin.ufpe.br Wed Jul 13 20:52:40 2011 From: eacg at cin.ufpe.br (Erico Augusto Cavalcanti Guedes) Date: Wed, 13 Jul 2011 17:52:40 -0300 Subject: How to measure hit ratio Message-ID: Dears, is there a way to measure the hit ratio of a cache experiment using polygraph tools, resources... I'm loading a cache cluster of 4 nodes, and find a way to process squid access.log files together to establish isn't a trivial task. Lab is composed of 6 machines: One to execute polygraph-server, another to polygraph-client and 4 on cache cluster. If there is a way to gather hit ratio on polygraph-client machine, I'll spend less time and, who knows, watch Brazilian soccer team tonight! It's missing 4 hours to match start! I'm looking for the solution in Google, Search PG docs and with you... Best regards, Erico. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmitry.kurochkin at measurement-factory.com Wed Jul 13 21:27:43 2011 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Thu, 14 Jul 2011 01:27:43 +0400 Subject: How to measure hit ratio In-Reply-To: References: Message-ID: <87ipr5yipc.fsf@gmail.com> Hi Erico. On Wed, 13 Jul 2011 17:52:40 -0300, Erico Augusto Cavalcanti Guedes wrote: > Dears, > > is there a way to measure the hit ratio of a cache experiment using > polygraph tools, resources... Sure. > I'm loading a cache cluster of 4 nodes, and find a way to process squid > access.log files together to establish isn't a trivial task. > > Lab is composed of 6 machines: One to execute polygraph-server, another to > polygraph-client and 4 on cache cluster. If there is a way to gather hit > ratio on polygraph-client machine, I'll spend less time and, who knows, > watch Brazilian soccer team tonight! It's missing 4 hours to match start! > I'm looking for the solution in Google, Search PG docs and with you... > You should start with reading [1] and [2]. That should give you information on how to run basic tests. Hit ratio is reported on client console during the test, see [3] for console output format. A more detailed information can be obtained from Polygraph logs (--log option for polygraph-client(1) and polygraph-server(1)). The simplest way to do that is using polygraph-reporter(1) tool, documented at [4]. Just run the reporter on both client and server logs, open index.html page in the generated report, and click "Hit ratios" link. While 4 hours should be enough to run some basic tests, I am afraid it would take much more time to create and run a complex workload. Note that to test multiple proxies you need to set them through PGL Robot.*proxies fields, --proxy command line option accepts only a single proxy address. Moreover proxy selection is sticky, which means that each Robot selects a proxy on startup and uses it during the entire test. That means you need to use multiple Robots to test several proxies. See [5] for more information on PGL Robot.*proxies fields. I hope this would help and keep you busy till the soccer match :) Regards, Dmitry [1] http://www.web-polygraph.org/test/docs/userman/start.html [2] http://www.web-polygraph.org/test/docs/userman/simple.html [3] http://www.web-polygraph.org/test/docs/reference/output/console.html [4] http://www.web-polygraph.org/test/docs/userman/reporting.html [5] http://www.web-polygraph.org/test/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Robot > Best regards, > > Erico. > _______________________________________________ > Users mailing list > Users at web-polygraph.org > http://www.web-polygraph.org/mailman/listinfo/users From aragavan at cisco.com Wed Jul 20 13:58:18 2011 From: aragavan at cisco.com (Ragavan Ambighananthan) Date: Wed, 20 Jul 2011 14:58:18 +0100 Subject: trace replay feature and cookies In-Reply-To: <87ipr5yipc.fsf@gmail.com> References: <87ipr5yipc.fsf@gmail.com> Message-ID: <1311170298.26682.4.camel@ragavan-linux-desktop> Hi I am using the trace replay functionality of web polygraph and I am using urls from our production access logs. However, at some point WP client aborts with the following emssage. 025.69| fyi: changing populus factor level from 9.17% to 9.26% 025.69| script output: small sample mean response time is 148msec httpHdrs.cc:433: (s0) Success Client.cc:1009: assertion failed: '!info.cookies' Aborted Is this anything related to cookies and how to stop this from happening ? I have attached the work load I was using. Any help would be appreciated. Regds Ragavan -------------- next part -------------- A non-text attachment was scrubbed... Name: web-polygraph-srv-clt.pg Type: text/x-csrc Size: 2004 bytes Desc: not available URL: From dmitry.kurochkin at measurement-factory.com Wed Jul 20 14:20:57 2011 From: dmitry.kurochkin at measurement-factory.com (Dmitry Kurochkin) Date: Wed, 20 Jul 2011 18:20:57 +0400 Subject: trace replay feature and cookies In-Reply-To: <1311170298.26682.4.camel@ragavan-linux-desktop> References: <87ipr5yipc.fsf@gmail.com> <1311170298.26682.4.camel@ragavan-linux-desktop> Message-ID: <87aac9uj7a.fsf@gmail.com> Hi Ragavan. On Wed, 20 Jul 2011 14:58:18 +0100, Ragavan Ambighananthan wrote: > Hi > I am using the trace replay functionality of web polygraph and I am > using urls from our production access logs. > > However, at some point WP client aborts with the following emssage. > > 025.69| fyi: changing populus factor level from 9.17% to 9.26% > 025.69| script output: small sample mean response time is 148msec > httpHdrs.cc:433: (s0) Success > > Client.cc:1009: assertion failed: '!info.cookies' > Aborted > > Is this anything related to cookies and how to stop this from > happening ? > This is definitely a bug. I opened bug #813532 [1] for this problem. Do I understand it correctly that Polygraph clients talk to foreign servers (i.e. real web servers on the internet)? If that is the case, the bug may be that some replies have cookies and Polygraph client does not expect it. But this is just a guess. Unfortunately, I can not provide you a workaround until I investigate the issue further. Can you please add Web Polygraph version information to the bug report? Other additional info may be useful as well. Regards, Dmitry [1] https://bugs.launchpad.net/polygraph/+bug/813532 > I have attached the work load I was using. Any help would be > appreciated. > > Regds > Ragavan From aragavan at cisco.com Wed Jul 20 14:36:55 2011 From: aragavan at cisco.com (Ragavan Ambighananthan) Date: Wed, 20 Jul 2011 15:36:55 +0100 Subject: trace replay feature and cookies In-Reply-To: <87aac9uj7a.fsf@gmail.com> References: <87ipr5yipc.fsf@gmail.com> <1311170298.26682.4.camel@ragavan-linux-desktop> <87aac9uj7a.fsf@gmail.com> Message-ID: <1311172615.26682.12.camel@ragavan-linux-desktop> Thanks for yor response Dmitry. The polygraph version is 4.4.0. Well, even though I am using real urls, I have a config line (cache_peer 10.10.1.80 parent 9090 0 no-query originserver) in our squid proxy which will fetch contents from WP server instead of live sites. Regds Ragavan -----Original Message----- From: Dmitry Kurochkin To: aragavan at cisco.com Cc: users at web-polygraph.org Subject: Re: trace replay feature and cookies Date: Wed, 20 Jul 2011 18:20:57 +0400 Hi Ragavan. On Wed, 20 Jul 2011 14:58:18 +0100, Ragavan Ambighananthan wrote: > Hi > I am using the trace replay functionality of web polygraph and I am > using urls from our production access logs. > > However, at some point WP client aborts with the following emssage. > > 025.69| fyi: changing populus factor level from 9.17% to 9.26% > 025.69| script output: small sample mean response time is 148msec > httpHdrs.cc:433: (s0) Success > > Client.cc:1009: assertion failed: '!info.cookies' > Aborted > > Is this anything related to cookies and how to stop this from > happening ? > This is definitely a bug. I opened bug #813532 [1] for this problem. Do I understand it correctly that Polygraph clients talk to foreign servers (i.e. real web servers on the internet)? If that is the case, the bug may be that some replies have cookies and Polygraph client does not expect it. But this is just a guess. Unfortunately, I can not provide you a workaround until I investigate the issue further. Can you please add Web Polygraph version information to the bug report? Other additional info may be useful as well. Regards, Dmitry [1] https://bugs.launchpad.net/polygraph/+bug/813532 > I have attached the work load I was using. Any help would be > appreciated. > > Regds > Ragavan -------------- next part -------------- An HTML attachment was scrubbed... URL: