mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
update to high load documentation
This commit is contained in:
parent
29b834cf56
commit
6bbe4181fc
@ -189,8 +189,8 @@ you can eliminate Nagle's algorithm delay with TCP_NODELAY flag. Usage example:
|
|||||||
proxy -osTCP_NODELAY -ocTCP_NODELAY
|
proxy -osTCP_NODELAY -ocTCP_NODELAY
|
||||||
</pre>
|
</pre>
|
||||||
sets TCP_NODELAY for client (oc) and server (os) connections.
|
sets TCP_NODELAY for client (oc) and server (os) connections.
|
||||||
<p>Do not use TCP_NODELAY on slow connections, if connection bandwidth is
|
<p>Do not use TCP_NODELAY on slow connections with high delays and then
|
||||||
bottleneck, or because it may be more bandwidth-consuming.
|
connection bandwidth is a bottleneck.
|
||||||
<h4>Use slice to speedup large data amount transfers</h4>
|
<h4>Use slice to speedup large data amount transfers</h4>
|
||||||
slice() allows to copy data between connections without copying to process
|
slice() allows to copy data between connections without copying to process
|
||||||
addres space. It can speedup proxy on high bandwidth connections, if most
|
addres space. It can speedup proxy on high bandwidth connections, if most
|
||||||
@ -203,7 +203,7 @@ devel version. Do not use it in production without testing. Slice requires
|
|||||||
more system buffers, but reduces process memory usage.
|
more system buffers, but reduces process memory usage.
|
||||||
Do not use slice if there is a lot of short-living connections with no bandwidth
|
Do not use slice if there is a lot of short-living connections with no bandwidth
|
||||||
requirements.
|
requirements.
|
||||||
<p>Use slice only on high-speed connections (e.g. 10GBE), where processor or
|
<p>Use slice only on high-speed connections (e.g. 10GBE), if processor or
|
||||||
bus are bottlenecks.
|
bus are bottlenecks.
|
||||||
<p>TCP_NODELAY and slice are not contrary to each over and can be combined on
|
<p>TCP_NODELAY and slice are not contrary to each over and can be combined on
|
||||||
high-speed connections.
|
high-speed connections.
|
||||||
|
Loading…
Reference in New Issue
Block a user