lkml.org 
[lkml]   [2013]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kswapd craziness round 2
On 03/01/2013 03:02 PM, Hillf Danton wrote:
> On Fri, Mar 1, 2013 at 1:02 AM, Jiri Slaby <jslaby@suse.cz> wrote:
>>
>> Ok, no difference, kswap is still crazy. I'm attaching the output of
>> "grep -vw '0' /proc/vmstat" if you see something there.
>>
> Thanks to you for test and data.
>
> Lets try to restore the deleted nap, then.

Oh, it seems to be nice now:
root 579 0.0 0.0 0 0 ? S Mar04 0:13 [kswapd0]

Thanks.

> Hillf
> --- a/mm/vmscan.c Thu Feb 21 20:01:02 2013
> +++ b/mm/vmscan.c Fri Mar 1 21:55:40 2013
> @@ -2817,6 +2817,10 @@ loop_again:
> */
> if (sc.nr_reclaimed >= SWAP_CLUSTER_MAX)
> break;
> +
> + if (sc.priority < DEF_PRIORITY - 2)
> + congestion_wait(BLK_RW_ASYNC, HZ/10);
> +
> } while (--sc.priority >= 0);
>
> out:
> --
>


--
js
suse labs


\
 
 \ /
  Last update: 2013-03-07 21:24    [W:0.104 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site