pingcap/go-ycsb

Avg Latency of basicdb is 0

Muktikanta0123 opened this issue · 0 comments

While loading and running basic db I am getting an avg. latency is 0µsec for read or updates always.

$ ./bin/go-ycsb load basic -P workloads/workloada
***************** properties *****************
"insertproportion"="0"
"readproportion"="0.5"
"updateproportion"="0.5"
"workload"="core"
"recordcount"="1000"
"readallfields"="true"
"requestdistribution"="uniform"
"scanproportion"="0"
"dotransactions"="false"
"operationcount"="1000"


Run finished, takes 22.906208ms
INSERT - Takes(s): 0.0, Count: 1000, OPS: 44315.1, Avg(us): 0, Min(us): 0, Max(us): 1, 99th(us): 1000, 99.9th(us): 1000, 99.99th(us): 1000

$ ./bin/go-ycsb run basic -P workloads/workloada -p "operationcount=1000000" -p "recordcount=100000" -p "threadcount=1"
***************** properties *****************
"readallfields"="true"
"operationcount"="1000000"
"scanproportion"="0"
"readproportion"="0.5"
"insertproportion"="0"
"workload"="core"
"updateproportion"="0.5"
"recordcount"="100000"
"requestdistribution"="uniform"
"threadcount"="1"
"dotransactions"="true"


Run finished, takes 1.328020611s
READ - Takes(s): 1.3, Count: 499482, OPS: 376127.2, Avg(us): 0, Min(us): 0, Max(us): 28, 99th(us): 1000, 99.9th(us): 1000, 99.99th(us): 1000
UPDATE - Takes(s): 1.3, Count: 500518, OPS: 376895.1, Avg(us): 0, Min(us): 0, Max(us): 26, 99th(us): 1000, 99.9th(us): 1000, 99.99th(us): 1000

Is it working properly?
if not, how to fix the basic db to work properly?