[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: TTL settings for Tor



On Mon, 14 Apr 2008 02:14:37 +0200, Juliusz Chroboczek wrote:

>> Is there a way to tune TCPIP parameteres in Windows to better work with Tor?
> 
> Short answer -- no.  Tor's slowness is at the application layer, you
> won't achieve much by tweaking the transport layer.
> 
>> For example, should DefaultTTL be increased, so that packets don't expire
>> in transit?
> 
> No.
> 
>> What TCPWindowSize is better suited for Tor?
> 
> This is not specific to tor -- you should set this to be larger than
> your bandwidth-delay product.  Since Internet paths tend to be in the
> 20 to 300 ms range, if you've got enough memory you may want to set it
> to one-third your throughput in *bytes* per second.
> 
> For example, if you're running on a 1Mbit ADSL line, you should set it
> to 42 kB or more (1000000 / 8 / 3).
> 
> A few caveats:
> 
>  - do *not* tweak your TCP windows if you're running Windows Vista or
>    a recent Linux (don't know about the BSDs); these systems do
>    automatic tuning, and are likely to do a better job than you;
>  - do *not* tweak your TCP windows if you are a gamer; increasing
>    your TCP windows will increase your latency;
>  - do *not* tweak your TCP windows if you're short on memory; you pay
>    for one TCP window for every single TCP socket.
> 
>                                         Juliusz

Thanks. I'll leave those settings alone. But is there anything else I can
do? 

I tried everything except "procedure 3" and DNS cache tweaks as per:
http://wiki.noreply.org/noreply/TheOnionRouter/FireFoxTorPerf
I do not see any difference. In fact, it got slower.

I'm tired of hitting "reload" button in Firefox after constantly getting
"connection times out" error >:(
Is everybody suffering like that or am I doing something wrong?