| ▲ | loeg 3 days ago |
| Can you elaborate on how this comment is connected to the article? |
|
| ▲ | blibble 3 days ago | parent [-] |
| did you read it the article? there's a large section on redis the author says it's bad design, but has entirely missed WHY it wants overcommit |
| |
| ▲ | loeg 3 days ago | parent [-] | | You haven't made a connection, though. What does fork have to do with overcommit? You didn't connect the dots. | | |
| ▲ | Spivak 2 days ago | parent [-] | | If you turn overcommit off then when you fork you double the memory usage. The pages are CoW but for accounting purposes it counts as double because writes could require allocating memory and that's not allowed to fail since it's not a malloc. So the kernel has to count it as reserved. |
|
|