Table of contents
Directory
Updated at 2020-03-20 16:00:22

performance data

The configuration of our test machine is shown in the figure below. We have three machines with the same configuration, two of which are clients and one is server::

The machine is configured as follows

SoftwareSoftware requirements
system kernelLinux 3.10.94 x86_64 x86_64 GNU/Linux
cpu info3.30Ghz cpu*8
memory16GB
NetworkGigabit Ethernet
Hard disk7200rpm Mechanical hard disk

In the first test, we tested the general performance of the machine. We deployed two network threads and five business threads on the client machine, and sent the business data of the normal size. In the second test, we tested the ultimate performance of the tars. We opened 50 processes on two machines as the client respectively. Each process has 16 threads, and each thread sends 4 bytes Small business data package, the test results are as follows:

LangClient MachinesProcess numThread numpackage size(B)TPS(w/s)Avg cost(ms)cpuIn traffic(Mb/s)Out traffic(Mb/s)In packets(/s)Out packets(/s)
c++11140.70.133%8M      7M7214   7220
c++11110240.520.173%53M     50M5677   5666
c++2110411.390.1728%139.729M92.389M127,267127,923
c++211010246.730.2919%644.135M616.395M95,42495,823
c++2210420.050.2063%238.542M158.658M220,434221,658
c++2210102410.030.3838%972.232M930.256M141,841142,388
c++2510427.220.3784%327.972M215.173M306,896300,099
c++2510102410.020.9648%974.102M932.277M132,091133,574
c++250164413.8892%463.815M313.112M422,732431,050
java11140.70.135%8.424M      6.041M7773   7793
java11110240.520.178%61.866M59.951M6674   6700
java211049.830.1834%155.719M106.310M156,681148,201
java211010247.820.2726%694.184M669.369M103,564104,158
java2210420.420.2057%254.149M183.307M252,928259,064
java2210102410.030.3841%964.790M930.363M141,965143,004
java2510426.340.3477%244.887M186.358M243,527254,967
java2510102410.110.9748%967.217M939.408M132,421135,919
java250164384.2782%438.999M329.996M413,046426,961

The test results are only for reference. The actual results will be affected by different test conditions and measurement methods

Chapter