kernel: remove event queue wait logging #2569

Manually merged
github merged 1 commit from github-bot/gh-2569 into gh-pr/2569/base 2026-11-27 00:43:27 +00:00 AGit
Owner

@⁠Nawid3333 on GitHub · 2026-11-26 20:56 UTC · original
Nawid3333:fix/eventqueue-wait-log-removal → main · +0 −14 · 1 files · 1 commits · merged 2026-11-26 22:44 UTC

KernelWaitEqueue writes Equeue wait: <queue>, caller = ..., thread_id = N before every wait and Equeue wait received N events: ident = ..., data = ... after every wake-up. Games wait on their flip, EOP, AMPR and I/O queues over and over, so these two lines fill a large part of tester logs.

In 54 distinct tester logs that contain them (8.60 GB in total) they are 9,893,199 lines and 1,521 MB, up to 58.3 % of a log. The largest shares:

Report Build Wait + received lines Share of _kyty.txt
#2267 (Arcade Paradise) KytyPS5-2026-11-12-58ca8d1 450,942 58.3 % of 117 MB
#1930 (Gran Turismo 7) source a0b083c 432,550 54.0 % of 121 MB
#2268 (Suika Game) KytyPS5-2026-11-12-58ca8d1 193,200 43.0 % of 74 MB

Change

Both lines are removed, the way the clamped buffer range line was removed when #2540 was merged (46741529f). The Equeue wait timedout line stays: earlier reports such as #411 counted timeouts with it. The fmt include had no other user in the file.

Tests

No behaviour change. The file builds on Windows (clang-cl) and passes the Linux syntax check.

Refs #2267, #1930, #2268

AI use: drafted with AI assistance (Claude Code); verified by me.

**@⁠Nawid3333** on GitHub · 2026-11-26 20:56 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2569) `Nawid3333:fix/eventqueue-wait-log-removal` → `main` · +0 −14 · 1 files · 1 commits · merged 2026-11-26 22:44 UTC `KernelWaitEqueue` writes `Equeue wait: <queue>, caller = ..., thread_id = N` before every wait and `Equeue wait received N events: ident = ..., data = ...` after every wake-up. Games wait on their flip, EOP, AMPR and I/O queues over and over, so these two lines fill a large part of tester logs. In 54 distinct tester logs that contain them (8.60 GB in total) they are 9,893,199 lines and 1,521 MB, up to 58.3 % of a log. The largest shares: | Report | Build | Wait + received lines | Share of `_kyty.txt` | |---|---|---|---| | #2267 (Arcade Paradise) | `KytyPS5-2026-11-12-58ca8d1` | 450,942 | 58.3 % of 117 MB | | #1930 (Gran Turismo 7) | source `a0b083c` | 432,550 | 54.0 % of 121 MB | | #2268 (Suika Game) | `KytyPS5-2026-11-12-58ca8d1` | 193,200 | 43.0 % of 74 MB | ## Change Both lines are removed, the way the clamped buffer range line was removed when #2540 was merged (46741529f). The `Equeue wait timedout` line stays: earlier reports such as #411 counted timeouts with it. The `fmt` include had no other user in the file. ## Tests No behaviour change. The file builds on Windows (clang-cl) and passes the Linux syntax check. Refs #2267, #1930, #2268 AI use: drafted with AI assistance (Claude Code); verified by me.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:57:32 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-11-26 20:57 UTC · original

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change removes two diagnostic log statements from KernelWaitEqueue and removes the fmt/format.h include. Event-queue behavior and public declarations are otherwise unchanged.

Change: Other

Merge Risk: Minimal · up to 0cac2

This change removes verbose per-wait and per-wake-up event queue log lines to cut tester log volume. Event queue behavior is unchanged and the timeout log line is preserved. Merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing event queue wait logging from the kernel. The raw summary confirms that the KernelWaitEqueue wait and wake-up log lines are deleted in eventQueue.cpp, so the …
Description check Passed The description explains the change. It states that the KernelWaitEqueue wait and received-event log lines are removed to cut tester log volume, keeps the Equeue wait timedout line, and notes the fmt …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: removing event queue wait logging from the kernel. The raw summary confirms that the KernelWaitEqueue wait and wake-up log lines are deleted in eventQueue.cpp, so the title matches the changeset.

