TGen error causes #2134
-
|
I have been running large-scale Tor simulations using tornettools, which simulates clients with TGen. After some analysis, I've found that most of the errors that occur in TGen clients are "READEOF," and this seems to happen very often (up to 30% error rate with the 5 MiB stream with no padding machines enabled). However, I haven't been able to determine the source of this error. I took a brief look through the TGen source code, and there doesn't seem to be any reason why sockets are being closed early. This might make more sense if the errors were happening during a setup phase (such as SOCKS connection), but they tend to occur after a fair number of bytes have already been sent. I was hoping that someone might have some insight into this, or at least be able to point me to some resource that might be useful in figuring out the reason for these errors. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
I hope you're finding our tools useful :)
Just so we're on the same page, tornettools will create two main client types: perf clients and Markov clients. I think when you stated you had "no padding machines enabled" I think you meant that you had no Markov clients running. And so I think you're asking about errors on the fixed 5MiB transfer perf clients. 30% (Also, note that timeouts are more common for the Markov model clients because the probabilistic delay model can eventually lead to a timeout.) |
Beta Was this translation helpful? Give feedback.
I hope you're finding our tools useful :)
Just so we're on the same page, tornettools will create two main client types: perf clients and Markov clients. I think when you stated you had "no padding machines enabled" I think you meant that you had no Markov clients running. And so I think you're asking about errors on the fixed 5MiB transfer perf clients.
30%
READEOFerrors does indeed sound bad. I don't generally get error rates that high. Something that could possibly make sense could be a timeout, since it's only happening on 5MiB downloads an…