Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor command updates

...

Code Block
languagebash
# create pool
dmg pool create --label=pool_1 --size=50G

# sample output
Creating DAOS pool with automatic storage allocation: 50 GB NVMe + 6.00% SCM
Pool created with 6.00% SCM/NVMe ratio
---------------------------------------
  UUID          : 6af46954-f704-45f0-8b80-115ef855a065
  Service Ranks : [1-3]                               
  Storage Ranks : [0-3]                               
  Total Size    : 53 GB                               
  SCM           : 3.0 GB (750 MB / rank)              
  NVMe          : 50 GB (12 GB / rank)                

# assign pool uuid to a variable
export DAOS_POOL=<pool uuid>

# run daos autotest
daos pool autotest --pool $DAOS_POOL

# Sample output
Step Operation               Status Time(sec) Comment
  0  Initializing DAOS          OK      0.000  
  1  Connecting to pool         OK      0.070  
  2  Creating container         OK      0.000  uuid = 
  3  Opening container          OK      0.050  
 10  Generating 1M S1 layouts   OK      4.620  
 11  Generating 10K SX layouts  OK      0.140  
 20  Inserting 1M 128B values   OK     75.130  
 21  Reading 128B values back   OK     71.540  
 24  Inserting 1M 4KB values    OK    109.190  
 25  Reading 4KB values back    OK    103.620  
 28  Inserting 100K 1MB values  OK    413.730  
 29  Reading 1MB values back    OK    461.220  
 96  Closing container          OK      0.040  
 97  Destroying container       OK      0.070  
 98  Disconnecting from pool    OK      0.000  
 99  Tearing down DAOS          OK      0.000  

...

Code Block
languagebash
export D_LOG_FILE=/tmp/daos_perf_daos.log
daos_perf -g /etc/daos/daos_control.yml -o 10 -d 10 -a 10 -C 16 -A -R 'U;p F;i=5;p V' -P 1G -N 10G
   'U' means UPDATE, 'p' means outputing performance
   'F' means FETCH, parameter
   "i=5" indicates the FETCH test will repeat 5 times.
   'V' means verify correctness of data
   ‘o’ Number of Objects
   ‘d’ Number of dkeys
   ‘a’ Number of akeys
   ‘A’ Use Array value of akey. Single value is selected by default.
   ‘P’ Scm Pool size
   ‘N’ Nvme Pool Size

Test :
	DAOS LARGE (full stack, non-replica)
Pool :
	79cae139-272e-4ada-922e-98cc968126bf
Parameters :
	pool size     : SCM: 1024 MB, NVMe: 10240 MB
	credits       : 16 (sync I/O for -ve)
	obj_per_cont  : 10 x 1 (procs)
	dkey_per_obj  : 10
	akey_per_dkey : 10
	recx_per_akey : 16
	value type    : array
	stride size   : 64
	zero copy     : no
	VOS file      : <NULL>
Running test=UPDATE
Running UPDATE test (iteration=1)
UPDATE successfully completed:
	duration : 0.225937   sec
	bandwith : 4.322      MB/sec
	rate     : 70816.20   IO/sec
	latency  : 14.121     us (nonsense if credits > 1)
Duration across processes:
	MAX duration : 0.225937   sec
	MIN duration : 0.225937   sec
	Average duration : 0.225937   sec
Completed test=UPDATE
Running test=FETCH
Running FETCH test (iteration=5)
FETCH successfully completed:
	duration : 1.190614   sec
	bandwith : 4.101      MB/sec
	rate     : 67192.22   IO/sec
	latency  : 14.883     us (nonsense if credits > 1)
Duration across processes:
	MAX duration : 1.190614   sec
	MIN duration : 1.190614   sec
	Average duration : 1.190614   sec

...