Skip to content

Commit

Permalink
refactor: remove some useless configs (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Tao authored and wutao1 committed Jul 18, 2019
1 parent 8824b41 commit 769606c
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 149 deletions.
4 changes: 0 additions & 4 deletions .arcconfig

This file was deleted.

11 changes: 0 additions & 11 deletions src/base/test/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ count = 1

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
;toollets = tracer
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
logging_flush_on_exit = true

enable_default_app_mimic = true
Expand All @@ -41,10 +36,6 @@ fast_flush = true
max_number_of_log_files_on_disk = 10
stderr_start_level = LOG_LEVEL_ERROR

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 10

[tools.simulator]
random_seed = 0

Expand All @@ -59,15 +50,13 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

[task..default]
is_trace = false
is_profile = false
allow_inline = false
fast_execution_in_network_thread = false
rpc_call_header_format = NET_HDR_DSN
rpc_call_channel = RPC_CHANNEL_TCP
rpc_timeout_milliseconds = 5000
Expand Down
11 changes: 0 additions & 11 deletions src/geo/bench/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ count = 1

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
;toollets = tracer
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
logging_flush_on_exit = true

enable_default_app_mimic = true
Expand All @@ -41,10 +36,6 @@ fast_flush = true
max_number_of_log_files_on_disk = 10
stderr_start_level = LOG_LEVEL_ERROR

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 10

[tools.simulator]
random_seed = 0

Expand All @@ -59,15 +50,13 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

[task..default]
is_trace = false
is_profile = false
allow_inline = false
fast_execution_in_network_thread = false
rpc_call_header_format = NET_HDR_DSN
rpc_call_channel = RPC_CHANNEL_TCP
rpc_timeout_milliseconds = 5000
Expand Down
11 changes: 0 additions & 11 deletions src/geo/test/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ count = 1

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
;toollets = tracer
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
logging_flush_on_exit = true

enable_default_app_mimic = true
Expand All @@ -41,10 +36,6 @@ fast_flush = true
max_number_of_log_files_on_disk = 10
stderr_start_level = LOG_LEVEL_ERROR

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 10

[tools.simulator]
random_seed = 0

Expand All @@ -59,15 +50,13 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

[task..default]
is_trace = false
is_profile = false
allow_inline = false
fast_execution_in_network_thread = false
rpc_call_header_format = NET_HDR_DSN
rpc_call_channel = RPC_CHANNEL_TCP
rpc_timeout_milliseconds = 5000
Expand Down
6 changes: 0 additions & 6 deletions src/redis_protocol/proxy/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ delay_seconds = 30

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
toollets = profiler
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
Expand All @@ -60,7 +56,6 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

Expand All @@ -74,7 +69,6 @@ is_trace = false
is_profile = false
allow_inline = false
rpc_call_channel = RPC_CHANNEL_TCP
fast_execution_in_network_thread = false
rpc_call_header_format_name = dsn
rpc_timeout_milliseconds = 5000

Expand Down
6 changes: 0 additions & 6 deletions src/redis_protocol/proxy_ut/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ delay_seconds = 30

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
;toollets = tracer
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_INFORMATION
logging_factory_name = dsn::tools::simple_logger
Expand All @@ -60,7 +56,6 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

Expand All @@ -74,7 +69,6 @@ is_trace = false
is_profile = false
allow_inline = false
rpc_call_channel = RPC_CHANNEL_TCP
fast_execution_in_network_thread = false
rpc_call_header_format_name = dsn
rpc_timeout_milliseconds = 5000

Expand Down
11 changes: 0 additions & 11 deletions src/sample/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ count = 1

[core]
;tool = simulator
;tool = fastrun
tool = nativerun
;toollets = tracer
;toollets = tracer, profiler, fault_injector
pause_on_start = false
cli_local = false
cli_remote = false

;aio_factory_name = dsn::tools::native_aio_provider
start_nfs = false

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
logging_flush_on_exit = true

enable_default_app_mimic = true
Expand All @@ -41,10 +36,6 @@ fast_flush = true
max_number_of_log_files_on_disk = 10
stderr_start_level = LOG_LEVEL_ERROR

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 10

[tools.simulator]
random_seed = 0

Expand All @@ -59,15 +50,13 @@ worker_count = 4
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 4

[task..default]
is_trace = false
is_profile = false
allow_inline = false
fast_execution_in_network_thread = false
rpc_call_header_format = NET_HDR_DSN
rpc_call_channel = RPC_CHANNEL_TCP
rpc_timeout_milliseconds = 5000
Expand Down
5 changes: 0 additions & 5 deletions src/server/config-server.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ start_nfs = true
logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
;logging_factory_name = dsn::tools::screen_logger
;logging_factory_name = dsn::tools::hpc_logger
logging_flush_on_exit = true

[block_service.fds_service]
Expand All @@ -64,10 +63,6 @@ fast_flush = false
max_number_of_log_files_on_disk = 100000
stderr_start_level = LOG_LEVEL_FATAL

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 100000

[tools.simulator]
random_seed = 0

Expand Down
19 changes: 1 addition & 18 deletions src/server/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
toollets = profiler

pause_on_start = false
cli_local = false
cli_remote = true
enable_default_app_mimic = true
start_nfs = true

logging_start_level = LOG_LEVEL_DEBUG
logging_factory_name = dsn::tools::simple_logger
Expand All @@ -61,10 +58,6 @@
max_number_of_log_files_on_disk = 500
stderr_start_level = LOG_LEVEL_ERROR

[tools.hpc_logger]
per_thread_buffer_bytes = 8192
max_number_of_log_files_on_disk = 200

[nfs]
nfs_copy_block_bytes = 4194304
max_concurrent_remote_copy_requests = 50
Expand All @@ -85,63 +78,54 @@
[threadpool.THREAD_POOL_DEFAULT]
name = default
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 8

[threadpool.THREAD_POOL_REPLICATION]
name = replica
partitioned = true
max_input_queue_length = 2048
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 24

[threadpool.THREAD_POOL_META_STATE]
name = meta_state
partitioned = true
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 1

[threadpool.THREAD_POOL_DLOCK]
name = dist_lock
partitioned = true
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 1

[threadpool.THREAD_POOL_FD]
name = fd
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 2

[threadpool.THREAD_POOL_LOCAL_APP]
name = local_app
partitioned = false
max_input_queue_length = 2048
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 24

[threadpool.THREAD_POOL_REPLICATION_LONG]
name = rep_long
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 8

[threadpool.THREAD_POOL_FDS_SERVICE]
name = fds_service
worker_count = 8
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 8

[threadpool.THREAD_POOL_COMPACT]
name = compact
partitioned = false
max_input_queue_length = 1024
worker_priority = THREAD_xPRIORITY_NORMAL
worker_count = 8

Expand Down Expand Up @@ -280,7 +264,7 @@
checkpoint_reserve_min_count = 2
checkpoint_reserve_time_seconds = 1800

updating_rocksdb_sstsize_interval_seconds = 600
update_rdb_stat_interval = 600

manual_compact_min_interval_seconds = 600

Expand Down Expand Up @@ -329,7 +313,6 @@
rpc_call_channel = RPC_CHANNEL_TCP
rpc_call_header_format = NET_HDR_DSN
rpc_message_crc_required = false
fast_execution_in_network_thread = false
rpc_call_header_format_name = dsn
rpc_timeout_milliseconds = 5000

Expand Down
Loading

0 comments on commit 769606c

Please sign in to comment.