News for hackers. Stuff that matters.
Re:Why Ruby App Servers Break on MacOS High Sierra by booleanbetrayal on Thursday October 19, 2017 @09:11AM (#15507539)
for other fun low-level High Sierra issues, see the PostgreSQL msync() thread: https://www.postgresql.org/message-id/flat/13746.1506974083%...
Re:Why Ruby App Servers Break on MacOS High Sierra by salarycommenter on Thursday October 19, 2017 @09:31AM (#15507677)
Interesting. Mapping 64k at a time seems a bit excessive. If I call mmap it's to map everything I'm going to need, but maybe I am missing context.
Re:Why Ruby App Servers Break on MacOS High Sierra by snuxoll on Thursday October 19, 2017 @10:09AM (#15507986)
PostgreSQL still supports 32-bit platforms, heap and index files can get large enough that it's not feasible to mmap them into a 32-bit process. As far as the specific number of 64k though, I don't know why they choose that, writing 8 pages to disk at a time (especially sequentially) doesn't really take advantage of modern hardware well.