Skip to content

The results of the throughput test and the latency test are different #12

@Aismy

Description

@Aismy

1、 latency Test

(1)use rdma
./build/example/install/hadronio/bin/hadronio netty benchmark latency -a 172.37.64.10 -l 4096 -m 100000 -s
result:
totalData: 409.600 MByte (409600000),
totalTime: 2.298 s (2.297766),
(2)use tcp

 export DISABLE_HADRONIO=true
./build/example/install/hadronio/bin/hadronio netty benchmark latency -a 172.37.64.10 -l 4096 -m 100000 -s

result:
totalData: 409.600 MByte (409600000),
totalTime: 3.705 s (3.705482),

It can be seen that rdma performance is better than tcp

2、throughput Test

(1)use rdma
./build/example/install/hadronio/bin/hadronio netty benchmark throughput -a 172.37.64.10 -l 4096 -m 1000000 -s
result:
totalData: 4.096 GByte (4096000000),
totalTime: 1.449 s (1.448662),
operationThroughput: 690.292 KOperations/s (690292.375116),
dataThroughput: 2.827 GByte/s (2827437568.476917)
(2)use tcp

 export DISABLE_HADRONIO=true
./build/example/install/hadronio/bin/hadronio netty benchmark throughput  -a 172.37.64.10 -l 4096 -m 1000000 -s

result :
totalData: 4.096 GByte (4096000000),
totalTime: 1.347 s (1.346812),
operationThroughput: 742.494 KOperations/s (742493.940533),
dataThroughput: 3.041 GByte/s (3041255180.422916)

In this test, it can be seen that rdma performance is close to tcp, even not as good as tcp,However, in the delay test, rdma performance is significantly better than tcp. Why is this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions