flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vivik 30 Jul 2017, 20:05
I found this article by randomly googling "thread stack address".
https://software.intel.com/en-us/articles/adjusting-thread-stack-address-to-improve-performance-on-intel-xeonr-processors I don't get it. They recommend wasting space on stack for some reason, in multithreaded apps? I haven't heard anything like that before. Is this real? "Two threads with very similar stack frame images and access patterns to local variables on the stack are very likely to cause alias conflicts resulting in significant performance degradation." |
|||
![]() |
|
AsmGuru62 30 Jul 2017, 20:29
Maybe this one:
https://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-optimization-manual.html 3.6.7 Stack Alignment At some point it talks about the stalls happening when code mixes store/loads with addresses, which are different by a MULTIPLE of 4Kb. Usually stack frames are different by these values. |
|||
![]() |
|
vivik 31 Jul 2017, 07:05
The first link mentions counting "the number of 64KB alias events". Is it possible to actually receive and count them? How?
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.