Skip to content

Low performance in cgi-mode #836

@withinboredom

Description

@withinboredom

What happened?

There is exceptionally low performance when not using worker mode.

There is more detail in #833, but this issue is strictly about performance and does not relate to benchmarks or docker.

Build Type

Docker (Debian Bookworm)

Worker Mode

No

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

N/A

Relevant log output

The main issue revolves around a tight loop in C.manager_thread being very slow due to context switching between go/c and single threaded.

The goal is to refactor how CGI mode works to take advantage of multiple cores/threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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