[LU-2264] Create scripts that create "noise" for testing on Hyperion Created: 02/Nov/12  Updated: 25/Apr/23  Resolved: 25/Apr/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Jodi Levi (Inactive) Assignee: WC Triage
Resolution: Won't Fix Votes: 0
Labels: None

Rank (Obsolete): 5416

 Description   

Create scripts that generate noise while testing on Hyperion.



 Comments   
Comment by Keith Mannthey (Inactive) [ 02/Nov/12 ]

In general the goal is to have some background stress scripts in the tests.

The three main scripts will be:

1. Memory. We want to carefully create a near oom situation. The rational is that allocations can block and we want to be sure the code can deal with this. We also want to be sure that Lustre and the Linux VM play well together when resources become tight.

2. Cpu load. Create fake cpu loads to simulate unstable client processing. There will be a random mode that will use cpu_affinity.

Both of these items are not Hyperion specific but rather a form of general stress testing.

3. Cpu throttling. A 3rd hardware specific test will be cerated that will change CPU power states randomly. This will cause cpu latency/ jitter. Having the cpu change power states blocks all processing on it for a brief period of time. This sort of testing can only run on real hardware, but VM's have their own forms of jitter.

Comment by Keith Mannthey (Inactive) [ 20/Nov/12 ]

http://review.whamcloud.com/4619 contains code out for comment on the first two items. There is a larger issue about how we want to integrate this code for use. For now the code is fortestonly for review as there is no calls to use the new code.

Comment by Keith Mannthey (Inactive) [ 16/Jan/13 ]

I have split the code into 2 parts.

For memhog.c changes: http://review.whamcloud.com/4619
For processor.sh: http://review.whamcloud.com/5041

Generated at Sat Feb 10 01:23:45 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.