OpenMPDK / KVSSD

KV SSD host software including APIs and drivers
Other
230 stars 55 forks source link

KVSSD utilization in sample_test_async #42

Closed jaehshim closed 4 years ago

jaehshim commented 5 years ago

Location (Korea, USA, China, India, etc.) Korea

Describe the bug In running sample_test_async, KVSSD's capacity is printed well. However, KVSSD's utilization is always printed as 0.

To Reproduce Steps to reproduce the behavior:

  1. sudo ./sample_code_async -d /dev/nvme1n1 -n 524288 -q 64 -o 1 -k 16 -v 1048576 sudo

Expected behavior The total size written is 512GB so in sample_code_async, KVSSD's utilization should be printed as 143.

Screenshots image

System environment (please complete the following information)

Workload

Additional context Add any other context about the problem here.

hao86yan commented 5 years ago

The implementation of the utilization in the firmware and KV API. Please use the latest firmware to test (ETA51KBV).

jaehshim commented 4 years ago

It worked with the latest firmware.

Thanks