-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tangyanzhao
committed
Oct 21, 2020
1 parent
15215ec
commit a694db5
Showing
3 changed files
with
80 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[apps..default] | ||
run = true | ||
count = 1 | ||
;network.client.RPC_CHANNEL_TCP = dsn::tools::sim_network_provider, 65536 | ||
;network.client.RPC_CHANNEL_UDP = dsn::tools::sim_network_provider, 65536 | ||
;network.server.0.RPC_CHANNEL_TCP = dsn::tools::sim_network_provider, 65536 | ||
|
||
[apps.mimic] | ||
type = dsn.app.mimic | ||
arguments = | ||
pools = THREAD_POOL_DEFAULT,THREAD_POOL_META_SERVER | ||
run = true | ||
count = 1 | ||
|
||
[core] | ||
;tool = simulator | ||
tool = nativerun | ||
;toollets = tracer | ||
;toollets = tracer, profiler, fault_injector | ||
pause_on_start = false | ||
|
||
;aio_factory_name = dsn::tools::native_aio_provider | ||
|
||
logging_start_level = LOG_LEVEL_DEBUG | ||
logging_factory_name = dsn::tools::simple_logger | ||
;logging_factory_name = dsn::tools::screen_logger | ||
logging_flush_on_exit = false | ||
|
||
enable_default_app_mimic = true | ||
|
||
data_dir = ./pegasus_shell.data | ||
|
||
[tools.simple_logger] | ||
short_header = false | ||
fast_flush = true | ||
max_number_of_log_files_on_disk = 10 | ||
stderr_start_level = LOG_LEVEL_FATAL | ||
|
||
[tools.simulator] | ||
random_seed = 0 | ||
|
||
[network] | ||
; how many network threads for network library(used by asio) | ||
io_service_worker_count = 4 | ||
|
||
; specification for each thread pool | ||
[threadpool..default] | ||
worker_count = 4 | ||
partitioned = false | ||
worker_priority = THREAD_xPRIORITY_NORMAL | ||
|
||
[threadpool.THREAD_POOL_DEFAULT] | ||
name = default | ||
worker_count = 8 | ||
|
||
[threadpool.THREAD_POOL_META_SERVER] | ||
name = meta_server | ||
|
||
[task..default] | ||
is_trace = false | ||
is_profile = false | ||
allow_inline = false | ||
rpc_call_header_format = NET_HDR_DSN | ||
rpc_call_channel = RPC_CHANNEL_TCP | ||
rpc_timeout_milliseconds = 10000 | ||
|
||
[pegasus.clusters] | ||
onebox = 127.0.0.1:34601,127.0.0.1:34602,127.0.0.1:34603 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters