Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 1 | nfd-asf-strategy |
| 2 | ================ |
| 3 | |
| 4 | SYNOPSIS |
| 5 | -------- |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 6 | | nfdc strategy set prefix <PREFIX> strategy /localhost/nfd/strategy/asf[/v=4][/probing-interval~<PROBING-INTERVAL>][/n-silent-timeouts~<N-SILENT-TIMEOUTS>] |
Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 7 | |
| 8 | DESCRIPTION |
| 9 | ----------- |
| 10 | |
| 11 | ASF is an Adaptive Smoothed RTT-based Forwarding Strategy that chooses the best next hop based on SRTT measurement, and also periodically probes other next hops to learn their RTTs. |
| 12 | |
| 13 | OPTIONS |
| 14 | ------- |
| 15 | <PROBING-INTERVAL> |
| 16 | Tells ASF how often to send a probe to determine alternative paths. |
| 17 | The value is specified in milliseconds (non-negative integer) |
| 18 | Lower value means high overhead but faster reaction. |
| 19 | Default value is 1 minute and minimum value is 1 second. |
| 20 | It is optional to specify probing-interval. |
| 21 | |
| 22 | <N-SILENT-TIMEOUTS> |
| 23 | ASF switches immediately to another appropriate face (if available) upon timeout. |
| 24 | This behavior may be too sensitive for application use and appropriate only for link |
| 25 | failures and not transient timeouts. So this parameter makes ASF switch paths |
| 26 | only after it has encountered the specified number of timeouts (non-negative integer). |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 27 | Default and minimum value is 0, i.e., switch immediately. |
Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 28 | It is optional to specify n-silent-timeouts. |
| 29 | |
| 30 | EXAMPLES |
| 31 | -------- |
| 32 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf |
| 33 | Use the default values. |
| 34 | |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 35 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/probing-interval~30000 |
Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 36 | Set probing interval as 30 seconds. |
| 37 | |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 38 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/n-silent-timeouts~5 |
Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 39 | Set n-silent-timeouts as 5. |
| 40 | |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 41 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/v=4/probing-interval~30000/n-silent-timeouts~5 |
Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 42 | Set probing interval as 30 seconds and n-silent-timeouts as 5. |
| 43 | |
| 44 | SEE ALSO |
| 45 | -------- |
Eric Newberry | 7249fb4 | 2021-04-04 21:09:32 -0700 | [diff] [blame^] | 46 | nfdc(1), nfdc-strategy(1) |