Skip to content

zed-remote-server heavy CPU usage during compilation #40244

@bjackman

Description

@bjackman

Summary

While I am compiling the linux kernel on a remote server, the zed-remote-server spins up 300 threads and uses 100% of a CPU.

Description

Sorry not sure what details to provide here, I suspect not much is needed beyond the reference to the linux kernel tree, I guess this is something to do with the build process and its .gitignore.

So I think the repro would be:

  1. Clone that repo on a remote server
  2. Open it via Zed remoting
  3. Install build deps. On a Debian system this is something like build-essential bc python bison flex rsync . If you have Nix you can use nix develop github:bjackman/limmat-kernel-nix#kernel to get a shell with deps installed
  4. In the kernel tree: make defconfig && make -sj100

While that's compiling you'lll see zed-remote-server hogging resources.

Zed Version and System Specs

Zed: v0.207.4 (Zed)
OS: Linux Wayland debian unknown
Memory: 62.3 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (MTL) || Intel open-source Mesa driver || Mesa 25.0.7-2

Remote host is a Debian Linux server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceFeedback for performance issues, speed, memory usage, etc

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions