Forum Discussion
@Falkentyne, it is doing a loop, so the data will be coming through L3 cache. Some of the data never changes, and some is being produced in another thread.
However, the crashes are all related to instructions, not data. The instruction cache is 256 kiB on an i9-9900K, which is more than enough to hold this function. So normally the whole function will be in the instruction cache after the first iteration. This crash always occurs after a different number of iterations, but the fewest I've seen is still 137 iterations.
Now, that doesn't mean the problem CAN'T be the cache. Windows is a preempting OS, so it can switch to another program and/or migrate this thread to another core. If either of those happens, it effectively flushes the L1 instruction cache, so it has to refill, which probably will go through L3 cache.
On the other hand, if it was the cache and not related to the actual instruction sequence, I would expect this bug to show up throughout the executable. Instead, they're always in this one function. So even if L3 cache is a factor, it seems like it may just affect timing, which also appears to be a factor. Also, if it was cache related, I'd expect
Sorry, my phone scrolled to put the submit button where the keyboard used to be.
Anyway, I'd expect the function to tend to crash on the first time through the loop if it was L3 cache related, since that's when the instructions are coming through L3.
I really appreciate these experiments @Falkentyne, they'ree very helpful and informative!
- 7 years ago
I don't know if this helps, but if the core voltage is far too low, Apex will sometimes throw out a WHEA logged correctable "CPU TLB" error
"Translation Lookaside Buffer" error. (the game doesn't crash at the same time this error happens however).
What would cause Apex Legends to throw out this error?
This is all I can find:
https://en.wikipedia.org/wiki/Translation_lookaside_buffer
I really wish i had learned programming. What Apex is doing is very interesting.
Everyone thought it was AVX instructions but it seems to be SSE2 or other things.
About Apex Legends Technical Issues
Community Highlights
- EA_Blueberry7 years ago
Community Manager
Recent Discussions
- 11 minutes ago
- 2 hours ago
- 2 hours ago
- 5 hours ago
- 9 hours ago