From lamisri at gmail.com Sat Dec 22 03:17:00 2018 From: lamisri at gmail.com (Srivattsan s) Date: Fri, 21 Dec 2018 22:17:00 -0500 Subject: Polymix-4 run starts from the fail point of the previous run Message-ID: Hi, I am using Web-polygraph 4.13 - polymix-4 test to benchmark my caching system. I use SSH to login to the remote test-bench. On one such runs, the SSH terminal was force closed by the OS and since then whenever I run the polymix-4 test, the polygraph server always starts from the previous fail point. [image: image.png] [image: image.png] The platDuration is set at 2 hours with a fill rate of 100%. The polygraph server and the polygraph clients run on a 16GB, 8 core machine running Ubuntu 18.04. I rebooted the machine couple of times but it didn't help. Then I noticed that the current state is being stored, but I am not sure if web-polygraph restores from the stored state in case of a failed previous run. Can someone help me with this issue? Thanks in advance! Regards, Srivattsan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 52048 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 51762 bytes Desc: not available URL: From rousskov at measurement-factory.com Sun Dec 23 19:03:45 2018 From: rousskov at measurement-factory.com (Alex Rousskov) Date: Sun, 23 Dec 2018 12:03:45 -0700 Subject: Polymix-4 run starts from the fail point of the previous run In-Reply-To: References: Message-ID: <9d730d46-d122-2c42-3da8-fa3a5f6f670f@measurement-factory.com> On 12/21/18 8:17 PM, Srivattsan s wrote: > I am using Web-polygraph 4.13 - polymix-4 test to benchmark my caching > system. I use SSH to login to the remote test-bench. These two suggestions are not directly related to your question below, but they might make your testing experience nicer: * If you are using ssh to manually start tests, I recommend using screen(1) or a similar tool to preserve your remote sessions between logins (and when you lose connectivity to the remote box). * Ideally, you should reboot the machines before each test and start the tests without manually logging in. Ssh supports all that, but some scripting is required to make it work smoothly. > I noticed that the current state is being stored, but I am not sure if > web-polygraph restores from the stored state in case of a failed > previous run. Can someone help me with this issue? Thanks in?advance! Web Polygraph loads saved state only if it is explicitly told to load that state (via command line options). Polygraph does not know what happened (or did not happen) during previous tests(s) -- it simply follows your instructions to load the specified state and "continue" the test. Since tests, especially long ones, often fail for reasons outside your control, and Polygraph itself does not really know what you consider a usable state as far as test resumption is concerned, Polygraph does not automatically invalidate saved state when encountering test errors. If you do not want Polygraph to continue a test (for any reason), then start a new test without loading the old state instead of telling Polygraph to continue the test. HTH, Alex.