summaryrefslogtreecommitdiffstats
path: root/code/jasmine/client.c
AgeCommit message (Collapse)AuthorFilesLines
2017-05-04Increase PACKETS_PER_BUFFER to 65536Zhijiang Hu1-2/+2
1) This mainly increase PACKETS_PER_BUFFER to 65536 to reduce the frequency of TCP client acks. 2) Also kills TCP_BUFF_SIZE and define each buffer size in a more intuitive way. 3) Free more unused memory to prevent being killed by oom-killer after enlarged PACKETS_PER_BUFFER. 4) Increase client's select() timeout to 20 secs, since we encountered timeout due to CPU busy in the same BM but with 20 VMs. Tested this PS in a 10 VM node env, and it can multicast a 2.7G file to 10 VMs in 6 minutes, while unicast needs 30+ minutes. Change-Id: Iaf862fb1f1259cc770f720ccdd95dcc281aef262 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-15Treat bad command line usage as errorZhijiang Hu1-1/+1
Since we can not tolerate any kind of error which may result in multicasting failed to run. So even the usage error shall be treated as error too. Change-Id: I5483bb2cebf437ed33ebb79eeeac640f8728a73f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-07jasmine(Just A Simple Multicast engINE) Initial mergev1.0.2Zhijiang Hu1-0/+313
Change-Id: I7a543019c8d92314ef549bf72369b7276f39577d Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>