Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 28, 2017 at 06:01:10PM +0200, Pascal Hambourg wrote: > Le 28/09/2017 à 16:37, to...@tuxteam.de a écrit : > > > >Remember Stacker? > > The disk compression tool for MS-DOS ? > > >(this one is actually smarter, because when it *has* to >

Re: How to use zram ?

2017-09-28 Thread Pascal Hambourg
Le 28/09/2017 à 16:37, to...@tuxteam.de a écrit : Remember Stacker? The disk compression tool for MS-DOS ? (this one is actually smarter, because when it *has* to swap, the already compressed stuff gets swapped out, reducing I/O). From what I have read about zram, I did not get the

Re: How to use zram ?

2017-09-28 Thread Pascal Hambourg
Le 28/09/2017 à 15:58, to...@tuxteam.de a écrit : It seems to be a way to swap out to "compressed RAM" Actually zram is just a compressed ramdisk block device. It can be used as swap space or anything else.

Re: How to use zram ?

2017-09-28 Thread Greg Wooledge
On Thu, Sep 28, 2017 at 11:42:47AM -0400, Gene Heskett wrote: > This sounds handy on a memory starved machine. And at 8GB in this > machine, I'm still using swap, with a 13 hour uptime, 22megs almost as > soon as I'd rebooted, and still 22. Which I don't fully grok, htop says > 22 megs used for

Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 10:37:19 to...@tuxteam.de wrote: > On Thu, Sep 28, 2017 at 10:09:27AM -0400, Gene Heskett wrote: > > On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote: > > [...] > > > I do have the kernel module, but not the zramctl. One is not useful > > w/o the other.

Re: How to use zram ?

2017-09-28 Thread Nicholas Geovanis
I'm trying to wrap my head around what the performance implications (or advantages) of zram might be in the virtualized environments. Currently for me that means mostly VMware and a little Xen. There are at least two aspects, namely its potential use in the hypervisor and use in the VMs. Does

Re: How to use zram ?

2017-09-28 Thread Pierre Couderc
On 09/28/2017 04:09 PM, Gene Heskett wrote: On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote: On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote: On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote: I have found no howto for zram under debian,  nor even the

Re: How to use zram ?

2017-09-28 Thread Richard Owlett
On 09/28/2017 05:27 AM, Pierre Couderc wrote: [snip] Thank you very much. I have not found "the zram(8) man page [snip] See https://manpages.debian.org/stretch/util-linux/zramctl.8.en.html

Re: How to use zram ?

2017-09-28 Thread Pierre Couderc
On 09/28/2017 03:51 PM, Gene Heskett wrote: On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote: I have found no howto for zram under debian,  nor even the word "zram" in the archives of this list ! I have tried to use zramctl but it refuses with : A better question from me might

Re: How to use zram ?

2017-09-28 Thread Pierre Couderc
On 09/28/2017 02:11 PM, David Baron wrote: ... But It seems to work : root@nous:~# modprobe zram num_devices=2 root@nous:~# zramctl --find --size 1024M /dev/zram0 root@nous:~# zramctl --find --size 1024M /dev/zram1 root@nous:~# free -th totalusedfree shared

Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 28, 2017 at 10:09:27AM -0400, Gene Heskett wrote: > On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote: [...] > I do have the kernel module, but not the zramctl. One is not useful w/o > the other. But I learned something from

Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 09:58:39 to...@tuxteam.de wrote: > On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote: > > On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote: > > > I have found no howto for zram under debian,  nor even the word > > > "zram" in the archives of

Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 28, 2017 at 09:51:21AM -0400, Gene Heskett wrote: > On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote: > > > I have found no howto for zram under debian,  nor even the word "zram" > > in the archives of this list ! > > > > I

Re: How to use zram ?

2017-09-28 Thread Gene Heskett
On Thursday 28 September 2017 05:47:56 Pierre Couderc wrote: > I have found no howto for zram under debian,  nor even the word "zram" > in the archives of this list ! > > I have tried to use zramctl but it refuses with : > A better question from me might be, what is it? > root@nous:~# zramctl

Re: How to use zram ?

2017-09-28 Thread David Baron
On יום חמישי, 28 בספטמבר 2017 12:27:01 IDT Pierre Couderc wrote: > On 09/28/2017 11:56 AM, to...@tuxteam.de wrote: > > On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote: > >> I have found no howto for zram under debian, nor even the word > >> "zram" in the archives of this list ! >

Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 28, 2017 at 12:27:01PM +0200, Pierre Couderc wrote: > On 09/28/2017 11:56 AM, to...@tuxteam.de wrote: [...] > >I didn't even know what it is -- but the zram(8) man page and a little > >guesswork at least leads in some direction. > Thank

Re: How to use zram ?

2017-09-28 Thread Pierre Couderc
On 09/28/2017 11:56 AM, to...@tuxteam.de wrote: On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote: I have found no howto for zram under debian,  nor even the word "zram" in the archives of this list ! I have tried to use zramctl but it refuses with : root@nous:~# zramctl --find

Re: How to use zram ?

2017-09-28 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 28, 2017 at 11:47:56AM +0200, Pierre Couderc wrote: > I have found no howto for zram under debian,  nor even the word > "zram" in the archives of this list ! > > I have tried to use zramctl but it refuses with : > > root@nous:~# zramctl

How to use zram ?

2017-09-28 Thread Pierre Couderc
I have found no howto for zram under debian,  nor even the word "zram" in the archives of this list ! I have tried to use zramctl but it refuses with : root@nous:~# zramctl --find --size 1024M zramctl: no free zram device found I suppose I should init something somewere, but what ? On the