Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #187376
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to use zram ? |
| Date | 2017-09-28 17:50 +0200 |
| Message-ID | <uuJey-2kP-7@gated-at.bofh.it> (permalink) |
| References | <uuDCa-7kq-15@gated-at.bofh.it> <uuHPt-1Bi-21@gated-at.bofh.it> <uuI8P-1Hr-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thursday 28 September 2017 10:37:19 tomas@tuxteam.de wrote:
> On Thu, Sep 28, 2017 at 10:09:27AM -0400, Gene Heskett wrote:
> > On Thursday 28 September 2017 09:58:39 tomas@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 this thread. Thanks.
>
> tomas@rasputin:~$ apt-file search zramctl
> manpages-de: /usr/share/man/de/man8/zramctl.8.gz
> util-linux: /sbin/zramctl
Not in the x86 wheezy's util-linux, nor as separate package.
> util-linux: /usr/share/bash-completion/completions/zramctl
> util-linux: /usr/share/man/man8/zramctl.8.gz
>
> Remember Stacker? (this one is actually smarter, because when it *has*
> to swap, the already compressed stuff gets swapped out, reducing I/O).
>
Yes, not fondly though, it was NOT a stable utility.
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 swap, and only about 60% of that 8GB in use. 2258M for
actual programs. Linux's memory management does not impress me, I have a
couple machines with only 2GB of ram that can do what this box is doing,
albeit slower because they are, and I really have to push then hard to
make them use any swap. Only the pi-3b with only 1 GB is into swap, but
I've moved its swap out of the sd to rotating media and its much better
behaved, and feels faster at 5 megs into swap than it ever was using the
32GB sd card for swap. Well worth the $50 for a 1/4" thick seagate
terrabyte with a usb-2 cable sticking out of it.
Now wallies has it with a usb-3 cable, I've put one on the rock64, and
with 2+ days uptime it hasn't touched its 8GB of rotating swap. But its
also not yet running x, having locale problems that apt and dpkg can't
fix.
root@rock64:~# dpkg-reconfigure locale
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or
directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg-query: package 'locale' is not installed and no information is
available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locale is not installed
root@rock64:~# apt install locale
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package locale
And there is indeed, no /etc/locale file on the rock64 install.
locale.alias, which is missing any mention of en_US. Puzzling.
> Cheers
> -- t
Thanks Thomas
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to use zram ? Pierre Couderc <pierre@couderc.eu> - 2017-09-28 11:50 +0200
Re: How to use zram ? <tomas@tuxteam.de> - 2017-09-28 12:00 +0200
Re: How to use zram ? Pierre Couderc <pierre@couderc.eu> - 2017-09-28 12:30 +0200
Re: How to use zram ? <tomas@tuxteam.de> - 2017-09-28 14:10 +0200
Re: How to use zram ? David Baron <dbaron770@gmail.com> - 2017-09-28 14:20 +0200
Re: How to use zram ? Pierre Couderc <pierre@couderc.eu> - 2017-09-28 16:50 +0200
Re: How to use zram ? Richard Owlett <rowlett@cloud85.net> - 2017-09-28 17:00 +0200
Re: How to use zram ? <tomas@tuxteam.de> - 2017-09-28 16:00 +0200
Re: How to use zram ? Gene Heskett <gheskett@shentel.net> - 2017-09-28 16:20 +0200
Re: How to use zram ? <tomas@tuxteam.de> - 2017-09-28 16:40 +0200
Re: How to use zram ? Gene Heskett <gheskett@shentel.net> - 2017-09-28 17:50 +0200
Re: How to use zram ? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-09-28 17:50 +0200
Re: How to use zram ? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-28 18:10 +0200
Re: How to use zram ? <tomas@tuxteam.de> - 2017-09-28 19:20 +0200
Re: How to use zram ? Pierre Couderc <pierre@couderc.eu> - 2017-09-28 17:00 +0200
Re: How to use zram ? Nicholas Geovanis <nickgeovanis@gmail.com> - 2017-09-28 17:20 +0200
Re: How to use zram ? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-28 18:00 +0200
Re: How to use zram ? Gene Heskett <gheskett@shentel.net> - 2017-09-28 16:00 +0200
Re: How to use zram ? Pierre Couderc <pierre@couderc.eu> - 2017-09-28 17:00 +0200
csiph-web