actually i do notice page faults when I run “ndb stat” which walks every key/value in the database and can take a few seconds for a large db the first time you run it. Every subsequent run is instant due to the page cache ( ), since mmap leverages that. the db persists in memory even after the app closes.
Page cache - Wikipedia