Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S sbws
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Network Health
  • sbws
  • Issues
  • #30233

Closed (moved)
(moved)
Open
Created Apr 18, 2019 by teor@teor

Ask for more bytes in our initial request

I don't know how we got this figure, but it seems really low:

# The number of bytes to initially request from the server
initial_read_request = 16384

Let's try to work out something more reasonable:

RELAY_REQUIRED_MIN_BANDWIDTH is 75 * 1024 = 76800 bytes per second. sbws wants measurements to take 6 seconds: 76800 * 6 = 460800. (or 76800 * 8 = 614400 after legacy/trac#30231 (moved).)

Downloading 1 MB on the current Tor network takes between 1-8 seconds: https://metrics.torproject.org/torperf.html?start=2019-01-18&end=2019-04-18&server=public&filesize=1mb

And 5 MB takes between 5-30 seconds: https://metrics.torproject.org/torperf.html?start=2019-01-18&end=2019-04-18&server=public&filesize=5mb

Most relays self-reported bandwidth is more than 500 kilobytes per second: https://metrics.torproject.org/advbwdist-relay.html?start=2019-01-18&end=2019-04-18&n=5000

So I suggest 1 MB:

# The number of bytes to initially request from the server
initial_read_request = 1048576
Assignee
Assign to
Time tracking