search for: zram

Displaying 20 results from an estimated 131 matches for "zram".

Did you mean: ram
2016 Aug 17
0
[PATCH 11/15] zram: Pass attribute group to device_add_disk
...e, for example udev checks availability of certain attributes and initializes /dev entries conditionally. device_add_disk can handle adding attribute group better, so use it. Meanwhile, update the error check code and message. Signed-off-by: Fam Zheng <famz at redhat.com> --- drivers/block/zram/zram_drv.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 20920a2..2331788 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -1298,13 +1298,10 @@ static int zram_add(void)...
2016 Aug 18
1
[PATCH 11/15] zram: Pass attribute group to device_add_disk
Hello, On (08/17/16 15:15), Fam Zheng wrote: [..] > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index 20920a2..2331788 100644 > --- a/drivers/block/zram/zram_drv.c > +++ b/drivers/block/zram/zram_drv.c > @@ -1298,13 +1298,10 @@ static int zram_add(void) > zram->disk->queue->limits.discard_zeroes_data = 0; > queue_fla...
2016 Aug 18
1
[PATCH 11/15] zram: Pass attribute group to device_add_disk
Hello, On (08/17/16 15:15), Fam Zheng wrote: [..] > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index 20920a2..2331788 100644 > --- a/drivers/block/zram/zram_drv.c > +++ b/drivers/block/zram/zram_drv.c > @@ -1298,13 +1298,10 @@ static int zram_add(void) > zram->disk->queue->limits.discard_zeroes_data = 0; > queue_fla...
2016 Mar 11
0
[PATCH v1 19/19] zram: use __GFP_MOVABLE for memory allocation
Zsmalloc is ready for page migration so zram can use __GFP_MOVABLE from now on. I did test to see how it helps to make higher order pages. Test scenario is as follows. KVM guest, 1G memory, ext4 formated zram block device, for i in `seq 1 8`; do dd if=/dev/vda1 of=mnt/test$i.txt bs=128M count=1 & done wait `pidof dd` for i in...
2015 Jul 08
2
[RFCv3 0/5] enable migration of driver pages
...>> My ARM-based platform occured severe fragmentation problem after long-term >> (several days) test. Sometimes even order-3 page allocation failed. It has >> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >> and 20~30 memory is reserved for zram. >> >> I found that many pages of GPU driver and zram are non-movable pages. So I >> reported Minchan Kim, the maintainer of zram, and he made the internal >> compaction logic of zram. And I made the internal compaction of GPU driver. >> >> They reduced some frag...
2015 Jul 08
2
[RFCv3 0/5] enable migration of driver pages
...>> My ARM-based platform occured severe fragmentation problem after long-term >> (several days) test. Sometimes even order-3 page allocation failed. It has >> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >> and 20~30 memory is reserved for zram. >> >> I found that many pages of GPU driver and zram are non-movable pages. So I >> reported Minchan Kim, the maintainer of zram, and he made the internal >> compaction logic of zram. And I made the internal compaction of GPU driver. >> >> They reduced some frag...
2015 Jul 08
3
[RFCv3 0/5] enable migration of driver pages
...latform occured severe fragmentation problem after long-term >>>> (several days) test. Sometimes even order-3 page allocation failed. It has >>>> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >>>> and 20~30 memory is reserved for zram. >>>> >>>> I found that many pages of GPU driver and zram are non-movable pages. So I >>>> reported Minchan Kim, the maintainer of zram, and he made the internal >>>> compaction logic of zram. And I made the internal compaction of GPU driver. >>...
2015 Jul 08
3
[RFCv3 0/5] enable migration of driver pages
...latform occured severe fragmentation problem after long-term >>>> (several days) test. Sometimes even order-3 page allocation failed. It has >>>> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >>>> and 20~30 memory is reserved for zram. >>>> >>>> I found that many pages of GPU driver and zram are non-movable pages. So I >>>> reported Minchan Kim, the maintainer of zram, and he made the internal >>>> compaction logic of zram. And I made the internal compaction of GPU driver. >>...
2015 Jun 05
1
[RFC 0/4] enable migration of non-LRU pages
...>> My ARM-based platform occured severe fragmentation problem after long-term >> (several days) test. Sometimes even order-3 page allocation failed. It has >> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >> and 20~30 memory is reserved for zram. >> >> I found that many pages of GPU driver and zram are non-movable pages. So I >> reported Minchan Kim, the maintainer of zram, and he made the internal >> compaction logic of zram. And I made the internal compaction of GPU driver. >> >> They reduced some frag...
2015 Jun 05
1
[RFC 0/4] enable migration of non-LRU pages
...>> My ARM-based platform occured severe fragmentation problem after long-term >> (several days) test. Sometimes even order-3 page allocation failed. It has >> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing >> and 20~30 memory is reserved for zram. >> >> I found that many pages of GPU driver and zram are non-movable pages. So I >> reported Minchan Kim, the maintainer of zram, and he made the internal >> compaction logic of zram. And I made the internal compaction of GPU driver. >> >> They reduced some frag...
2015 Jun 10
0
[RFC 0/4] enable migration of non-LRU pages
...39;s page. > > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page allocation failed. It has > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > and 20~30 memory is reserved for zram. > > I found that many pages of GPU driver and zram are non-movable pages. So I > reported Minchan Kim, the maintainer of zram, and he made the internal > compaction logic of zram. And I made the internal compaction of GPU driver. > > They reduced some fragmentation but they ar...
2015 Jul 29
1
[PATCH 0/4] enable migration of driver pages
...Gioh Kim wrote: > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page allocation failed. It has > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > and 20~30 memory is reserved for zram. > The primary motivation of this series is to reduce fragmentation by allowing more kernel pages to be moved. Conceptually that is a worthwhile goal but there should be at least one major in-kernel user and while balloon pages were a good starting point, I think we really need to see what the...
2015 Jul 29
2
[PATCH 0/4] enable migration of driver pages
...ased platform occured severe fragmentation problem after long-term > > > (several days) test. Sometimes even order-3 page allocation failed. It has > > > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > > > and 20~30 memory is reserved for zram. > > > > > > > The primary motivation of this series is to reduce fragmentation by allowing > > more kernel pages to be moved. Conceptually that is a worthwhile goal but > > there should be at least one major in-kernel user and while balloon > > pages were a...
2015 Jul 29
2
[PATCH 0/4] enable migration of driver pages
...ased platform occured severe fragmentation problem after long-term > > > (several days) test. Sometimes even order-3 page allocation failed. It has > > > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > > > and 20~30 memory is reserved for zram. > > > > > > > The primary motivation of this series is to reduce fragmentation by allowing > > more kernel pages to be moved. Conceptually that is a worthwhile goal but > > there should be at least one major in-kernel user and while balloon > > pages were a...
2015 Jun 02
9
[RFC 0/4] enable migration of non-LRU pages
...U pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing and 20~30 memory is reserved for zram. I found that many pages of GPU driver and zram are non-movable pages. So I reported Minchan Kim, the maintainer of zram, and he made the internal compaction logic of zram. And I made the internal compaction of GPU driver. They reduced some fragmentation but they are not enough effective. They a...
2015 Jun 02
9
[RFC 0/4] enable migration of non-LRU pages
...U pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing and 20~30 memory is reserved for zram. I found that many pages of GPU driver and zram are non-movable pages. So I reported Minchan Kim, the maintainer of zram, and he made the internal compaction logic of zram. And I made the internal compaction of GPU driver. They reduced some fragmentation but they are not enough effective. They a...
2015 Jun 05
0
[RFC 0/4] enable migration of non-LRU pages
...39;s page. > > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page allocation failed. It has > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > and 20~30 memory is reserved for zram. > > I found that many pages of GPU driver and zram are non-movable pages. So I > reported Minchan Kim, the maintainer of zram, and he made the internal > compaction logic of zram. And I made the internal compaction of GPU driver. > > They reduced some fragmentation but they ar...
2015 Jul 13
0
[PATCH 0/4] enable migration of driver pages
...#39;s page. > > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page allocation failed. It has > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > and 20~30 memory is reserved for zram. > > I found that many pages of GPU driver and zram are non-movable pages. So I > reported Minchan Kim, the maintainer of zram, and he made the internal > compaction logic of zram. And I made the internal compaction of GPU driver. > > They reduced some fragmentation but they are n...
2015 Jul 07
0
[RFCv3 0/5] enable migration of driver pages
...39;s page. > > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page allocation failed. It has > memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > and 20~30 memory is reserved for zram. > > I found that many pages of GPU driver and zram are non-movable pages. So I > reported Minchan Kim, the maintainer of zram, and he made the internal > compaction logic of zram. And I made the internal compaction of GPU driver. > > They reduced some fragmentation but they ar...
2015 Jul 08
0
[RFCv3 0/5] enable migration of driver pages
...M-based platform occured severe fragmentation problem after long-term > >> (several days) test. Sometimes even order-3 page allocation failed. It has > >> memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for graphic processing > >> and 20~30 memory is reserved for zram. > >> > >> I found that many pages of GPU driver and zram are non-movable pages. So I > >> reported Minchan Kim, the maintainer of zram, and he made the internal > >> compaction logic of zram. And I made the internal compaction of GPU driver. > >> > &...