4 ms·
> and also to be unable to share executable pages (not a huge loss for a 2MB executable, a huge loss for a 100MB executable). I don't think people care about t
by FooBarWidget 9y ago
> and also to be unable to share executable pages (not a huge loss for a 2MB executable, a huge loss for a 100MB executable).
I don't think people care about that nowadays, seeing how popular Docker containers are. I think Docker containers already make it so that you cannot share executable memory between different containers because each one runs in its private namespace.
- beagle3 9y agoDo namespaces separate file system caches? That would surprise me.
- viraptor 9y agoThe only one that could matter here would be mnt. And since bind mounts normally wouldn't cache pages separately, I don't think that would happen for the namespaces either. Happy to be proven wrong though. More specifically I wouldn't expect "free -m" to produce different result depending on the namespace it's run in.
- ptman 9y agoIIRC it depends on which storage backend for docker you use: https://web.archive.org/web/20170405122924/https://developers.redhat.com/blog/2014/09/30/overview-storage-scalability-docker/ https://web.archive.org/web/20170405122924/https://developer...