Frequently used utilities for Python
Project description
Background load:
- LOADGEN_START_DELAY - delay for initial start (default = 0)
- LOADGEN_WORK_BREAK - sets frequency of loadgen
- DEFAULT -> 600
- 600 -> 10min break between cycles (intermittent)
- 15 -> 15s break (near-constant)
- LOADGEN_CPU_INTENSITY - sets intensity of loadgen CPU usage
- DEFAULT -> 1 (low)
- .01 -> high CPU load
- .35 -> moderate CPU load
- 1.25 -> low CPU load
- LOADGEN_MAX_PRIMES - set how long the load calculation takes (important for request-based loads)
- DEFAULT -> 25
- 1 -> usually quick (seconds)
- 25 -> ~4-5min
- LOADGEN_RANDOMIZE_WORK_BREAK - randomizes the frequency (work_break)
- When True, work_break ranges from 15 to LOADGEN_WORK_BREAK
- LOADGEN_MEMORY_MB - memory consumption
- DEFAULT -> 1
Request load:
- REQUEST_CPU_INTENSITY
- DEFAULT -> 0 (random)
- Setting to 0 uses random range from 0.01-1.0
- REQUEST_MEMORY_MB
- DEFAULT -> .1
- REQUEST_MAX_PRIMES
- DEFAULT -> 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mslarkin_utils-1.66.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for mslarkin_utils-1.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b7564388a595740cdcda8c4d4c1e400c0fe66ea7a4d06331380b0e1b0fcc7e |
|
MD5 | 79b4860a5cfb37d34a8cb9fe135b9355 |
|
BLAKE2b-256 | 255732f703229254cbe84eacd1a2bfcad6287dcc76c81b913d4f2bdb65f8235a |