Re: [gentoo-user] Strive for zero swap usage?

2016-10-10 Thread Michael Mol
On Friday, October 07, 2016 04:43:56 PM Grant wrote: > >> >>> Swap usage on Linux always seems a little tricky to me. Should my > >> >>> goal on a web server be zero swap usage, meaning the attached graph > >> >>> should show no green lines at all if I'm doing it right? > >> >> > >> >> No. You

Re: [gentoo-user] Strive for zero swap usage?

2016-10-10 Thread Jeremi Piotrowski
On Thu, Oct 06, 2016 at 03:31:59PM -0700, Grant wrote: > > Does this look OK? It looks to me like heavy swapping in and out with > plenty of free memory (minus buffers/cache). > Have you looked at the _units_ displayed by vmstat and munin? You're looking at **kilobytes** being swapped and

Re: [gentoo-user] Strive for zero swap usage?

2016-10-08 Thread Grant
>> "Swapping excessively" is inherently a use-case-specific problem, but it >> comes >> down to two questions: >> >> * Do you notice your system spending time in iowait swapping data in while >> you're waiting on it? >> * Do you notice your system spending time in iowait swapping data out while

Re: [gentoo-user] Strive for zero swap usage?

2016-10-08 Thread Grant
>>> Swap usage on Linux always seems a little tricky to me. Should my >>> goal on a web server be zero swap usage, meaning the attached graph >>> should show no green lines at all if I'm doing it right? >> ... > > Have you tuned swappiness? Thanks Bill I'll give swappiness a try

Re: [gentoo-user] Strive for zero swap usage?

2016-10-07 Thread Bill Kenworthy
On 08/10/16 08:26, Bill Kenworthy wrote: > On 08/10/16 07:43, Grant wrote: >>> Swap usage on Linux always seems a little tricky to me. Should my >>> goal on a web server be zero swap usage, meaning the attached graph >>> should show no green lines at all if I'm doing it right? >> ...

Re: [gentoo-user] Strive for zero swap usage?

2016-10-07 Thread Bill Kenworthy
On 08/10/16 07:43, Grant wrote: >> Swap usage on Linux always seems a little tricky to me. Should my >> goal on a web server be zero swap usage, meaning the attached graph >> should show no green lines at all if I'm doing it right? > ... Have you tuned swappiness? e.g.:

Re: [gentoo-user] Strive for zero swap usage?

2016-10-07 Thread Grant
>> >>> Swap usage on Linux always seems a little tricky to me. Should my >> >>> goal on a web server be zero swap usage, meaning the attached graph >> >>> should show no green lines at all if I'm doing it right? >> >> >> >> No. You want things that aren't in use to be swapped, like memory >> >>

Re: [gentoo-user] Strive for zero swap usage?

2016-10-07 Thread Michael Mol
On Friday, October 07, 2016 04:33:27 AM Grant wrote: > >>> Swap usage on Linux always seems a little tricky to me. Should my > >>> goal on a web server be zero swap usage, meaning the attached graph > >>> should show no green lines at all if I'm doing it right? > >> > >> No. You want things

Re: [gentoo-user] Strive for zero swap usage?

2016-10-07 Thread Grant
>>> Swap usage on Linux always seems a little tricky to me. Should my >>> goal on a web server be zero swap usage, meaning the attached graph >>> should show no green lines at all if I'm doing it right? >>> >> >> No. You want things that aren't in use to be swapped, like memory >> leaks and

Re: [gentoo-user] Strive for zero swap usage?

2016-10-06 Thread Grant
>> Swap usage on Linux always seems a little tricky to me. Should my >> goal on a web server be zero swap usage, meaning the attached graph >> should show no green lines at all if I'm doing it right? >> > > No. You want things that aren't in use to be swapped, like memory > leaks and such. You

Re: [gentoo-user] Strive for zero swap usage?

2016-10-06 Thread Rich Freeman
On Thu, Oct 6, 2016 at 5:51 PM, Grant wrote: > Swap usage on Linux always seems a little tricky to me. Should my > goal on a web server be zero swap usage, meaning the attached graph > should show no green lines at all if I'm doing it right? > No. You want things that

[gentoo-user] Strive for zero swap usage?

2016-10-06 Thread Grant
Swap usage on Linux always seems a little tricky to me. Should my goal on a web server be zero swap usage, meaning the attached graph should show no green lines at all if I'm doing it right? - Grant