and Linux already has soft offlining support! MADV_SOFT_OFFLINE (as root) will transparently stop using a given page as soon as possible, moving existing users to a new copy of the data
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hrmmm, I like the idea but it also seems like a predictable response, using core resources, that could be exploited. Can I intentionally SEGV and impede other resources? Can I learn anything from imposing delays on other processes outside of my address space :)
-
attack ideas I can come up with against a naive implementation: - you could perform eviction from the page cache more efficiently - might be useful for rowhammer - you could temporarily steal memory from the system (effectively a DoS) but I think these are avoidable problems
- 6 more replies
New conversation -
-
-
What would it scan for? How would it recognize which part was bad? I assume this is without ECC otherwise you would get ECC errors and not random segfaults...
-
the kernel already comes with https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/memtest.c … . you write different patterns to memory, ideally CLFLUSH the memory, and then read the data back and look for bits that are wrong
- 3 more replies
New conversation -
-
-
Also...In the server (ECC) case, you’d hope there would be poisoning and that we would do more with that than we do, especially with workstations having ECC these days (Ryzen et al).
-
I'm mostly thinking of my home machines that don't have ECC here :P
- 1 more reply
New conversation -
-
-
Make a cron that creates a random file in a ramdisk then md5sum the file a few times and ensure the sums match. Crude trick that works most of the time to ID bad RAM.
-
Careful, you’re starting to sound like a hardware guy :)
End of conversation
New conversation -
-
-
does any other OS ever have/haf that feature?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.