3 ms·
This 4k for a page is ridiculous. I'd say it was ridiculous for something like 5 years ago already 4M may be too big (I'm thinking 512k could be a sweet spot)
by raverbashing 13y ago
This
4k for a page is ridiculous. I'd say it was ridiculous for something like 5 years ago already
4M may be too big (I'm thinking 512k could be a sweet spot)
(or it could just work in chunks - I believe it does something like that already, and get multiple pages at once)
- MichaelGG 13y ago512K pagesize? Wouldn't that add a ton of IO in a lot of scenarios? Like every 1 byte file would now require a 512K event? Large pages (2MB/1GB) is for specialised use where you know you're not going to be paging things in/out too often, right? IIRC Linus was quite dismissive about having larger-than-4k page sizes as the default.
- noselasd 13y agoYou don't need to couple memory pages with disk blocks.
- raverbashing 13y agoas opposed as taking 256 pages by MB? And all the overhead of that It's probably easier to make something special for small files than making the current system go faster