Keith C. Perry on 10 Jul 2015 15:16:46 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] swappiness and ssd


I know how to get usage but I didn't realize "swappiness" was a thing you could look up in proc.  That's pretty cool...

Even though, I leave swap off  :D

BTW, my swappiness still says 60- that's interesting.  Maybe that's actually control point too?  Can you do...

echo 80 > cat /proc/sys/vm/swappiness

?

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
Keith C. Perry, MS E.E. 
Owner, DAO Technologies LLC 
(O) +1.215.525.4165 x2033 
(M) +1.215.432.5167 
www.daotechnologies.com

----- Original Message -----
From: "brent timothy saner" <brent.saner@gmail.com>
To: plug@lists.phillylinux.org
Sent: Friday, July 10, 2015 6:10:54 PM
Subject: Re: [PLUG] swappiness and ssd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 07/10/2015 06:04 PM, Keith C. Perry wrote:
> Thanks for the update K.S..
> 
> To be complete can you tell us how you measured your "swappiness"?
> 

Not sure how he does it, but I do it via these:

cat /proc/sys/vm/swappiness will give current value.

(or sysctl vm.swappiness)


To test/monitor,

free | egrep '^Swap:'
will show usage.

If you want something more in-depth, vmstat(8).
(If you want the shell to spit out vmem usage every 1s, do "vmstat 1")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJVoELnAAoJEIwATC+TSB9rMlkP/2KPDQIZPMjX24RH5AVoJMAk
c3/mADMdvenPGMvHNJT4ea4eGio3J2Yp+f4YmX2yNt/IcpRUikcaoCmI3aaxeTZl
tmw6lfRugMO/ZKA5lbc90xorhDfLN7BkiSEUPvUnalxHWqcZwKxoSulwu0HzghJh
5J1rIZzEgcGoQ3x9MSj0hK7qA3T4UzRaCmk1krrVIlLVKZR/ooq2isBVYVHFpMX/
QVLHXyYz9598LYYdPeltbhbk3uk3gOAKuiMJVpNRQjOZtCtVSC2+mwTxb5ZAfBcz
QPAJ5fF46WTfQR9g86gsiGA2hor6eejl2tRqzVXdW3lF2F2ZN4b5tafafkt/QsoN
HL7Jd5PNTEMuFhp4VGAPx4W/ScJDDplIHQMC9uC6FYOts1PajX/4/WwTbJkhGD2c
6DFMBPz+kMAa3ODKaPAaNgjDBpWclzFdCjHC6seaaw9SXuw8BUoUflHnXQmxzgpt
wbZcsTrP0MAad6zcYzgp9PT3Q5Q6pufmAwX8MuPdBFwk+/WgcZDYKfj4BeeGWrMZ
Xzpx+wH8fbMTEI+JoCSd7eCOD0lAFK6DBuvtoAw2HLpMG4obShXGvrOYnOt9ogMa
DSZHWyzPXVM7Y2mkzRXbm9sryuUz8wy+zkFV1siVdq4FtLDNQCfno61nsBBX2Yf0
GhLTKdhei6ved82wVFDM
=hp3b
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug