Skip to content

Syncing on Windows really slow #307

@ImmaZoni

Description

@ImmaZoni

Syncing on Windows takes about 6 Hours, on mac with the same internet connection this sync takes about 30 min. When starting on windows you get the following output. Which may indicate that only a single thread is being used for the syncing of the node, causing it to take significantly longer than needed. Issue has also been reported by a user aswell.

2022-03-29 22:43:19 Subspace
2022-03-29 22:43:19 ✌️  version 0.1.0-042302e-x86_64-windows-msvc
2022-03-29 22:43:19 ❤️  by Subspace Labs <https://subspace.network>, 2021-2022
2022-03-29 22:43:19 📋 Chain specification: Subspace testnet
2022-03-29 22:43:19 🏷  Node name: Void-1
2022-03-29 22:43:19 👤 Role: AUTHORITY
2022-03-29 22:43:19 💾 Database: RocksDb at C:\Users\Justin\AppData\Local\subspace-node-windows-x86_64-snapshot-2022-mar-09.exe\data\chains\subspace_test\db\full
2022-03-29 22:43:19 ⛓  Native runtime: subspace-100 (subspace-1.tx1.au1)
2022-03-29 22:43:50 Last archived block 265113
2022-03-29 22:43:50 Archiving already produced blocks 265114..=265202
2022-03-29 22:43:50 🏷  Local node identity is: 12D3KooWPJ3JoaHSG3fGBxHnkn5ASWqbUzFHAGdZk2kANp2t6bCA
2022-03-29 22:43:52 🧑‍🌾 Starting Subspace Authorship worker
2022-03-29 22:43:52 📦 Highest known block at #265302
2022-03-29 22:43:52 〽️ Prometheus exporter started at 127.0.0.1:9615
2022-03-29 22:43:52 Multi-threaded server is not available on Windows. Falling back to single thread.
2022-03-29 22:43:52 Listening for new connections on 0.0.0.0:9944.
2022-03-29 22:43:53 🔍 Discovered new external address for our node: /ip4/71.209.182.243/tcp/30333/p2p/12D3KooWPJ3JoaHSG3fGBxHnkn5ASWqbUzFHAGdZk2kANp2t6bCA
2022-03-29 22:43:57 ⚙️  Syncing, target=#336948 (24 peers), best: #265348 (0x12c1…3949), finalized #0 (0x332e…4a74), ⬇ 3.5MiB/s ⬆ 18.8kiB/s
2022-03-29 22:44:02 ⚙️  Syncing 12.9 bps, target=#336949 (25 peers), best: #265413 (0xcf82…8227), finalized #0 (0x332e…4a74), ⬇ 108.2kiB/s ⬆ 22.9kiB/s

Edit: Issue is also being tracked for users on the Forum here: https://community.subspace.network/t/multi-threaded-server-is-not-available-on-windows-falling-back-to-single-thread/46

Metadata

Metadata

Assignees

Labels

improvementit is already working, but can be better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions