Part 2: W11-1 System Testing Performance Flashcards
What is the objective of system testing?
Verifying the implementation conforms to quality requirements on system level
What sort of environment is System Testing performed on?
Emulated environment (similar to production)
List 5 common performance problems.
- Poor response time
- Long load time
- Bottlenecking
- Poor scalability
- Disk usage
- Operation system limitations
- Poor network configuration
- Memory utilization
- CPU utilization
- Insufficient hardware resources
- Software configuration issues
List 5 common parameters that are monitored.
- Processor usage
- Memory usage
- Disk time
- Bandwidth
- Disk queue length
- Network output queue length
- Response time
- Throughput
- Amount of connection pooling
- Maximum active sessions
- Garbage collection
- Committed memory
- Memory pages/second
- Page faults/second
- CPU interrupts/second
- Network bytes total/second
- Hit ratios
- Hits per second
- Rollback segment
- Database locks
- Top waits
- Thread counts
What does processor usage measure?
Time processor spends executing non-idle threads
What does disk time measure?
Amount of time disk is reading or writing.
What does page faults/second measure?
of times a process requires code outside working set
What is a hit ratio?
of SQL statements handled by cache
What are the types of performance testing?
- Load testing
- Stress testing
- Scalability testing
What is the difference between load testing and stress testing?
Load testing measures operation under full load
Stress testing measure operation under EXTREME load
What are the approaches to Performance testing?
- Benchmarking - measuring absolute performance of application
- Profiling - measures relative system stats
What are ways to implement profiling performance testing?
- Insertion - placing profiling code in program directly
2. Sampling - monitoring component, saving snapshot of CPU