Skip to main content

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


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.68.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

mslarkin_utils-1.68-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file mslarkin_utils-1.68.tar.gz.

File metadata

  • Download URL: mslarkin_utils-1.68.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mslarkin_utils-1.68.tar.gz
Algorithm Hash digest
SHA256 a1b5f4cc93cc0d28a57088a5371775ee406c76a94ab7f3ade8ed09b521608990
MD5 c74fbdb92097211df54d21a7fbcfe684
BLAKE2b-256 b1a40206c7e40a616877381f49d1845bbcb70ffcccb8ef47bc07d0e1a4e7323c

See more details on using hashes here.

File details

Details for the file mslarkin_utils-1.68-py3-none-any.whl.

File metadata

  • Download URL: mslarkin_utils-1.68-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mslarkin_utils-1.68-py3-none-any.whl
Algorithm Hash digest
SHA256 7ef04cc558459bd9503836db0c55019bc3a843a8f47dbe1c337f1738502def53
MD5 55bc71de9c5fee8c453931e6b760e3fc
BLAKE2b-256 ef71d906024a3fbd3b1a2c509dedba600540189dc02d48e3975a77b624904824

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page