diff options
Diffstat (limited to 'bin/OpenSim.ini.example')
-rw-r--r-- | bin/OpenSim.ini.example | 96 |
1 files changed, 53 insertions, 43 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 79d57d2..4f1799e 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -38,8 +38,22 @@ | |||
38 | 38 | ||
39 | ; Sets the method that OpenSim will use to fire asynchronous | 39 | ; Sets the method that OpenSim will use to fire asynchronous |
40 | ; events. Valid values are UnsafeQueueUserWorkItem, | 40 | ; events. Valid values are UnsafeQueueUserWorkItem, |
41 | ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread | 41 | ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread. |
42 | ; async_call_method = SmartThreadPool | 42 | ; SmartThreadPool is reported to work well on Mono/Linux, but |
43 | ; UnsafeQueueUserWorkItem has been benchmarked with better | ||
44 | ; performance on .NET/Windows | ||
45 | ;async_call_method = SmartThreadPool | ||
46 | |||
47 | ; There are several operations on large collections (such as | ||
48 | ; the current avatar list) that can be run synchronously or | ||
49 | ; in parallel. Running in parallel should increase performance | ||
50 | ; on a multi-core system, but will make debugging more | ||
51 | ; difficult if something deadlocks or times out | ||
52 | use_async_when_possible = false | ||
53 | |||
54 | ; Max threads to allocate on the FireAndForget thread pool | ||
55 | ; when running with the SmartThreadPool option above | ||
56 | MaxPoolThreads = 15 | ||
43 | 57 | ||
44 | ; ## | 58 | ; ## |
45 | ; ## CLIENTS | 59 | ; ## CLIENTS |
@@ -51,9 +65,6 @@ | |||
51 | ; Set this to the DLL containing the client stack to use. | 65 | ; Set this to the DLL containing the client stack to use. |
52 | clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll" | 66 | clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll" |
53 | 67 | ||
54 | ; Max threads to allocate on the FireAndForget pool | ||
55 | MaxPoolThreads = 15 | ||
56 | |||
57 | ; ## | 68 | ; ## |
58 | ; ## REGIONS | 69 | ; ## REGIONS |
59 | ; ## | 70 | ; ## |
@@ -351,8 +362,9 @@ | |||
351 | ; already separated from packet handling with a queue, so this will only | 362 | ; already separated from packet handling with a queue, so this will only |
352 | ; affect whether networking internals such as packet decoding and | 363 | ; affect whether networking internals such as packet decoding and |
353 | ; acknowledgement accounting are done synchronously or asynchronously | 364 | ; acknowledgement accounting are done synchronously or asynchronously |
354 | async_packet_handling = false | 365 | ; |
355 | 366 | ;async_packet_handling = false | |
367 | |||
356 | ; The client socket receive buffer size determines how many | 368 | ; The client socket receive buffer size determines how many |
357 | ; incoming requests we can process; the default on .NET is 8192 | 369 | ; incoming requests we can process; the default on .NET is 8192 |
358 | ; which is about 2 4k-sized UDP datagrams. On mono this is | 370 | ; which is about 2 4k-sized UDP datagrams. On mono this is |
@@ -367,22 +379,26 @@ | |||
367 | ; by the system's settings for the maximum client receive buffer | 379 | ; by the system's settings for the maximum client receive buffer |
368 | ; size (on linux systems you can set that with "sysctl -w | 380 | ; size (on linux systems you can set that with "sysctl -w |
369 | ; net.core.rmem_max=X") | 381 | ; net.core.rmem_max=X") |
382 | ; | ||
370 | ;client_socket_rcvbuf_size = 8388608 | 383 | ;client_socket_rcvbuf_size = 8388608 |
371 | 384 | ||
372 | ; Maximum outbound bytes per second for a single scene. This can be used to | 385 | ; Maximum outbound bytes per second for a single scene. This can be used to |
373 | ; throttle total outbound UDP traffic for a simulator. The default value is | 386 | ; throttle total outbound UDP traffic for a simulator. The default value is |
374 | ; 0, meaning no throttling at the scene level. The example given here is | 387 | ; 0, meaning no throttling at the scene level. The example given here is |
375 | ; 20 megabits | 388 | ; 20 megabits |
389 | ; | ||
376 | ;scene_throttle_max_bps = 2621440 | 390 | ;scene_throttle_max_bps = 2621440 |
377 | 391 | ||
378 | ; Maximum bits per second to send to any single client. This will override | 392 | ; Maximum bits per second to send to any single client. This will override |
379 | ; the user's viewer preference settings. The default value is 0, meaning no | 393 | ; the user's viewer preference settings. The default value is 0, meaning no |
380 | ; aggregate throttling on clients (only per-category throttling). The | 394 | ; aggregate throttling on clients (only per-category throttling). The |
381 | ; example given here is 1.5 megabits | 395 | ; example given here is 1.5 megabits |
396 | ; | ||
382 | ;client_throttle_max_bps = 196608 | 397 | ;client_throttle_max_bps = 196608 |
383 | 398 | ||
384 | ; Per-client bytes per second rates for the various throttle categories. | 399 | ; Per-client bytes per second rates for the various throttle categories. |
385 | ; These are default values that will be overriden by clients | 400 | ; These are default values that will be overriden by clients |
401 | ; | ||
386 | ;resend_default = 12500 | 402 | ;resend_default = 12500 |
387 | ;land_default = 500 | 403 | ;land_default = 500 |
388 | ;wind_default = 500 | 404 | ;wind_default = 500 |
@@ -395,6 +411,7 @@ | |||
395 | ; Per-client maximum burst rates in bytes per second for the various | 411 | ; Per-client maximum burst rates in bytes per second for the various |
396 | ; throttle categories. These are default values that will be overriden by | 412 | ; throttle categories. These are default values that will be overriden by |
397 | ; clients | 413 | ; clients |
414 | ; | ||
398 | ;resend_limit = 18750 | 415 | ;resend_limit = 18750 |
399 | ;land_limit = 29750 | 416 | ;land_limit = 29750 |
400 | ;wind_limit = 18750 | 417 | ;wind_limit = 18750 |
@@ -403,6 +420,28 @@ | |||
403 | ;texture_limit = 55750 | 420 | ;texture_limit = 55750 |
404 | ;asset_limit = 27500 | 421 | ;asset_limit = 27500 |
405 | ;state_limit = 37000 | 422 | ;state_limit = 37000 |
423 | |||
424 | ; Configures how ObjectUpdates are aggregated. These numbers | ||
425 | ; do not literally mean how many updates will be put in each | ||
426 | ; packet that goes over the wire, as packets are | ||
427 | ; automatically split on a 1400 byte boundary. These control | ||
428 | ; the balance between responsiveness of interest list updates | ||
429 | ; and total throughput. Higher numbers will ensure more full- | ||
430 | ; sized packets and faster sending of data, but more delay in | ||
431 | ; updating interest lists | ||
432 | ; | ||
433 | ;PrimTerseUpdatesPerPacket = 25 | ||
434 | ;AvatarTerseUpdatesPerPacket = 10 | ||
435 | ;PrimFullUpdatesPerPacket = 100 | ||
436 | |||
437 | ; TextureSendLimit determines how many packets will be put on | ||
438 | ; the outgoing queue each cycle. Like the settings above, this | ||
439 | ; is a balance between responsiveness to priority updates and | ||
440 | ; total throughput. Higher numbers will give a better | ||
441 | ; throughput at the cost of reduced responsiveness to client | ||
442 | ; priority changes or transfer aborts | ||
443 | ; | ||
444 | ;TextureSendLimit = 20 | ||
406 | 445 | ||
407 | [Chat] | 446 | [Chat] |
408 | ; Controls whether the chat module is enabled. Default is true. | 447 | ; Controls whether the chat module is enabled. Default is true. |
@@ -1361,43 +1400,14 @@ | |||
1361 | ;RecycleDataBlocks = true; | 1400 | ;RecycleDataBlocks = true; |
1362 | 1401 | ||
1363 | 1402 | ||
1364 | [LLClient] | ||
1365 | ; Resend packets markes as reliable until they are received | ||
1366 | ; | ||
1367 | ;ReliableIsImportant = false | ||
1368 | |||
1369 | ; Maximum number of times to resend packets marked reliable | ||
1370 | ; | ||
1371 | ;MaxReliableResends = 3 | ||
1372 | |||
1373 | ; Configures how ObjectUpdates are compressed. | ||
1374 | ; | ||
1375 | ;TerseUpdatesPerPacket=10 | ||
1376 | ;FullUpdatesPerPacket=14 | ||
1377 | ;TerseUpdateRate=10 | ||
1378 | ;FullUpdateRate=14 | ||
1379 | |||
1380 | ;PacketMTU = 1400 | ||
1381 | |||
1382 | ; TextureSendLimit determines how many different textures | ||
1383 | ; will be considered on each cycle. Textures are selected | ||
1384 | ; by priority. The old mechanism specified a value of 10 for | ||
1385 | ; this parameter. | ||
1386 | ; | ||
1387 | ;TextureSendLimit = 10 | ||
1388 | |||
1389 | ; TextureDataLimit determines how many packets will be sent for | ||
1390 | ; each of the selected textures. Default is 5. | ||
1391 | ; | ||
1392 | ;TextureDataLimit = 5 | ||
1393 | |||
1394 | [InterestManagement] | 1403 | [InterestManagement] |
1395 | ; This section controls how state updates are prioritized for each client | 1404 | ; This section controls how state updates are prioritized for each client |
1396 | UpdatePrioritizationScheme = Distance | 1405 | ; Valid values are Time, Distance, SimpleAngularDistance, and FrontBack |
1397 | ReprioritizeUpdate = true | 1406 | UpdatePrioritizationScheme = FrontBack |
1398 | RootUpdateReprioritizationDistance = 10.0 | 1407 | ReprioritizationEnabled = true |
1399 | ChildUpdateReprioritizationDistance = 20.0 | 1408 | ReprioritizationInterval = 2000.0 |
1400 | ReprioritizeUpdatesInterval = 5000.0 | 1409 | RootReprioritizationDistance = 10.0 |
1410 | ChildReprioritizationDistance = 20.0 | ||
1401 | 1411 | ||
1402 | ;; | 1412 | ;; |
1403 | ;; These are defaults that are overwritten below in [Architecture]. | 1413 | ;; These are defaults that are overwritten below in [Architecture]. |