Skip to content

linux: Spawn at least two background threads (#44110) (cherry-pick to preview)#44157

Merged
zed-zippy[bot] merged 1 commit intov0.216.xfrom
cherry-pick-v0.216.x-9db0d662
Dec 4, 2025
Merged

linux: Spawn at least two background threads (#44110) (cherry-pick to preview)#44157
zed-zippy[bot] merged 1 commit intov0.216.xfrom
cherry-pick-v0.216.x-9db0d662

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Dec 4, 2025

Cherry-pick of #44110 to preview


Related to #44109,
#43884,
#43809.

In the Linux dispatcher, we create one background thread per CPU, but
when a single core is available, having a single background thread
significantly hinders the perceived performance of Zed. This is
particularly helpful when SSH remoting to low-resource servers.

We may want to bump this to more than two threads actually, but I wanted
to be conservative, and this seems to make a big difference already.

Release Notes:

  • N/A

Related to #44109,
#43884,
#43809.

In the Linux dispatcher, we create one background thread per CPU, but
when a single core is available, having a single background thread
significantly hinders the perceived performance of Zed. This is
particularly helpful when SSH remoting to low-resource servers.

We may want to bump this to more than two threads actually, but I wanted
to be conservative, and this seems to make a big difference already.

Release Notes:

- N/A
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 4, 2025
@zed-zippy zed-zippy bot merged commit 01ac5fc into v0.216.x Dec 4, 2025
23 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.216.x-9db0d662 branch December 4, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant