mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
c6334e61aa
This adds the ability to have multiple concurrent connections to a single device. This is primarily useful when the network has multiple physical links for aggregated bandwidth. A single connection will never see a higher rate than a single link can give, but multiple connections are load-balanced over multiple links. It is also incidentally useful for older multi-core CPUs, where bandwidth could be limited by the TLS performance of a single CPU core -- using multiple connections achieves concurrency in the required crypto calculations... Co-authored-by: Simon Frei <freisim93@gmail.com> Co-authored-by: tomasz1986 <twilczynski@naver.com> Co-authored-by: bt90 <btom1990@googlemail.com>
189 lines
9.1 KiB
XML
189 lines
9.1 KiB
XML
<configuration version="37">
|
|
<folder id="default" label="" path="s1?files=10000" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="false" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
|
|
<filesystemType>fake</filesystemType>
|
|
<device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
<device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
<minDiskFree unit="%">1</minDiskFree>
|
|
<versioning>
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
<fsPath></fsPath>
|
|
<fsType>basic</fsType>
|
|
</versioning>
|
|
<copiers>1</copiers>
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
<hashers>0</hashers>
|
|
<order>random</order>
|
|
<ignoreDelete>false</ignoreDelete>
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
<pullerPauseS>0</pullerPauseS>
|
|
<maxConflicts>-1</maxConflicts>
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
<paused>false</paused>
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
<markerName>.stfolder</markerName>
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
<disableFsync>false</disableFsync>
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
<junctionsAsDirs>true</junctionsAsDirs>
|
|
<syncOwnership>false</syncOwnership>
|
|
<sendOwnership>false</sendOwnership>
|
|
<syncXattrs>false</syncXattrs>
|
|
<sendXattrs>false</sendXattrs>
|
|
<xattrFilter>
|
|
<maxSingleEntrySize>0</maxSingleEntrySize>
|
|
<maxTotalSize>0</maxTotalSize>
|
|
</xattrFilter>
|
|
</folder>
|
|
<device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" name="s1" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>tcp://127.0.0.1:22001</address>
|
|
<paused>false</paused>
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
<untrusted>false</untrusted>
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
<numConnections>3</numConnections>
|
|
</device>
|
|
<device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" name="s2" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>tcp://127.0.0.1:22002</address>
|
|
<address>quic://127.0.0.1:22002</address>
|
|
<paused>false</paused>
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
<untrusted>false</untrusted>
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
<numConnections>3</numConnections>
|
|
</device>
|
|
<gui enabled="true" tls="false" debugging="true">
|
|
<address>127.0.0.1:8081</address>
|
|
<user>testuser</user>
|
|
<password>$2a$10$7tKL5uvLDGn5s2VLPM2yWOK/II45az0mTel8hxAUJDRQN1Tk2QYwu</password>
|
|
<apikey>abc123</apikey>
|
|
<theme>default</theme>
|
|
</gui>
|
|
<ldap></ldap>
|
|
<options>
|
|
<listenAddress>tcp://127.0.0.1:22001</listenAddress>
|
|
<listenAddress>quic://127.0.0.1:22001</listenAddress>
|
|
<globalAnnounceServer>default</globalAnnounceServer>
|
|
<globalAnnounceEnabled>false</globalAnnounceEnabled>
|
|
<localAnnounceEnabled>true</localAnnounceEnabled>
|
|
<localAnnouncePort>21027</localAnnouncePort>
|
|
<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<reconnectionIntervalS>5</reconnectionIntervalS>
|
|
<relaysEnabled>false</relaysEnabled>
|
|
<relayReconnectIntervalM>10</relayReconnectIntervalM>
|
|
<startBrowser>false</startBrowser>
|
|
<natEnabled>true</natEnabled>
|
|
<natLeaseMinutes>0</natLeaseMinutes>
|
|
<natRenewalMinutes>30</natRenewalMinutes>
|
|
<natTimeoutSeconds>10</natTimeoutSeconds>
|
|
<urAccepted>3</urAccepted>
|
|
<urSeen>2</urSeen>
|
|
<urUniqueID>tmwxxCqi</urUniqueID>
|
|
<urURL>https://data.syncthing.net/newdata</urURL>
|
|
<urPostInsecurely>false</urPostInsecurely>
|
|
<urInitialDelayS>1800</urInitialDelayS>
|
|
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
|
|
<upgradeToPreReleases>false</upgradeToPreReleases>
|
|
<keepTemporariesH>24</keepTemporariesH>
|
|
<cacheIgnoredFiles>false</cacheIgnoredFiles>
|
|
<progressUpdateIntervalS>5</progressUpdateIntervalS>
|
|
<limitBandwidthInLan>false</limitBandwidthInLan>
|
|
<minHomeDiskFree unit="%">1</minHomeDiskFree>
|
|
<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
|
|
<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
|
|
<tempIndexMinBlocks>10</tempIndexMinBlocks>
|
|
<trafficClass>0</trafficClass>
|
|
<setLowPriority>true</setLowPriority>
|
|
<maxFolderConcurrency>0</maxFolderConcurrency>
|
|
<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
|
|
<crashReportingEnabled>true</crashReportingEnabled>
|
|
<stunKeepaliveStartS>180</stunKeepaliveStartS>
|
|
<stunKeepaliveMinS>20</stunKeepaliveMinS>
|
|
<stunServer>default</stunServer>
|
|
<databaseTuning>auto</databaseTuning>
|
|
<maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB>
|
|
<announceLANAddresses>true</announceLANAddresses>
|
|
<sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade>
|
|
<connectionLimitEnough>0</connectionLimitEnough>
|
|
<connectionLimitMax>0</connectionLimitMax>
|
|
<insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions>
|
|
<connectionPriorityTcpLan>10</connectionPriorityTcpLan>
|
|
<connectionPriorityQuicLan>20</connectionPriorityQuicLan>
|
|
<connectionPriorityTcpWan>30</connectionPriorityTcpWan>
|
|
<connectionPriorityQuicWan>40</connectionPriorityQuicWan>
|
|
<connectionPriorityRelay>50</connectionPriorityRelay>
|
|
<connectionPriorityUpgradeThreshold>0</connectionPriorityUpgradeThreshold>
|
|
</options>
|
|
<defaults>
|
|
<folder id="" label="" path="~" type="sendreceive" rescanIntervalS="3600" fsWatcherEnabled="true" fsWatcherDelayS="10" ignorePerms="false" autoNormalize="true">
|
|
<filesystemType>basic</filesystemType>
|
|
<device id="I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU" introducedBy="">
|
|
<encryptionPassword></encryptionPassword>
|
|
</device>
|
|
<minDiskFree unit="%">1</minDiskFree>
|
|
<versioning>
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
<fsPath></fsPath>
|
|
<fsType>basic</fsType>
|
|
</versioning>
|
|
<copiers>0</copiers>
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
<hashers>0</hashers>
|
|
<order>random</order>
|
|
<ignoreDelete>false</ignoreDelete>
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
<pullerPauseS>0</pullerPauseS>
|
|
<maxConflicts>10</maxConflicts>
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
<paused>false</paused>
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
<markerName>.stfolder</markerName>
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
<disableFsync>false</disableFsync>
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
|
<syncOwnership>false</syncOwnership>
|
|
<sendOwnership>false</sendOwnership>
|
|
<syncXattrs>false</syncXattrs>
|
|
<sendXattrs>false</sendXattrs>
|
|
<xattrFilter>
|
|
<maxSingleEntrySize>1024</maxSingleEntrySize>
|
|
<maxTotalSize>4096</maxTotalSize>
|
|
</xattrFilter>
|
|
</folder>
|
|
<device id="" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
|
<address>dynamic</address>
|
|
<paused>false</paused>
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
<maxSendKbps>0</maxSendKbps>
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
<untrusted>false</untrusted>
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
<numConnections>3</numConnections>
|
|
</device>
|
|
<ignores></ignores>
|
|
</defaults>
|
|
</configuration>
|