[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Limiting the bandwidth for a repository sync



We have added the ability to limit the bandwidth consumed by a repository sync.
This can be specified at a global level through pulp.conf, or adjusted on a per sync basis through the CLI/WebService calls.

Below is a summary, more information is available at: https://fedorahosted.org/pulp/wiki/RepoSync/LimitBandwidth 

`/etc/pulp/pulp.conf`:
[yum]
threads: 15
.....
# Uncomment below to set a bandwidth limit in KB/sec for downloading
# 0 represents unlimited
# limit_in_KB: 500 


CLI:
  `--limit` and `--threads` have been added to the CLI for `repo sync`.
  $ sudo pulp-admin repo sync --id sync_test --limit 20 --threads 1 -F


WS:
 'limit' and 'threads' are 2 optional parameters added to  `/repositories/<repository id>/sync/`

The value specified for `limit` is on a per thread basis.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]