Skip to content

Commit 9aa08f4

Browse files
authored
Updated DM Config for Profile support (#114)
Signed-off-by: Blake Devcich <blake.devcich@hpe.com>
1 parent f0624cf commit 9aa08f4

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

docs/guides/data-movement/readme.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,26 @@ mpirun --allow-run-as-root --hostfile $HOSTFILE dcp --progress 1 --uid $UID --gi
6262

6363
### Profiles
6464

65-
**Note:** This feature is not fully implemented, but is present in the `nnf-dm-config` config map.
66-
Only the `default` profile is used, and it must be present in the configuration. Once the feature is
67-
implemented, a user will be able to select a profile using #DW directives and/or the Copy Offload
68-
API. Right now, users can add additional profiles into the config map, but the only way to use them
69-
would be to rename one of them to be `default`.
65+
Profiles can be specified in the in the `nnf-dm-config` config map. Users are able to select a
66+
profile using #DW directives (e.g .`copy_in profile=my-dm-profile`) and the Copy Offload API. If no
67+
profile is specified, the `default` profile is used. This default profile must exist in the config
68+
map.
7069

7170
`slots`, `maxSlots`, and `command` can be stored in Data Movement profiles. These profiles are
72-
available for a quick way to switch between different settings for a particular workflow.
71+
available to quickly switch between different settings for a particular workflow.
7372

74-
Example profile:
73+
Example profiles:
7574

7675
```yaml
7776
profiles:
7877
default:
7978
slots: 8
8079
maxSlots: 0
8180
command: mpirun --allow-run-as-root --hostfile $HOSTFILE dcp --progress 1 --uid $UID --gid $GID $SRC $DEST
81+
no-xattrs:
82+
slots: 8
83+
maxSlots: 0
84+
command: mpirun --allow-run-as-root --hostfile $HOSTFILE dcp --progress 1 --xattrs none --uid $UID --gid $GID $SRC $DEST
8285
```
8386
8487
## Copy Offload API Daemon

0 commit comments

Comments
 (0)