La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.
I'm writing a LD_PRELOAD program that maps an uncached memory segment as the stack to make your program run slower.
-
I'm writing a LD_PRELOAD program that maps an uncached memory segment as the stack to make your program run slower.
It does a lot of cursed thingies, like live-patching the stack for self-references.
I love doing increasingly weird things. -
@snowycoder run... slower?
for what purpose?
-
@steffo I need to measure register spill overhead, and the method we've come up with is to make the stack uncached. This should theoretically be the worst-case where other running threads steal your cache lines... I guess?