ZeroMQ的测试结果

测试主机:

CPU: E5300

内存:2G

操作系统:CentOS 6.3 32bit

硬盘:320g IDE

测试报文:1K

单位:(w) 是 1万=10000




Type

Client N

Server N

Times(w)

Time(s)

Speed(w/s)

CPU

Memory

bug

IPC:PUB->SUB

1

1

1000

33.3

30.0

100%

0.2~20%

NO

IPC:PUB->SUB

1

2

1000

--

--

100%

--

YES

IPC:PUB->SUB

2

1

1000

149

13.4

100%

0.2~20%

NO

TCP:PUB->SUB

1

1

100

6

16.7

100%

0.2~20%

NO

TCP:PUB->SUB

2

1

100

25

4.0

100%

0.2~20%

NO

IPC:REP->REQ

1

1

10

5.56

1.8

70%

0.1~0.3%

NO

IPC:REP->REQ

1

2

10

5.63

1.8

70%

0.1~0.3%

NO

IPC:REP->REQ

2

1

10

7.73

2.6

70%

0.1~0.3%

NO

IPC:REP->REQ

5

1

10

15.83

3.2

80%

0.1~0.3%

NO

IPC:REP->REQ

10

1

10

32.88

3.0

80%

0.1~0.3%

NO

IPC:REP->REQ

10

2

10

33

3.0

90%

0.1~0.3%

NO

TCP:REP->REQ

1

1

10

6.09

1.6

70%

0.1~0.3%

NO

TCP:REP->REQ

2

1

10

7.87

2.5

70%

0.1~0.3%

NO

TCP:REP->REQ

5

1

10

17.73

2.8

81%

0.1~0.3%

NO

IPC:PUSH->PULL

1

1

100

8.3

12.0

80%

0.1~3.3%

NO

IPC:PUSH->PULL

2

1

100

26

7.7

80%

0.1~3.3%

NO

IPC:PUSH->PULL

1

2

100

10.54

9.5

80%

0.1~3.3%

NO

IPC:PUSH->PULL

2

2

100

27

7.4

80%

0.1~3.3%

NO 




 

Type

Client N

Server N

Times(w)

Time(s)

Speed(w/s)

CPU

Memory

Run fine

IPC:PUB->PROXY->SUB

1

1

100

12

8.3

100%

3%

YES

IPC:PUB->PROXY->SUB

1

2

100

--

--

100%

--

NO

IPC:PUB->PROXY->SUB

2

1

100

27

7.4

100%

3%

YES

TCP:PUB->PROXY->SUB

1

1

100

7.6

13.2

100%

0.2~20%

YES

TCP:PUB->PROXY->SUB

2

1

100

13.78

7.3

100%

0.2~20%

YES

IPC:REP->PROXY->REQ

1

1

10

10

1.0

70%

0.1~0.3%

YES

IPC:REP->PROXY->REQ

1

2

10

10.29

1.0

70%

0.1~0.3%

YES

IPC:REP->PROXY->REQ

2

1

10

11.45

1.7

70%

0.1~0.3%

YES

IPC:REP->PROXY->REQ

5

1

10

25.18

2.0

80%

0.1~0.3%

YES

IPC:REP->PROXY->REQ

10

1

10

47.56

2.1

80%

0.1~0.3%

YES

IPC:REP->PROXY->REQ

10

2

10

50.22

2.0

90%

0.1~0.3%

YES

TCP:REP->PROXY->REQ

1

1

10

11.3

0.9

70%

0.1~0.3%

YES

TCP:REP->PROXY->REQ

2

1

10

14.7

1.4

70%

0.1~0.3%

YES

TCP:REP->PROXY->REQ

5

1

10

29.78

1.7

81%

0.1~0.3%

YES

IPC:PUSH->PROXY->PULL

1

1

100

5.11

19.6

80%

0.1~3.3%

YES

IPC:PUSH->PROXY->PULL

2

1

100

41.52

4.8

80%

0.1~3.3%

YES

IPC:PUSH->PROXY->PULL

1

2

100

20

5.0

80%

0.1~3.3%

YES

IPC:PUSH->PROXY->PULL

2

2

100

39.9

5.0

80%

0.1~3.3%

YES 


本来想上传测试代码着,结果发现文件太多了,这个CSDN还不让上传附件!!


处处是门槛儿啊!难道符合要求的博客只能在自己服务器上了?

你可能感兴趣的:(ZeroMQ,测试,性能)