Re:MiB Working Sets on a 64 GiB machine
by jacobgorm on Wednesday October 04, 2023 @01:40PM
(#37768820)
Probably because the files to be binary patched are now quite large, and are loaded into memory verbatim. Perhaps they could memory-map them instead, and ensure that their binary diffing tool works from left to right to avoid thrashing?
[ Parent
| on HN ]
Re:MiB Working Sets on a 64 GiB machine
by Dylan16807 on Wednesday October 04, 2023 @09:46PM
(#37774023)
How do you know it's not memory mapped?
Working left to right means you have to force the compiler to always align the code in the same order, which sounds difficult and like a waste of time.
Re:MiB Working Sets on a 64 GiB machine
by jacobgorm on Thursday October 05, 2023 @04:59AM
(#37776355)
No.
Re:MiB Working Sets on a 64 GiB machine
by Dylan16807 on Thursday October 05, 2023 @01:21PM
(#37781313)
If you want both the input and the output to go left to right, Yes.
If you only make the output go left to right, you don't actually save much memory. You're still randomly accessing a huge buffer.