clean performance test results
play

clean performance test results By Vivek Venkatachalam - PowerPoint PPT Presentation

PerfCells: A case study in achieving clean performance test results By Vivek Venkatachalam ________________________________________________________________________________________________________________ Copies may not be made or distributed


  1. PerfCells: A case study in achieving clean performance test results By Vivek Venkatachalam ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 1

  2. Performance is key for quality. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 2

  3. Inconsistent results makes it hard to do performance testing well. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 3

  4. The real problems are hard to find ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 4

  5. What if you could eliminate the haystack ? ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 5

  6. First, an overview of our performance engineering system - Planning - Instrumentation - Testing - Analysis ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 6

  7. Planning - Key customer scenarios ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 7

  8. Planning - Metrics ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 8

  9. Instrumentation – Inserting code markers ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 9

  10. Testing - Manual ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 10

  11. Testing - Automation ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 11

  12. Analysis – Processing the results ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 12

  13. The problem: Lots of noise in the system. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 13

  14. Unexplainable variations in results led to wasted time and effort ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 14

  15. Needed a quick fix ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 15

  16. Decided to focus only on large anomalies ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 16

  17. The long term solution ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 17

  18. Brainstorming ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 18

  19. Realization : We had conflicting goals Prevent Verify that regressions real world however performance small. goals were being met. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 19

  20. The solution: Perf cells ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 20

  21. Key point: one machine ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 21

  22. Advantages - Isolated ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 22

  23. Advantages - Reliable behavior ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 23

  24. Advantages - Easy management ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 24

  25. Advantages - Scale Out ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 25

  26. Our results ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 26

  27. Histogram of elapsed times from tests on pre-production topology ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 27

  28. Histogram of elapsed times from tests on a PerfCell ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 28

  29. Key Takeaways • Steady losses add up. • PerfCells increased test sensitivity. • Allowed us to accept variability in real world testing. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 29

  30. Some possible improvements • Test builds simultaneously • Partition tests • PerfCells in the cloud ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 30

  31. Credits My co-authors Marcelo and Shirley. Our reviewers Bob and Mano Microsoft Clip Art for the images. ________________________________________________________________________________________________________________ Copies may not be made or distributed for commercial use Excerpt from PNSQC 2011 PNSQC.ORG 31

Recommend


More recommend