# rate-mirrors

Version: 0.28.2-1
Everyday-use client-side map-aware mirror ranking tool

    Everyday-use client-side map-aware mirror ranking tool (Arch Linux; Manjaro; custom ones)

    Usage: rate-mirrors [OPTIONS] <COMMAND>

    Commands:
      stdin        accepts lines of urls OR lines with tab-separated urls and countries
      arch         test archlinux mirrors
      arch4edu     test arch4edu mirrors
      archlinuxcn  test archlinuxcn mirrors
      archarm      test archlinuxarm mirrors
      artix        test artix mirrors
      arcolinux    test arcolinux mirrors
      blackarch    test blackarch mirrors
      cachyos      test cachyos mirrors
      chaotic-aur  test chaotic-aur mirrors
      endeavouros  test endeavouros mirrors
      manjaro      test manjaro mirrors
      openbsd      test OpenBSD mirrors
      rebornos     test rebornos mirrors
      help         Print this message or the help of the given subcommand(s)

    Options:
          --protocol <protocol>
              Test only specified protocols (can be passed multiple times) [env: RATE_MIRRORS_PROTOCOL=]
          --per-mirror-timeout <PER_MIRROR_TIMEOUT>
              Per-mirror speed test timeout in milliseconds [env: RATE_MIRRORS_PER_MIRROR_TIMEOUT=] [default: 8000]
          --min-per-mirror <MIN_PER_MIRROR>
              Minimum downloading time, required to measure mirror speed, in milliseconds [env: RATE_MIRRORS_MIN_PER_MIRROR=] [default: 300]
          --max-per-mirror <MAX_PER_MIRROR>
              Maximum downloading time, required to measure mirror speed, in milliseconds [env: RATE_MIRRORS_MAX_PER_MIRROR=] [default: 1000]
          --min-bytes-per-mirror <MIN_BYTES_PER_MIRROR>
              Minimum number of bytes to be downloaded, required to measure mirror speed [env: RATE_MIRRORS_MIN_BYTES_PER_MIRROR=] [default: 70000]
          --eps <EPS>
              Per-mirror: sigma to mean speed ratio [env: RATE_MIRRORS_EPS=] [default: 0.0625]
          --eps-checks <EPS_CHECKS>
              Per-mirror: after min measurement time elapsed, check such number of subsequently downloaded data chunks whether speed variations are less then
              "eps" [env: RATE_MIRRORS_EPS_CHECKS=] [default: 40]
          --concurrency <CONCURRENCY>
              Number of simultaneous speed tests [env: RATE_MIRRORS_CONCURRENCY=] [default: 16]
          --concurrency-for-unlabeled <CONCURRENCY_FOR_UNLABELED>
              Number of simultaneous speed tests for mirrors with unknown country [env: RATE_MIRRORS_CONCURRENCY_FOR_UNLABELED=] [default: 40]
          --max-jumps <MAX_JUMPS>
              Max number of jumps between countries, when finding top mirrors [env: RATE_MIRRORS_MAX_JUMPS=] [default: 7]
          --entry-country <ENTRY_COUNTRY>
              Entry country - first country (+ its neighbours) to test.
              You don't need to change it unless you are just curious. [env: RATE_MIRRORS_ENTRY_COUNTRY=] [default: US]
          --exclude-countries <country-codes>
              Exclude countries from mirror selection (comma-separated 2-letter ISO country codes).
              Use ZZ to filter out mirrors with undefined country. [env: RATE_MIRRORS_EXCLUDE_COUNTRIES=]
          --country-neighbors-per-country <COUNTRY_NEIGHBORS_PER_COUNTRY>
              Neighbor country to test per country [env: RATE_MIRRORS_COUNTRY_NEIGHBORS_PER_COUNTRY=] [default: 3]
          --country-test-mirrors-per-country <COUNTRY_TEST_MIRRORS_PER_COUNTRY>
              Number of mirrors to test per country [env: RATE_MIRRORS_COUNTRY_TEST_MIRRORS_PER_COUNTRY=] [default: 2]
          --top-mirrors-number-to-retest <TOP_MIRRORS_NUMBER_TO_RETEST>
              Number of top mirrors to retest [env: RATE_MIRRORS_TOP_MIRRORS_NUMBER_TO_RETEST=] [default: 5]
          --max-mirrors-to-output <MAX_MIRRORS_TO_OUTPUT>
              Max number of mirrors to output [env: RATE_MIRRORS_MAX_MIRRORS_TO_OUTPUT=]
          --save <SAVE_TO_FILE>
              Filename to save the output to in case of success [env: RATE_MIRRORS_SAVE=]
          --allow-root
              Allow running by root [env: RATE_MIRRORS_ALLOW_ROOT=]
          --disable-comments
              Disable printing comments [env: RATE_MIRRORS_DISABLE_COMMENTS=]
          --disable-comments-in-file
              Disable printing comments to output file [env: RATE_MIRRORS_DISABLE_COMMENTS_IN_FILE=]
          --disable-untested-fallback
              Exit with error instead of outputting untested mirrors when all speed tests fail [env: RATE_MIRRORS_DISABLE_UNTESTED_FALLBACK=]
      -h, --help
              Print help (see more with '--help')
      -V, --version
              Print version