Re: Gkrellm reports memory and ramdisk as disk writing

Usama Akkad <[email protected]> Sun, 20 Dec 2015 21:50:14 +0200
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
Thank you for responding guenter.

I'm not an expert but I've monitored atop & iotop output. When
using the ramdisk I do not see notable usage of disk by the browser
(chromium-browser) process.

But when I run without the ramdisk like the default situation I do
notice the browser activity.

In both cases gkrellm report disk activity so I think this could be
a bug or just it is way of calculation.

Thank you,

Usama

On 20-12-2015 20:11, guenter wrote:

Am 20.12.2015 um 10:33 schrieb Usama Akkad:

Hi,

This tool is great.

I've noticed disk activity when I watch live stream or youtube video.
It's very obvious on Gkrellm.
When I stop live stream disk activity stops.

However I though I can make my browser use memory only for cache
storage to save the disks some unnecessary writes.

In Firefox I set
browser.cache.disk.enable;false

But GKrellM was still reporting a disk activity even though I set it
to monitor sda only

Then I tried chromium browser with a ram disk with the following commands:

sudo mount -t tmpfs -o size=1024M tmpfs /media/ramdisk/
chromium-browser --user-data-dir=/media/ramdisk/

But I still see reported disk activity. So I wonder why this is
happening and if I can limit the activity to only what makes the disk
spin.

Thank you,
Usama

You may give 'iotop' a try to find out, who is responsible for the disk
activity. Or try 'iostat'.

HTH,
guenter