On Tue, Dec 20, 2011 at 8:23 PM, Sweyn78 <swe...@gmail.com> wrote:
[...]
> *Mounting /tmp as tmpfs (when normal RAM runs-out, the computer will
> swap to the zrams first, and the hd/ssd second)
We already do this.
> This will allow maximum browsing speed without wasting system
> resources (think about it: by default in most distros, you're storing /
> tmp files on a journaling filesystem, which is completely
> unecessary).
Performance suggestions are good, but performance suggestions with
hard benchmark data to back it up are even better. There are some
autotests for running some of the chrome browsing benchmarks as part
of the autotest suite that you can build and run against your own
build of Chromium OS to collect this data. See
http://www.chromium.org/developers/testing/page-cyclers and the
pagecycler autotests for more info.
> On an ssd, where reads and writes come at a premium, it
> is especially important to try and reduce the amount of reads/writes
> to the disk.
At a premium compared to what? SSDs are much faster than rotating
media for all operations.
-Olof
I assume he's referring to the commonly held myth that if you have to
pay careful attention to how much your write to your SSD if you don't
want your SSD to fail soon because you exceeded its write limit.
Jeremy
Ah. That is unfortunately not a myth at all, in particular not for
consumer-grade devices such as the ones used in Chromebooks.
Fortunately the workloads we have are still well behaved in that sense
though, so we're not exposed to some of those problems.
-Olof
People on the team have investigated swap to zram for low memory
devices but as of now we have decided not to implement it yet since
all of our shipping devices currently have 2GiB of memory which seems
to be enough for "normal" uses.
That said, someone using Chromium OS could probably set it up fairly
easily if they wanted to or needed it.
Sonny
> --
> Chromium OS discuss mailing list: chromium-...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
echo $size > /sys/block/zram0/disksize
mkswap /dev/zram0
swapon /dev/zram0
disclaimer: I haven't tried this myself :-)