From 779440ef6064b2d1f2a5004bd92ae3660bc9b63a Mon Sep 17 00:00:00 2001 From: Zhijiang Hu Date: Thu, 4 May 2017 00:55:33 -0400 Subject: Increase PACKETS_PER_BUFFER to 65536 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 --- ci/build_rpm/build_rpms.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci') diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh index e4b0cae9..2175bd97 100755 --- a/ci/build_rpm/build_rpms.sh +++ b/ci/build_rpm/build_rpms.sh @@ -38,6 +38,10 @@ function cleanup_container { echo "Stopping containers... $containers_to_kill" sudo docker stop -t 2 ${containers_to_kill} echo "Removing containers... $containers_to_kill" + + # Prevent "removal of container daisy is already in progress" + sleep 10 + sudo docker rm -v -f ${containers_to_kill} if [[ ! -z "$volumes_to_remove" ]]; then -- cgit value='stable/danube'>stable/danube Grokmirror user
aboutsummaryrefslogtreecommitdiffstats
blob: 7a1ffd82c9749dfd5259343ef6649dc1c077db2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82