Full details: Description check

Explanation

The description explains the change. It states that the KernelWaitEqueue wait and received-event log lines are removed to cut tester log volume, keeps the Equeue wait timedout line, and notes the fmt include removal and the build checks. This matches the changeset described in the raw summary.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b3d8c04844 and 0cac2b7381.

Files selected for processing: 1

  • src/kernel/eventQueue.cpp
Files with no reviewable changes: 1

  • src/kernel/eventQueue.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

**@⁠coderabbitai[bot]** on GitHub · 2026-11-26 20:57 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2569#issuecomment-7203245704) <!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/2569?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_status_start --> No actionable comments were generated in the recent review. <!-- recent_review_status_end --> <!-- walkthrough_start --> <details> <summary><strong>Walkthrough</strong></summary> <dl> <dd> <br> The change removes two diagnostic log statements from `KernelWaitEqueue` and removes the `fmt/format.h` include. Event-queue behavior and public declarations are otherwise unchanged. </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> <!-- change_assessment_commit:"0cac2b73816ed56bc2fb9f7b07e724385400fdca" --> <!-- change_assessment_priority:{"version":1,"urgency":"p3","manual":false} --> **Change:** Other <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>0cac2</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `0cac2` --> <!-- final_review_risk_coverage:{"sourceCommitId":"0cac2b73816ed56bc2fb9f7b07e724385400fdca","coveredCommitId":"0cac2b73816ed56bc2fb9f7b07e724385400fdca","kind":"reviewed"} --> This change removes verbose per-wait and per-wake-up event queue log lines to cut tester log volume. Event queue behavior is unchanged and the timeout log line is preserved. Merge risk is minimal. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary> <dl> <dd> <br> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title names the main change: removing event queue wait logging from the kernel. The raw summary confirms that the KernelWaitEqueue wait and wake-up log lines are deleted in eventQueue.cpp, so the … | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description explains the change. It states that the KernelWaitEqueue wait and received-event log lines are removed to cut tester log volume, keeps the Equeue wait timedout line, and notes the fmt … | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | <details> <summary><strong>Full details: Title check</strong></summary> <dl> <dd> <br> **Explanation** The title names the main change: removing event queue wait logging from the kernel. The raw summary confirms that the KernelWaitEqueue wait and wake-up log lines are deleted in eventQueue.cpp, so the title matches the changeset. </dd> </dl> </details> <details> <summary><strong>Full details: Description check</strong></summary> <dl> <dd> <br> **Explanation** The description explains the change. It states that the KernelWaitEqueue wait and received-event log lines are removed to cut tester log volume, keeps the Equeue wait timedout line, and notes the fmt include removal and the build checks. This matches the changeset described in the raw summary. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=2569)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> <br> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- recent_review_start --> <h6> <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <br> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: [KytyPS5/KytyPS5](<https://github.com/KytyPS5/KytyPS5>) - **Branch**: [main](<https://github.com/KytyPS5/KytyPS5/tree/main>) - **File**: [.coderabbit.yaml](<https://github.com/KytyPS5/KytyPS5/blob/b3d8c04844c89f6623e30044e33b570ba357b2f5/.coderabbit.yaml>) - **Commit**: [b3d8c04](<https://github.com/KytyPS5/KytyPS5/commit/b3d8c04844c89f6623e30044e33b570ba357b2f5>) - **Layers**: Repository YAML - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `e312b802-80f8-41eb-82cf-979dc24aa98e` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between b3d8c04844c89f6623e30044e33b570ba357b2f5 and 0cac2b73816ed56bc2fb9f7b07e724385400fdca. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 1</strong></summary> <dl> <dd> <br> * `src/kernel/eventQueue.cpp` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files with no reviewable changes: 1</strong></summary> <dl> <dd> <br> * src/kernel/eventQueue.cpp </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
github-bot changed target branch from main to gh-pr/2569/base 2026-11-27 00:43:26 +00:00
github manually merged commit 0cac2b7381 into gh-pr/2569/base 2026-11-27 00:43:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.