Skip to content

How to config the network generation so that it approaches the performance of the real Tor network? #121

@higher-order

Description

@higher-order

I noticed that for smaller networks, such as 5% ones, its performance in the simulation is way better than the real Tor network. From the plots, their goodput lines are a lot further on the right, while their error rate lines are a lot further on the left (close to 0%), compared to the "Public Tor" line. This is shown in the attached PDF. "Original" is a network that is simulated as is after generation, and "sbws" is a network that additionally has sbws running.

tornet.plot.pages.pdf

Therefore I assume the generated 5% network doesn't reflect real Tor's performance. I thought maybe I should change the parameters to tornettools generate to increase the number of clients. This is because although the number of relays is indeed 5% of what's in the real world, the number of clients seems to be much fewer than 5% of the millions of clients in the real world. But there are quite a few parameters, such as network scale, process scale, server scale, load scale, etc. I reviewed the Once is Never Enough paper to see what are the parameters used there. But in section 4.3, it says a process scale of 0.01 is used, which is the current default. It's just that the network scale is 31%. And the plotted lines are pretty close to the real Tor's lines.

So now I'm wondering if I should change the params for 5% networks at all so that their lines approach real Tor's, or are the params already optimal and changing them will actually deviate the simulation from reality? If I do need to change, which value should I pick for which param?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions