Skip to content

Settings

MASV Agent supports the following configurable settings:

  • Disk configuration — Control concurrent readers, writers, and read/write priority per disk.
  • FIFO mode — Limit bandwidth to a fixed number of concurrent uploads and downloads.
  • Multiconnect — Transfer data across multiple active network interfaces.
  • Network concurrency — Set the number of upload and download chunk workers.
  • Rate limits — Restrict transfer bandwidth globally or per network interface, with optional schedules.

Configure how MASV Agent reads and writes data to each disk during transfers.

FieldTypeDescription
disk_idStringUnique ID for the disk config.
priorityStringDisk read/write priority.
max_concurrent_readersIntegerMaximum number of concurrent readers.
max_concurrent_writersIntegerMaximum number of concurrent writers.
PriorityDescription
mixed_read_writesAllows concurrent read and write operations on the disk.
prioritize_writesDelays all read operations while writing to disk.
prioritize_readsDelays all write operations while reading from disk. Not recommended for typical use.
Terminal window
masv settings disk status

Update both default and disk-specific configurations:

Terminal window
masv settings disk update --readers 2 --writers 3 --priority mixed_read_writes

Update only the default configuration:

Terminal window
masv settings disk update --readers 2 --default

Update specific disks by ID:

Terminal window
masv settings disk update --writers 2 --ids /,/mnt/hdd2

Create a new disk configuration by providing an ID that does not yet exist:

Terminal window
masv settings disk update --writers 1 --ids /mnt/hdd3

FIFO mode limits the allocated bandwidth to a fixed number of concurrent uploads and downloads. Transfer priority is granted in the order transfers are created, with the oldest transfers getting priority first.

Terminal window
masv settings fifo status
Terminal window
masv settings fifo update --enable --downloads 1 --uploads 2
masv settings fifo update --disable

Alter the rank of existing transfers to change their priority in the FIFO queue:

Terminal window
masv upload update {upload_id} --fifo-rank 1
masv download update {download_id} --fifo-rank 1

Multiconnect allows MASV Agent to transfer data using multiple active internet connections available to the host system.

Terminal window
masv settings multiconnect status
Terminal window
masv settings multiconnect update --enable
masv settings multiconnect update --disable

Enable or disable a specific multiconnect network interface:

Terminal window
masv settings multiconnect interface {iface_id} --enable
masv settings multiconnect interface {iface_id} --disable

Control how many upload and download chunk workers are active at a time.

Terminal window
masv settings network concurrency status
Terminal window
masv settings network concurrency update --download 8 --upload 8

Rate limits restrict transfer bandwidth. A rate limit can apply at all times or on a schedule.

  • With multiconnect disabled, the global rate-limit settings apply.
  • With multiconnect enabled, the network interface-specific rate-limit settings apply.
Terminal window
masv settings network rate-limit upload status
masv settings network rate-limit download status

With multiconnect disabled, update the global rate limit:

Terminal window
masv settings network rate-limit download update --bps 100000000 --enable
masv settings network rate-limit download update --disable

With multiconnect enabled, update the rate limit for a specific network interface:

Terminal window
masv settings network rate-limit download update --iface-id {iface_id} --enable
masv settings network rate-limit download update --iface-id {iface_id} --disable

Rate limits can be applied on a schedule, restricting bandwidth during specific days and times.

With multiconnect disabled, enable or disable the global rate-limit schedule:

Terminal window
masv settings network rate-limit download schedule update --enable
masv settings network rate-limit download schedule update --disable

With multiconnect enabled, manage the schedule for a specific network interface:

Terminal window
masv settings network rate-limit download schedule update --iface-id {iface_id} --enable
masv settings network rate-limit download schedule update --iface-id {iface_id} --disable

Update days within the schedule (multiconnect disabled):

Terminal window
masv settings network rate-limit download schedule days \
--start "09:00" --end "17:00" --enable --mon --tue --wed --thu --fri

Update days within the schedule for a specific interface (multiconnect enabled):

Terminal window
masv settings network rate-limit download schedule days \
--iface-id "00:d8:61:be:e1:2c" --start "09:00" --end "17:00" --enable --sat --sun