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

Bugfixes #466

Merged
merged 8 commits into from Dec 10, 2015
Merged

Bugfixes #466

merged 8 commits into from Dec 10, 2015

Conversation

ulteq
Copy link
Contributor

@ulteq ulteq commented Dec 5, 2015

Fixes #1, #28 and improves #220:

  • Replaces the variable physics time step with a fixed time step of 0.5 ms.
  • Reduces the number of threads in the thread pool by half (only when Hyper-Threading is used).
  • Corrects the "calcforward" logic in the inter truck collision code.
  • Improves the efficiency of the multi-threaded inter truck collision code.
  • Reverts this commit: d3ffea0

@Speciesx
Copy link
Contributor

Speciesx commented Dec 5, 2015

"Reduces the number of threads in the thread pool by half."
When i will further use 4 threads on my Quad-Core CPU, what i need to do, set NumThreadsInThreadPool to 4 or 8?

@ulteq
Copy link
Contributor Author

ulteq commented Dec 5, 2015

NumThreadsInThreadPool=4

Here is a benchmark map: simpleTest.zip

@Speciesx
Copy link
Contributor

Speciesx commented Dec 5, 2015

Do you have a Windows Build with your changes?

@ulteq
Copy link
Contributor Author

ulteq commented Dec 5, 2015

Do you have a Windows Build with your changes?

Unfortunately not.

@Hiradur
Copy link
Contributor

Hiradur commented Dec 6, 2015

👍

@Speciesx
Copy link
Contributor

Speciesx commented Dec 8, 2015

I've pretty big improvements with Gavril cars, but no with Tatra Dakar.
Updated test with 2, 4 and 6 Tatras.
simpleTest.zip
http://www.rigsofrods.com/repository/view/3686

ohlidalp pushed a commit that referenced this pull request Dec 10, 2015
Signifficant performance improvements by Ulteq
@ohlidalp ohlidalp merged commit 83a5513 into RigsOfRods:master Dec 10, 2015
@ulteq ulteq deleted the bugfixes branch December 19, 2015 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Low fps with 3 car compared to older versions.
4 participants