[Openais] expzc - patch - originate messages using zero copy

Steven Dake sdake at redhat.com
Sat Aug 14 15:43:14 PDT 2010


The benchmarks below are run single node since patch doesn't work 
multinode atm and this is best way of not running into the maximum 
network transport capabilities.  Benchmark run on an Intel 5570 @ 
2.93GHZ + 1.3GHZ ram.

~1.3 million messages per second up to frame size messages (no 
compacting occurs at the moment).  Flatiron ranges from 50-70k messages 
per second up to frame size.  Roughly 19x throughput increase without 
using multiprocessing at all.  Keep in mind no delivery occurs atm so 
that will suck some performance up to manage the delivery of messages.

----- with new method -----

[root at mrg-01 test]# ./cpgbench
free SBUFFS 511
8988950 messages received   100 bytes per write  10.000 Seconds runtime 
898894.551 TP/s  89.889 MB/s.
12963443 messages received   200 bytes per write  10.000 Seconds runtime 
1296343.004 TP/s 259.269 MB/s.
12970245 messages received   300 bytes per write  10.000 Seconds runtime 
1297023.592 TP/s 389.107 MB/s.
12942457 messages received   400 bytes per write  10.000 Seconds runtime 
1294244.665 TP/s 517.698 MB/s.
12900434 messages received   500 bytes per write  10.000 Seconds runtime 
1290042.497 TP/s 645.021 MB/s.
12862648 messages received   600 bytes per write  10.000 Seconds runtime 
1286263.771 TP/s 771.758 MB/s.
12850101 messages received   700 bytes per write  10.000 Seconds runtime 
1285008.943 TP/s 899.506 MB/s.
12922024 messages received   800 bytes per write  10.000 Seconds runtime 
1292201.366 TP/s 1033.761 MB/s.
12955084 messages received   900 bytes per write  10.000 Seconds runtime 
1295507.364 TP/s 1165.957 MB/s.
12951893 messages received  1000 bytes per write  10.000 Seconds runtime 
1295188.393 TP/s 1295.188 MB/s.
13221837 messages received  1100 bytes per write  10.000 Seconds runtime 
1322182.642 TP/s 1454.401 MB/s.
13166147 messages received  1200 bytes per write  10.000 Seconds runtime 
1316613.647 TP/s 1579.936 MB/s.
13207969 messages received  1300 bytes per write  10.000 Seconds runtime 
1320795.711 TP/s 1717.034 MB/s.
13211959 messages received  1400 bytes per write  10.000 Seconds runtime 
1321194.447 TP/s 1849.672 MB/s.

corosync 1.2.7

[root at mrg-01 test]# ./cpgbench
573305 messages received   100 bytes per write  10.000 Seconds runtime 
57330.437 TP/s   5.733 MB/s.
638411 messages received   200 bytes per write  10.000 Seconds runtime 
63841.049 TP/s  12.768 MB/s.
743956 messages received   300 bytes per write  10.000 Seconds runtime 
74395.466 TP/s  22.319 MB/s.
739786 messages received   400 bytes per write  10.000 Seconds runtime 
73978.533 TP/s  29.591 MB/s.
716653 messages received   500 bytes per write  10.000 Seconds runtime 
71665.178 TP/s  35.833 MB/s.
717992 messages received   600 bytes per write  10.000 Seconds runtime 
71799.107 TP/s  43.079 MB/s.
712450 messages received   700 bytes per write  10.000 Seconds runtime 
71244.922 TP/s  49.871 MB/s.
736272 messages received   800 bytes per write  10.000 Seconds runtime 
73627.112 TP/s  58.902 MB/s.
720275 messages received   900 bytes per write  10.000 Seconds runtime 
72027.414 TP/s  64.825 MB/s.
713090 messages received  1000 bytes per write  10.000 Seconds runtime 
71308.957 TP/s  71.309 MB/s.
712697 messages received  1100 bytes per write  10.000 Seconds runtime 
71269.643 TP/s  78.397 MB/s.
646768 messages received  1200 bytes per write  10.000 Seconds runtime 
64676.722 TP/s  77.612 MB/s.
670684 messages received  1300 bytes per write  10.000 Seconds runtime 
67068.326 TP/s  87.189 MB/s.
670523 messages received  1400 bytes per write  10.000 Seconds runtime 
67052.253 TP/s  93.873 MB/s.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: corosync-expzc-originate-msgs.patch
Url: http://lists.linux-foundation.org/pipermail/openais/attachments/20100814/c319f145/attachment.txt 


More information about the Openais mailing list