You are not logged in.
Pages: 1
Hi!
I noticed a performance hit lately when I am using my machine for a few hours, the cause was easy to find: it is swapping. The strange thing here that is my physical memory is not nearly full and it even swaps processes that i'm currently using, for eg. causing tab switching in firefox to be a pain.
Anyone else experiencing this?
total used free shared buffers cached
Mem: 738 730 8 0 1 341
-/+ buffers/cache: 387 351
Swap: 486 164 321
Offline
I don't really see any swap usage on any of my machines. Memory is cheap these days. 730 Meg is a fair sized chunk of memory. I would keep a htop or top instance open and try to spot what is using that much memory. It might take a while to build up so check it every now and then to see how your memory usage is going.
Offline
its and old laptop, the ram is already increased from 256megs. I have a little thingy which shows me the currently used physical mem, and nowdays its not going up to 400megabytes, my system starts swapping at around 320megs.
Offline
Try fiddling with the swapiness value http://bbs.archlinux.org/viewtopic.php?id=45507
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
reduced it to 15, nothing happaned. swap is still being used too much.
lets try with 0, i will report
Offline
Semi-solved: my bet is X is leaking memory, and with lower swapiness it stayed in the RAM, as cached data, not leaving space for my apps.
I set swappines to 100, now my swap is almost full, but my system is much more responsive, dont ask me why.
Currently im only running firefox and pidigin (in openbox) so whats using 300megs of swap is a myth (my bet it is Xorg) but since its sitting on my disk and not in the physical RAM, the running processes' response time is back to normal.
Offline
Try fiddling with the swapiness value http://bbs.archlinux.org/viewtopic.php?id=45507
maybe users stop suggesting swappiness as a solution? his has absolutely nothing to do with performance gain or reducing swapping.
Of course if swapping is happening there are (only) two possibilities:
1) increase (not decrease!) swappiness
2) increase RAM
third would be trying to find similar app to the one causing problems that will use less RAM
Offline
Pages: 1