Skip to content

opencode uses ~30-50% CPU per process and slows LLM responses to a crawl #679

@bczsalba

Description

@bczsalba

Again, only happens on my Ubuntu machine. Claude Sonnet 4 with API credentials, didn't use to happen as late as 0.1.172 and definitely was a problem by 0.1.176. I can pinpoint it down further in a few hours if necessary.

Immediately on the compose screen it ramps to around 20-30% CPU usage per process, but I've also seen it as high as 70-90% PP. LLM responses slow down with increased CPU usage too. That part could be throttling on the OS side, but I don't see a reason this machine should have much of a problem running opencode.

Image
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions