Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Snowflake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • 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
  • Anti-censorship
  • Pluggable Transports
  • Snowflake
  • Issues
  • #40085
Closed
Open
Created Dec 21, 2021 by David Fifield@dcfOwner

Upgrade CPU capacity of bridge

The snowflake bridge is currently using most of its 4 CPUs. Most of the use is by snowflake-server. This was noticed by @meskio at #40060 (comment 2767868).

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 1822 debian-+  20   0 4020400   2.0g   8192 R 250.7  26.4 156:08.20 snowflake-server
 1821 debian-+  20   0  831256 521804 106116 R  82.7   6.4  53:23.49 tor
 1779 snowfla+  20   0 1305556  47036   9068 S  16.0   0.6   6:27.23 proxy-go
 1788 snowfla+  20   0 1231824  43688   8988 S  10.7   0.5   3:18.65 proxy-go

CPU Usage (%), 2021-12-21 05:11:27 to 2021-12-22 05:11:27

We should probably profile snowflake-server to find the hotspots to reduce its CPU usage (#40086), but for now we can redeploy on hardware with more CPUs. We're still doing okay with memory.

We are currently using

  • 8 GiB / 4 CPU cores (40.75 credits)

And our options for upgrading are

  • 12 GiB / 6 CPU cores (60.75 credits)
  • 16 GiB / 8 CPU cores (80.75 credits)

I would tend to push it to the max, seeing how user growth is going.

A previous bridge upgrade issue was #40051 (closed).

Edited Dec 22, 2021 by David Fifield
Assignee
Assign to
Time tracking