We had that way back on VMS, sort of. A scientist was calculating over his giant array in the wrong order. It was Fortran, so the natural order in memory is backwards. But every time he incremented the index it was in a different page. Eventually had him just swap I and J and it fixed it. It's a big deal with the entire building is shouting that the computer is too slow...
Maybe I'm confused. I thought the kernel lazily allocated pages as an optimization so you wouldn't know you'd run out of memory until you tried to access it?
you are talking about lazy allocation right? like when should physical pages be allocated - only on demand.
this meme is about thrashing - keep accessing a working set repeatedly which actually exceeds the available RAM, which will cause previously evicted pages to fault and displace other pages - over and over.
again thrashing doesnt happen just because working set exceeds available memory. its about the stupid access pattern. amongst other things.
also im still quite new to these things, i post memes whenever i get to such content.
Too much code to write for the given time frame. And frankly, a lot of code is boring to write anyway. I don't miss writing my umpteenth controller into use case into repository and all the tests by hand.
some of us can't afford to have a backbone, we'd rather be able to pay the bills. I'm happy for you having the leeway to stand up for what you believe in.
5
u/Maleficent_Memory831 25d ago
We had that way back on VMS, sort of. A scientist was calculating over his giant array in the wrong order. It was Fortran, so the natural order in memory is backwards. But every time he incremented the index it was in a different page. Eventually had him just swap I and J and it fixed it. It's a big deal with the entire building is shouting that the computer is too slow...
2
u/Usual_Office_1740 28d ago
I'll bet you are loving Linux right now.
/s
-129
u/[deleted] 29d ago edited 29d ago
[removed] — view removed comment