Long Term Load Generator Using Fixed Thread Pool

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional load generators are unable to reliably generate multi-threaded loads for extended periods, such as days or weeks, due to limited resources like memory, and lack the capability to maintain a specified number of concurrent threads over a defined time duration during performance testing.

Innovation Solution

A long-term load generator system that utilizes a thread pool of a fixed size to execute a specified number of concurrent processing threads for a specified time duration, allowing for reliable multi-threaded load generation by managing resources and maintaining thread counts throughout the testing period.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional load generators use multi-threading to generate load, then the load generation capability is improved, but the system cannot maintain reliable operation for extended periods due to limited memory resources

Engineering Contradiction:
Improveload generation capabilityVSAvoidlong-term operation reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system segments the thread management into a fixed-size thread pool that is pre-configured and reused throughout the test duration. Instead of creating and destroying threads continuously, the same pool of threads is segmented and allocated to different test iterations, reducing memory allocation overhead and improving long-term reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The thread pool is pre-configured with a fixed size before the performance test begins. This preliminary action of allocating and initializing the thread pool once eliminates the need for repeated memory allocations during the test, enabling reliable operation over extended periods while maintaining high load generation capability.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If conventional load generators execute a specified number of iterations per thread, then the test coverage is improved, but the system cannot maintain a specified number of concurrent threads over a defined time duration

Engineering Contradiction:
Improvenumber of iterationsVSAvoidtest duration
Core Design Contradiction:
Quantity of substanceVSDuration of action of moving object

Solution Approach 1:

The fixed-size thread pool serves multiple functions: it executes different iterations, maintains concurrent threads throughout the test duration, and can be reused across multiple test cycles. This universal thread pool design allows the system to maintain a specified number of concurrent threads over extended time durations while executing the required number of iterations.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The thread pool maintains continuous operation throughout the entire test duration without interruption. Threads are continuously allocated and executed from the pool, ensuring that the specified number of concurrent threads is maintained over the defined time duration, enabling long-term performance testing.

Inventive Principle:
Principle #20Continuity of useful action

3Adaptability or versatility

If conventional load generators are configured with pluggable timers for load statistics, then the measurement flexibility is improved, but the system lacks the capability to receive and process overall time duration input for performance tests

Engineering Contradiction:
Improvetimer configuration flexibilityVSAvoidtime duration specification
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system automatically manages the thread pool lifecycle and test execution based on the specified time duration input. The load generator self-configures the test parameters and manages the thread pool without requiring manual intervention, making it easy to specify the overall time duration while maintaining the flexibility of pluggable timers for detailed statistics collection.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9152528B2Long term load generator
Publication Date: 2015.10.06 RED HAT INC
  • US9152528B2 patent drawing
  • US9152528B2 patent drawing
  • US9152528B2 patent drawing

AI summary

A method and system for long-term load generation is described.