[GH-ISSUE #4187] [Issue]: Active Marinara tab slows local LLM generation #2265

Closed
opened 2026-10-21 05:46:49 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4187

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Keeping the Marinara browser tab active during response or GM mode scenario generation reduces local LLM token generation speed by at least half on limited GPU hardware.

Expected behavior

Local LLM generation should proceed at its normal speed without timing out while the Marinara tab is active.

Actual behavior

Token generation slows by at least half when the Marinara tab is active. Generation can time out before completion and cause a connection loss.

Steps to reproduce

  1. Connect Marinara to a local LLM.
  2. Start a response or generate a GM mode scenario.
  3. Keep the Marinara tab active during generation.
  4. Observe the reduced token generation speed and possible timeout.
  5. Switch to an empty browser tab and observe that generation speeds up.

Environment

  • Marinara Engine version: 2.3.4
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Browser; specific browser not provided

Logs, screenshots, or video

No logs, screenshots, or video provided.

Additional context

GPU: NVIDIA GeForce RTX 3060 12GB. The current workaround is to switch to an empty tab during generation. The reporter also observed a more significant slowdown when the Discord page is active and noted that the issue may be more noticeable when GPU performance is insufficient.

Discord thread: An active Marinara page slows down the local LLM
Discord thread link: https://discord.com/channels/1417099416812392641/1531416543211294850
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-27T21:42:36.245Z] Krewetco: I noticed that when the tab is active during response or GM mode scenario generation on a local LLM, the token generation speed drops by at least half. This caused the generation to time out before completion, leading to a connection loss.
For now, the workaround is to switch to an empty tab to speed up generation.
I don't expect a quick fix for this, as having the Discord page active in the browser slows down the local LLM's performance even more significantly.
It is worth noting that having the Marinara page or Discord page active can drastically slow down token generation if the GPU lacks sufficient performance.
Version 2.3.4
GPU: RTX 3060 12GB
[Discord message: https://discord.com/channels/1417099416812392641/1531416543211294850/1531416543211294850]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4187 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Keeping the Marinara browser tab active during response or GM mode scenario generation reduces local LLM token generation speed by at least half on limited GPU hardware. ## Expected behavior Local LLM generation should proceed at its normal speed without timing out while the Marinara tab is active. ## Actual behavior Token generation slows by at least half when the Marinara tab is active. Generation can time out before completion and cause a connection loss. ## Steps to reproduce 1. Connect Marinara to a local LLM. 2. Start a response or generate a GM mode scenario. 3. Keep the Marinara tab active during generation. 4. Observe the reduced token generation speed and possible timeout. 5. Switch to an empty browser tab and observe that generation speeds up. ## Environment - Marinara Engine version: 2.3.4 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Browser; specific browser not provided ## Logs, screenshots, or video No logs, screenshots, or video provided. ## Additional context GPU: NVIDIA GeForce RTX 3060 12GB. The current workaround is to switch to an empty tab during generation. The reporter also observed a more significant slowdown when the Discord page is active and noted that the issue may be more noticeable when GPU performance is insufficient. Discord thread: An active Marinara page slows down the local LLM Discord thread link: https://discord.com/channels/1417099416812392641/1531416543211294850 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-27T21:42:36.245Z] Krewetco: I noticed that when the tab is active during response or GM mode scenario generation on a local LLM, the token generation speed drops by at least half. This caused the generation to time out before completion, leading to a connection loss. For now, the workaround is to switch to an empty tab to speed up generation. I don't expect a quick fix for this, as having the Discord page active in the browser slows down the local LLM's performance even more significantly. It is worth noting that having the Marinara page or Discord page active can drastically slow down token generation if the GPU lacks sufficient performance. Version 2.3.4 GPU: RTX 3060 12GB [Discord message: https://discord.com/channels/1417099416812392641/1531416543211294850/1531416543211294850] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:49 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

Implementation is now owned by @SpicyMarinara in draft PR #4193. The sweep is tracing active-tab GPU/compositor work and will add focused performance regression coverage before the PR is marked ready.

<!-- gh-comment-id:5098011386 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): Implementation is now owned by @SpicyMarinara in draft PR #4193. The sweep is tracing active-tab GPU/compositor work and will add focused performance regression coverage before the PR is marked ready.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 28, 2026):

Completed by #4193, now merged into staging as 62948b495.

<!-- gh-comment-id:5098322088 --> @SpicyMarinara commented on GitHub (Jul 28, 2026): Completed by #4193, now merged into `staging` as 62948b495.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2265
No description provided.