Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit abdf93a

Browse files
author
gaoruoshu
committedOct 30, 2021
add new application: storm
1 parent 83e8681 commit abdf93a

File tree

2 files changed

+104
-0
lines changed

2 files changed

+104
-0
lines changed
 
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
project: "storm"
2+
maxiterations: 100
3+
startworkload: "systemctl restart storm-nimbus && systemctl restart storm-supervisor"
4+
stopworkload: "systemctl stop storm-nimbus && systemctl stop storm-supervisor"
5+
object :
6+
-
7+
name : "storm.topology_workerSharedThreadPoolSize"
8+
-
9+
name : "storm.messagingNettySocketBacklog"
10+
-
11+
name : "storm.topology_transferBufferSize"
12+
-
13+
name : "storm.messagingNettyBufferSize"
14+
-
15+
name : "storm.topology_disruptorBatchSize"
16+
-
17+
name : "storm.messagingNettyTransferBatchSize"
18+
-
19+
name : "storm.topology_fallBackOnJavaSerialization"
20+

‎tuning/yamls/tuning_params_all.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4756,4 +4756,88 @@ The default value is 2048. You are advised to change the value to 8192."
47564756
- 1
47574757
- 100
47584758
dtype : "int"
4759+
-
4760+
name : "storm.topology_workerSharedThreadPoolSize"
4761+
info :
4762+
desc : "Size of the shared thread pool used by Workers."
4763+
get : cat /etc/storm/storm.config | grep "topology.worker.shared.thread.pool.size" | awk -F "=" '{print $2}'
4764+
set : sed -i 's/^topology.worker.shared.thread.pool.size.*$/topology.worker.shared.thread.pool.size=$value/g' /etc/storm/storm.config
4765+
needrestart : "true"
4766+
type : "continuous"
4767+
scope :
4768+
- 1
4769+
- 2147483647
4770+
dtype : "int"
4771+
-
4772+
name : "storm.messagingNettySocketBacklog"
4773+
info :
4774+
desc : "Sets the TCP backlog parameter to specify the maximum number of connections in the socket queue."
4775+
get : cat /etc/storm/storm.config | grep "storm.messaging.netty.socket.backlog" | awk -F "=" '{print $2}'
4776+
set : sed -i 's/^storm.messaging.netty.socket.backlog.*$/storm.messaging.netty.socket.backlog=$value/g' /etc/storm/storm.config
4777+
needrestart : "true"
4778+
type : "continuous"
4779+
scope :
4780+
- 1
4781+
- 2147483647
4782+
dtype : "int"
4783+
-
4784+
name : "storm.topology_transferBufferSize"
4785+
info :
4786+
desc : "Size of the shared thread pool used by Workers."
4787+
get : cat /etc/storm/storm.config | grep "topology.transfer.buffer.size" | awk -F "=" '{print $2}'
4788+
set : sed -i 's/^topology.transfer.buffer.size.*$/topology.transfer.buffer.size=$value/g' /etc/storm/storm.config
4789+
needrestart : "true"
4790+
type : "continuous"
4791+
scope :
4792+
- 1
4793+
- 2147483647
4794+
dtype : "int"
4795+
-
4796+
name : "storm.messagingNettyBufferSize"
4797+
info :
4798+
desc : "Size of the transmit/receive buffer in bytes."
4799+
get : cat /etc/storm/storm.config | grep "storm.messaging.netty.buffer_size" | awk -F "=" '{print $2}'
4800+
set : sed -i 's/^storm.messaging.netty.buffer_size.*$/storm.messaging.netty.buffer_size=$value/g' /etc/storm/storm.config
4801+
needrestart : "true"
4802+
type : "continuous"
4803+
scope :
4804+
- 1
4805+
- 2147483647
4806+
dtype : "int"
4807+
-
4808+
name : "storm.topology_disruptorBatchSize"
4809+
info :
4810+
desc : "Number of messages sent in a batch in the internal message queue."
4811+
get : cat /etc/storm/storm.config | grep "topology.disruptor.batch.size" | awk -F "=" '{print $2}'
4812+
set : sed -i 's/^topology.disruptor.batch.size.*$/topology.disruptor.batch.size=$value/g' /etc/storm/storm.config
4813+
needrestart : "true"
4814+
type : "continuous"
4815+
scope :
4816+
- 1
4817+
- 2147483647
4818+
dtype : "int"
4819+
-
4820+
name : "storm.messagingNettyTransferBatchSize"
4821+
info :
4822+
desc : "If the Netty message layer is busy, the Netty client attempts to collect as many messages as possible, up to the specified size in bytes."
4823+
get : cat /etc/storm/storm.config | grep "storm.messaging.netty.transfer.batch.size" | awk -F "=" '{print $2}'
4824+
set : sed -i 's/^storm.messaging.netty.transfer.batch.size.*$/storm.messaging.netty.transfer.batch.size=$value/g' /etc/storm/storm.config
4825+
needrestart : "true"
4826+
type : "continuous"
4827+
scope :
4828+
- 1
4829+
- 2147483647
4830+
dtype : "int"
4831+
-
4832+
name : "storm.topology_fallBackOnJavaSerialization"
4833+
info :
4834+
desc : "Whether to use Java serialization in the topology."
4835+
get : cat /etc/storm/storm.config | grep "topology.disruptor.batch.size" | awk -F "=" '{print $2}'
4836+
set : sed -i 's/^topology.disruptor.batch.size.*$/topology.disruptor.batch.size=$value/g' /etc/storm/storm.config
4837+
needrestart : "true"
4838+
type : "discrete"
4839+
scope :
4840+
- "true"
4841+
- "false"
4842+
dtype : "string"
47594843

0 commit comments

Comments
 (0)
Please sign in to comment.