this post was submitted on 26 Jan 2025
56 points (100.0% liked)

Linux

5864 readers
405 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

A set of patches being worked on by Oracle engineers allow for optionally sharing page table entries (PTEs) between processes. For some workloads this can equate to very significant memory savings.

The patches being worked on by Oracle engineers introduce a new in-memory file-system (MSHAREFS) and allow for optionally sharing page table entries between processes. With certain classes of workloads, this can mean very significant memory savings -- huge savings in fact as noted in the patch cover letter after Oracle realized this memory overhead in actual use on a database server.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] pivot_root 12 points 1 week ago (1 children)

Improvements are never a bad thing, but this strikes me as a "Oracle fixing a uniquely-Oracle problem" kind of situation.

I'm not an expert in databases, so I can't say if this is standard practice, but sharing a page table entry across 1000+ processes seems a bit... excessive.

[โ€“] [email protected] 9 points 1 week ago

It seems like a good way to introduce a security vulnerability too.