Ashlesh Gawande | 92e4ea5 | 2017-07-19 11:38:12 -0500 | [diff] [blame] | 1 | nfd-asf-strategy |
| 2 | ================ |
| 3 | |
| 4 | SYNOPSIS |
| 5 | -------- |
| 6 | | nfdc strategy set prefix <PREFIX> strategy /localhost/nfd/strategy/asf/%FD%02[/probing-interval~<PROBING-INTERVAL>][/n-silent-timeouts~<N-SILENT-TIMEOUTS>] |
| 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). |
| 27 | Default and minimum value is 0 i.e. switch immediately. |
| 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 | |
| 35 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/probing-interval~30000 |
| 36 | Set probing interval as 30 seconds. |
| 37 | |
| 38 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/n-silent-timeouts~5 |
| 39 | Set n-silent-timeouts as 5. |
| 40 | |
| 41 | nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/asf/%FD%03/probing-interval~30000/n-silent-timeouts~5 |
| 42 | Set probing interval as 30 seconds and n-silent-timeouts as 5. |
| 43 | |
| 44 | SEE ALSO |
| 45 | -------- |
| 46 | nfdc(1), nfdc-strategy(1) |