Re: zram/zsmalloc issues in very low memory conditions

2013-11-02 Thread Stephen Barber
I did get zswap working without a backing store, using Bob's patches from http://thread.gmane.org/gmane.linux.kernel.mm/105627/focus=105642 applied to 3.11-rc6, The major issue we had with it was that i915 graphics buffers were getting corrupted somehow, which wasn't a problem with zram on the same

Re: zram/zsmalloc issues in very low memory conditions

2013-11-01 Thread Bob Liu
Hi Olav, On 11/02/2013 08:59 AM, Olav Haugan wrote: > > I tried the above suggestion but it does not seem to have any noticeable > impact. The system is still trying to swap out at a very high rate after > zram reported failure to swap out. The error logging is actually so much > that my system

Re: zram/zsmalloc issues in very low memory conditions

2013-11-01 Thread Olav Haugan
On 10/25/2013 2:19 AM, Minchan Kim wrote: > Hello, > > I had no enough time to think over your great questions since I should enjoy > in Edinburgh so if I miss something, Sorry! > > On Wed, Oct 23, 2013 at 02:51:34PM -0700, Olav Haugan wrote: >> I am trying to use zram in very low memory conditio

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Bob Liu
Hi Olav, On 11/01/2013 07:34 AM, Olav Haugan wrote: > Hi Luigi, > > On 10/24/2013 6:12 PM, Luigi Semenzato wrote: >> On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan wrote: >>> Hi Bob, Luigi, >>> >>> On 10/23/2013 5:55 PM, Bob Liu wrote: On 10/24/2013 05:51 AM, Olav Haugan wrote: >>>

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Luigi Semenzato
[apologies for the previous HTML email] Hi Olav, I haven't personally done it. Seth outlines the configuration in this thread: http://thread.gmane.org/gmane.linux.kernel.mm/105378/focus=105543 Stephen, can you add more detail from your experience? Thanks! On Thu, Oct 31, 2013 at 4:34 PM, Ol

Re: zram/zsmalloc issues in very low memory conditions

2013-10-31 Thread Olav Haugan
Hi Luigi, On 10/24/2013 6:12 PM, Luigi Semenzato wrote: > On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan wrote: >> Hi Bob, Luigi, >> >> On 10/23/2013 5:55 PM, Bob Liu wrote: >>> >>> On 10/24/2013 05:51 AM, Olav Haugan wrote: >> >>> By the way, could you take a try with zswap? Which can write pages

Re: zram/zsmalloc issues in very low memory conditions

2013-10-25 Thread Minchan Kim
Hello, I had no enough time to think over your great questions since I should enjoy in Edinburgh so if I miss something, Sorry! On Wed, Oct 23, 2013 at 02:51:34PM -0700, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclai

Re: zram/zsmalloc issues in very low memory conditions

2013-10-24 Thread Bob Liu
On 10/25/2013 08:35 AM, Olav Haugan wrote: > Hi Bob, Luigi, > > On 10/23/2013 5:55 PM, Bob Liu wrote: >> >> On 10/24/2013 05:51 AM, Olav Haugan wrote: >>> I am trying to use zram in very low memory conditions and I am having >>> some issues. zram is in the reclaim path. So if the system is very lo

Re: zram/zsmalloc issues in very low memory conditions

2013-10-24 Thread Luigi Semenzato
On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan wrote: > Hi Bob, Luigi, > > On 10/23/2013 5:55 PM, Bob Liu wrote: >> >> On 10/24/2013 05:51 AM, Olav Haugan wrote: >>> I am trying to use zram in very low memory conditions and I am having >>> some issues. zram is in the reclaim path. So if the system i

Re: zram/zsmalloc issues in very low memory conditions

2013-10-24 Thread Olav Haugan
Hi Bob, Luigi, On 10/23/2013 5:55 PM, Bob Liu wrote: > > On 10/24/2013 05:51 AM, Olav Haugan wrote: >> I am trying to use zram in very low memory conditions and I am having >> some issues. zram is in the reclaim path. So if the system is very low >> on memory the system is trying to reclaim pages

Re: zram/zsmalloc issues in very low memory conditions

2013-10-24 Thread Weijie Yang
On Thu, Oct 24, 2013 at 5:51 AM, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclaim path. So if the system is very low > on memory the system is trying to reclaim pages by swapping out (in this > case to zram). However,

Re: zram/zsmalloc issues in very low memory conditions

2013-10-23 Thread Bob Liu
On 10/24/2013 05:51 AM, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclaim path. So if the system is very low > on memory the system is trying to reclaim pages by swapping out (in this > case to zram). However, since we

Re: zram/zsmalloc issues in very low memory conditions

2013-10-23 Thread Luigi Semenzato
(sorry about the HTML in the previous message) On Wed, Oct 23, 2013 at 2:51 PM, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclaim path. So if the system is very low > on memory the system is trying to reclaim pages by