Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-10-14 Thread Vlastimil Babka
On 10/10/2015 11:33 AM, Vitaly Wool wrote: > On Thu, Oct 1, 2015 at 9:52 AM, Vlastimil Babka wrote: >> On 09/30/2015 05:46 PM, Vitaly Wool wrote: >>> >>> On Wed, Sep 30, 2015 at 5:37 PM, Vlastimil Babka wrote: On 09/25/2015 11:54 AM, Vitaly Wool wrote: > > > Hello Minchan, >

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-10-10 Thread Vitaly Wool
On Thu, Oct 1, 2015 at 9:52 AM, Vlastimil Babka wrote: > On 09/30/2015 05:46 PM, Vitaly Wool wrote: >> >> On Wed, Sep 30, 2015 at 5:37 PM, Vlastimil Babka wrote: >>> >>> On 09/25/2015 11:54 AM, Vitaly Wool wrote: Hello Minchan, the main use case where I see unacceptably l

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-10-01 Thread Vlastimil Babka
On 09/30/2015 05:46 PM, Vitaly Wool wrote: On Wed, Sep 30, 2015 at 5:37 PM, Vlastimil Babka wrote: On 09/25/2015 11:54 AM, Vitaly Wool wrote: Hello Minchan, the main use case where I see unacceptably long stalls in UI with zsmalloc is switching between users in Android. There is a way to aut

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Vitaly Wool
On Wed, Sep 30, 2015 at 5:37 PM, Vlastimil Babka wrote: > On 09/25/2015 11:54 AM, Vitaly Wool wrote: >> >> Hello Minchan, >> >> the main use case where I see unacceptably long stalls in UI with >> zsmalloc is switching between users in Android. >> There is a way to automate user creation and switc

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Vlastimil Babka
On 09/25/2015 11:54 AM, Vitaly Wool wrote: Hello Minchan, the main use case where I see unacceptably long stalls in UI with zsmalloc is switching between users in Android. There is a way to automate user creation and switching between them so the test I run both to get vmstat statistics and to p

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Vitaly Wool
On Wed, Sep 30, 2015 at 10:13 AM, Minchan Kim wrote: > On Wed, Sep 30, 2015 at 10:01:59AM +0200, Vitaly Wool wrote: >> > Could you share your script? >> > I will ask our production team to reproduce it. >> >> Wait, let me get it right. Your production team? >> I take it as you would like me to hel

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Minchan Kim
On Wed, Sep 30, 2015 at 10:01:59AM +0200, Vitaly Wool wrote: > > Could you share your script? > > I will ask our production team to reproduce it. > > Wait, let me get it right. Your production team? > I take it as you would like me to help your company fix your bugs. > You are pushing the limits h

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Vitaly Wool
> Could you share your script? > I will ask our production team to reproduce it. Wait, let me get it right. Your production team? I take it as you would like me to help your company fix your bugs. You are pushing the limits here. ~vitaly -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-30 Thread Minchan Kim
Hello Vitaly, First of all, Thanks for the detail report. I will add comments below. On Fri, Sep 25, 2015 at 11:54:57AM +0200, Vitaly Wool wrote: > Hello Minchan, > > the main use case where I see unacceptably long stalls in UI with > zsmalloc is switching between users in Android. What is main

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-25 Thread Vitaly Wool
Hello Minchan, the main use case where I see unacceptably long stalls in UI with zsmalloc is switching between users in Android. There is a way to automate user creation and switching between them so the test I run both to get vmstat statistics and to profile stalls is to create a user, switch to

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-17 Thread Sergey Senozhatsky
On (09/17/15 08:21), Vlastimil Babka wrote: > On 09/15/2015 06:22 AM, Sergey Senozhatsky wrote: > >On (09/15/15 00:08), Dan Streetman wrote: > >[..] > > > >correct. a bit of internals: we don't scan all the zspages every > >time. each class has stats for allocated used objects, allocated > >used ob

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-16 Thread Vlastimil Babka
On 09/15/2015 06:22 AM, Sergey Senozhatsky wrote: On (09/15/15 00:08), Dan Streetman wrote: [..] correct. a bit of internals: we don't scan all the zspages every time. each class has stats for allocated used objects, allocated used objects, etc. so we 'compact' only classes that can be compacted

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Minchan Kim
Hello Vitaly, It seems you sent a mail with gmail web or something which didn't use plain-text. ;-). I will add newline manually. Please send a mail with plain-text in future. On Mon, Sep 14, 2015 at 03:49:01PM +0200, Vitaly Wool wrote: > While using ZRAM on a small RAM footprint devices, togethe

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Sergey Senozhatsky
On (09/15/15 00:08), Dan Streetman wrote: [..] > > it doesn't. but it has a complex (compared to zbud) way of storing > pages - many different classes, which each are made up of zspages, > which contain multiple actual pages to store some number of > specifically sized objects. So it can get fra

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Dan Streetman
On Mon, Sep 14, 2015 at 10:14 AM, Vlastimil Babka wrote: > On 09/14/2015 04:12 PM, Vitaly Wool wrote: >> >> On Mon, Sep 14, 2015 at 4:01 PM, Vlastimil Babka wrote: >>> >>> >>> On 09/14/2015 03:49 PM, Vitaly Wool wrote: While using ZRAM on a small RAM footprint devices, together wit

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Sergey Senozhatsky
On (09/14/15 15:49), Vitaly Wool wrote: > While using ZRAM on a small RAM footprint devices, together with KSM, > I ran into several occasions when moving pages from compressed swap back > into the "normal" part of RAM caused significant latencies in system > operation. > By using zbud I lose in c

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Vlastimil Babka
On 09/14/2015 04:12 PM, Vitaly Wool wrote: On Mon, Sep 14, 2015 at 4:01 PM, Vlastimil Babka wrote: On 09/14/2015 03:49 PM, Vitaly Wool wrote: While using ZRAM on a small RAM footprint devices, together with KSM, I ran into several occasions when moving pages from compressed swap back into th

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Vitaly Wool
On Mon, Sep 14, 2015 at 4:01 PM, Vlastimil Babka wrote: > > On 09/14/2015 03:49 PM, Vitaly Wool wrote: >> >> While using ZRAM on a small RAM footprint devices, together with >> KSM, >> I ran into several occasions when moving pages from compressed swap back >> into the "normal" part of RAM caused

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-14 Thread Vlastimil Babka
On 09/14/2015 03:49 PM, Vitaly Wool wrote: While using ZRAM on a small RAM footprint devices, together with KSM, I ran into several occasions when moving pages from compressed swap back into the "normal" part of RAM caused significant latencies in system I'm sure Minchan will want to hear the d