My computer feels really sluggish. According to
free, I have only ~200M RAM left and more than a gigabyte had to be swapped out. I know that it is good if memory is used for caching but this looks like I'm genuinely low on RAM.
root@desktop:/proc free -h total used free shared buff/cache available Mem: 3.9G 3.4G 132M 44M 378M 213M Swap: 8.0G 1.2G 6.7G
smem -tk reports that at most 2GiB (RSS column) are used by applications.
smem -wk accounts for all the memory that is used. Apparently the kernel uses 1.8GiB not for caching:
root@desktop:/proc smem -wk Area Used Cache Noncache firmware/hardware 0 0 0 kernel image 0 0 0 kernel dynamic memory 1.9G 74.3M 1.8G userspace memory 1.8G 250.9M 1.6G free memory 173.9M 173.9M 0
Is this behaviour expected, and if yes, for what task does the kernel need so much memory?