Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Time-based TSC for non-Ryzen CPUs #16618

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jan 25, 2025

See #16545
Fixes #16604

@elad335 elad335 added the Performance Performance related, not directly an optimization. label Jan 25, 2025
@elad335 elad335 mentioned this pull request Jan 25, 2025
@kd-11
Copy link
Contributor

kd-11 commented Jan 25, 2025

I don't think TSC variance is the issue. It's the calculated frequency that usually has problems, at least since the late 2000s.

@daviDarthemis
Copy link

In arm environment the tsc is calculated with 19hz

@schm1dtmac
Copy link
Contributor

In arm environment the tsc is calculated with 19hz

AFAIK (correct me if I’m wrong) Apple Silicon uses 24Mhz, except for with M3 and later on macOS 15+ which now uses 1Ghz, based on these notes: https://developer.apple.com/documentation/macos-release-notes/macos-15-release-notes#Platform

@elad335 elad335 closed this Jan 31, 2025
@elad335 elad335 reopened this Jan 31, 2025
@elad335 elad335 changed the title Exterimental: Performance: Artificially synchronized TSC Enable Time-based TSC for non-Ryzen CPUs Jan 31, 2025
@elad335 elad335 merged commit 394fc8e into RPCS3:master Jan 31, 2025
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Performance related, not directly an optimization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Regression] 15% Performance hit in Red Dead Redemption (Probably other titles too) (#16499)
4 participants