kingtomxy
发贴: 2
积分: 0
|
于 2007-07-23 23:16
<sandstorm>
# Global options used by Sandstorm <global>
<threadPool> initialThreads 1 # Initial number of threads per stage minThreads 1 # Min number of threads per stage maxThreads 20 # Max number of threads per stage blockTime 1000 # Time to block waiting for events (ms)
<sizeController> autoMaxDetect false enable true # Enable thread pool sizing controller delay 2000 # Delay between measurements (ms) threshold 10 # Queue threshold above which to add thread idleTimeThreshold 1000 # Idle time (ms) after which thread dies </sizeController> </threadPool>
<batchController> enable false # Enable batching controller minBatch 1 # Minimum batching factor maxBatch 1024 # Maximum batching factor # maxBatch 4 # Maximum batching factor recalcWindow 100 # Averaging window smoothConst 0.5 # Smoothing constant </batchController>
<profile> enable false # Enable profiler (sandstorm-profile.txt) delay 100 # Delay between measurements (ms) sockets false # Whether to include socket queues graph false # Whether to generate stage graph </profile> </sandstorm>
其中#号后面的是注释不需要读,enable false 和delay 100中前面的文字是“变量”后面的是它的值? 那位大侠能帮帮忙啊,求助啊!谢谢!
|