Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631217
| From | Minchan Kim <minchan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 2/4] zram: implement deduplication in zram |
| Date | 2017-04-26 09:50 +0200 |
| Message-ID | <tApS2-7Eb-17@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <tAkIF-4uM-5@gated-at.bofh.it> <tAo9z-6v2-5@gated-at.bofh.it> <tAoCB-6Wg-1@gated-at.bofh.it> <tApfj-7oc-1@gated-at.bofh.it> <tApyF-7vI-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 26, 2017 at 04:21:47PM +0900, Sergey Senozhatsky wrote: > On (04/26/17 15:59), Joonsoo Kim wrote: > [..] > > > Actually, I found it for the last review cycle but didn't say that > > > intentionally. Because it is also odd to me that pages_stored isn't > > > increased for same_pages so I thought we can fix it all. > > > > > > I mean: > > > > > > * normal page > > > inc pages_stored > > > inc compr_data_size > > > * same_page > > > inc pages_stored > > > inc same_pages > > > * dedup_page > > > inc pages_stored > > > inc dup_data_size > > > > > > IOW, pages_stored should be increased for every write IO. > > > But the concern is we have said in zram.txt > > > > > > orig_data_size uncompressed size of data stored in this disk. > > > This excludes same-element-filled pages (same_pages) since > > > no memory is allocated for them. > > > > > > So, we might be too late. :-( > > > What do you think about it? > > > If anyone doesn't have any objection, I want to correct it all. > > > > I have no objection. > > If so, do I need to postpone this patchset until others are fixed? > > this probably will mess with your series a lot. so I don't mind if you or > Minchan will send stats-fixup patch after the dedup series. may be/preferably > as the last patch in the series. but if you or Minchan want to fix stats > first, then I wouldn't mind either. I just don't make a big deal out of those > stats, a bunch of fun to know numbers. my 5cents. After Andrew takes dedup patchset, I will fix it later. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/4] zram: implement deduplication in zram js1304@gmail.com - 2017-04-26 03:00 +0200
[PATCH v4 2/4] zram: implement deduplication in zram js1304@gmail.com - 2017-04-26 03:00 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 04:20 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-26 08:00 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Minchan Kim <minchan@kernel.org> - 2017-04-26 08:30 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-26 09:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 09:30 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Minchan Kim <minchan@kernel.org> - 2017-04-26 09:50 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 09:20 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 04:40 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 08:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-26 08:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 06:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-26 08:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 08:30 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-27 09:00 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-27 09:50 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-05-02 07:40 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 06:30 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Joonsoo Kim <js1304@gmail.com> - 2017-04-26 08:10 +0200
Re: [PATCH v4 2/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-26 08:20 +0200
Re: [PATCH v4 0/4] zram: implement deduplication in zram Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-27 10:00 +0200
csiph-web