Chromium vs Firefox : Need testimonies
leszek.lesner at web.de
leszek.lesner at web.de
Sun Jun 2 08:34:06 UTC 2013
We already have this in the Ubuntubrepo called zram-config and I highly believe its the same script you described as it does exactly the same. Its an upstart script btw.
All in all I still don't see any downsize in using zram. This would allow js to stay with chromium as the default browser which is good choice. And even if we decide to use firefox it would make sense to have a virtual compressed ram drive for swap instead of using the disk swap. Virtual compressed ram drive swap is always faster than the disk.
--
Von meinem Nokia N9 gesendetPCMan schrieb am 02.06.13 10:18:
On Sun, Jun 2, 2013 at 7:16 AM, Jonathan Marsden <jmarsden at fastmail.fm> wrote:
> On 06/01/2013 03:30 PM, Yorvyk wrote:
>
>> I've not found any down sides to zRAM with more than 512 MiB of RAM.
>> Below that, especially with CPUs below 1GHz, there are frequent pauses
>> as memory gets swapped about when the zRAM allocation has been used up
>> and swap starts using the disk partition/file. Above 2GiB of RAM zRAM
>> doesn't appear to have much effect.
>
> And this is the problem... when you *really* need it, on older slower
> PCs with little RAM, zRAM doesn't work as smoothly as some seem to be
> suggesting. Using it on a 2GB Lubuntu machine seems somewhat
> pointless... you already have enough RAM for most normal desktop usage
> purposes in that case.
>
> My sense is that zRAM probably helps most in a fairly small set of
> machines that have decent CPUs *and* limited RAM... maybe 1.5GHz to 2GHz
> dual core CPUs and 512MB to 1GB of RAM? But I don't think that is all
> that common, and such machines can often add more RAM, which is the
> right way to prolong their usefulness, I think.
>
>> Adjusting swappiness down to 10 or 20 also causes similar effects to
>> above on really low resource machines.
>
> And those effects do not happen with a default install? That's a bit
> surprising... Once a machine needs more RAM than is physically present,
> you *are* going to get swapping and the related delays. But lowering
> swappiness should not (I'd think!) make that issue worse.
>
>> These effects are probably due to the low memory bandwidth and slow HDDs
>> in older machinery.
>
> Which are the exact machines that a "fix" for lack of RAM is needed on.
>
> Overall, I think we do better to leave things as they are, and document
> use of zRAM and swappiness changes as things for the enterprising
> enthusiast to try out if they wish to. That way, we do not accidentally
> make things worse for the majority who either have enough RAM already,
> or are willing to tolerate swapping because they know they lack
> sufficient RAM.
>
> Note: A default browser that uses less RAM for common use cases *is* a
> really good idea for Lubuntu, all other things being equal. Trying to
> be more expert than the kernel maintainers about swapping and RAM usage
> may not be such a great idea, IMO.
>
> Let's pick a good default browser. Let's not mess with swappiness or
> zRAM-by-default.
Well, I think the way ArchLinux does it is what we can learn something from.
Having the kernel module installed won't get it activated automatically.
zRAM can be used only when you create a virtual block device for it.
Developers from the Arch community developed a package contaning a
script which detects your environment and add suitable configurations
according to how much you have.
https://aur.archlinux.org/packages/zramswap/
It creates zRAM based swap according to how much RAM and how many CPU
cores you have.
The config does ont seem to be static. It's a systemd service which is
launched during boot.
If we can have a upstart script which detects available RAM and CPU
and enable zRAM according to available hardware, that can be awesome.
Thanks!
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
More information about the Lubuntu-users
mailing list