|
|
|
|
|
by guard-of-terra
5180 days ago
|
|
One behavior I've noticed with linux that if you read files sequentially from disk (for example, doing scp), then linux would fill all the memory with those files' contents and then it would swap out everything but the (obviously useless) disk caches.
So you'll have all the memory filled with data you would never need again and trying to do anything would cause a large and painful unswapping (had side effect of halting my qemu). This is true insanity. Surely you can disable swap or tune swappiness, but what's the reason for crazy default behavior? |
|
http://insights.oetiker.ch/linux/fadvise/