
-
SiO2
- Posts: 223
- Joined: Sun Feb 17, 2013 10:46 pm
horrible lags that blocks rendering
Hi! I experience some sort of weird lags for quite a while. After consulting and debugging with my modder-friend we came to conclusion that they happens when pool of defer-workers gets overflowed sometimes and, due to my too good PC (24 threads) big pool makes a total mess. Temporally I hardcoded "maxthreads" down to 6 and it solved the issue made game bearable. However I think I should draw some attention of developers over there. I know, there might be no elegant solution, but please fix it if possible.


Bronies for life /)
-
displaced
- Posts: 124
- Joined: Wed Feb 12, 2014 12:09 am
Re: horrible lags that blocks rendering
Is that a thing in the official client / ender or in another client?
-
SiO2
- Posts: 223
- Joined: Sun Feb 17, 2013 10:46 pm
Re: horrible lags that blocks rendering
I use Nurgling. However those lags are observable on official client as well. Mentioned above piece of the code belongs to the core client.
Bronies for life /)
-
Mashadar
- Posts: 379
- Joined: Thu Jan 20, 2011 9:34 am
Re: horrible lags that blocks rendering
Yeah, it rarely makes sense to use all available cores, at least for latency-sensitive workloads, since even a single background process using a CPU core can throw off things significantly. Using the HT cores can also do more harm than good for certain workloads.
So
may be a decent compromise.
So
Code: Select all
private final int maxthreads = Math.max(2, Math.min(6, Runtime.getRuntime().availableProcessors() / 2));