dimanche 8 mars 2015

Is my computer "thrashing"? What amount of swap usage, faults would indicate a problem?


I've spent several hours hunting through google search results to no avail, so please forgive the awkwardly worded question.


I know that excessive swap usage causes thrashing, which causes performance issues. Every support document, forum post etc. I've read uses similarly ambiguous language like "too much" or "abnormal amounts" or "excessive". What I don't know, is what "excessive" means in this context. I've recorded some data from top, vm_stat and Activity Monitor. I have more available if it would help, I tried to only post the most important bits.


Does this indicate an issue with thrashing?


Mid-2010 15 inch Macbook-Pro

Yosemite

2 5400 RPM 1Tb HDs

4GB of RAM




Time: 14:40:41 Light load


top

Processes: 180 total, 2 running, 11 stuck, 167 sleeping, 1008 threads

PhysMem: 3924M used (1116M wired), 42M unused.

VM: 440G vsize, 1062M framework vsize, 42499(0) swapins, 79180(0) swapouts.

Disks: 972826/28G read, 363022/18G written.

Time on PID 6240 "top": 00:11.05

Faults on PID 6240: 387538+


vm_stat

Pageins: 47458671

Pagouts: 1979656

Swapins: 42372

Swapouts: 79180


Activity Monitor

Memory Pressure: Green

Virtual Memory: 5.21 GB

Compressed: 446 MB

Swap Used: 77MB




Time: 14:10:18

Medium load


top

Processes: 178 total, 3 running, 13 stuck, 162 sleeping, 1107 threads.

PhysMem: 3973 used (1046M wired) 29M unused.

VM: 450G vsize, 1062M framework vsize, 43011(0) swapins, 83656(0) swapouts.

Disks: 1025452/29G read, 380196/19G written.

Time on PID 6420 "screencaptur": 00:00.06

Faults on PID 6420: 1760+


vm_stat

Pageins: 49459489

Pageouts: 2081868

Swapins: 43011

Swapouts: 83656


Activity Monitor

Memory Pressure: Yellow

Virtual Memory: 6.79 GB

Compressed: 1.02 GB

Swap Used: 92.8 MB




Time: 14:19:52

Medium/Heavy load


top

Processes: 194 total, 4 running, 9 stuck, 181 sleeping, 1151 threads

PhysMem: 3921M used (1162M wired), 44M unused.

VM: 490G vsize, 1062M framework vsize, 44098(0) swapins, 87078(0) swapouts.

Disks: 1082878/31G read, 399458/20G written.

Time on PID 6521 "Chrumium Hel": 00:13.30

Faults on PID 6521: 73520


vm_stat

Pageins: 49910534

Pageouts: 2226080

Swapins: 44098

Swapouts: 87078


Activity Monitor

Memory Pressure: Yellow

Virtual Memory: 7.29 GB

Compressed: 1.27 GB

Swap UsedL 102 MB




Time: 16:34:09

Medium load


Activity Monitor

Memory Pressure: Yellow

Virtual Memory: 7.69 GB

Compressed: 1.35 GB

Swap Used: 222.8





Aucun commentaire:

Enregistrer un commentaire