You are not logged in.

#1 2011-07-31 15:31:54

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Disk wakeups because of Chromium writing "Current Session" file

Hello Archers!

Chromium keeps writing this ~/.config/chromium/Default/Current Session all 20 seconds or so, causing my HDD to spin up (and then spin down again thanks to laptop-mode-tools). That's incredibly annoying.

I don't mind if my Current Session file gets lost in case of a system crash... how can I configure my disk to write less frequently? Or is there any way to move the Current Session file into a tmpfs /tmp? Any other tips?

Here's my laptop-mode-tools config http://paste.pocoo.org/show/449951/

Thanks

Offline

#2 2011-07-31 21:30:13

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Disk wakeups because of Chromium writing "Current Session" file

I suppose you could symlink Current Session to a tmpfs and maybe launch Chromium with a script that first copies the session backup to the tmpfs, then backups it when you close Chromium... (I don't use Chromium or laptop mode tools.)

Offline

#3 2011-07-31 21:47:29

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: Disk wakeups because of Chromium writing "Current Session" file

Tried that but Chromium re-creates the file every bootup so this won't work.

Offline

#4 2011-07-31 22:53:25

mjdwitt
Member
From: Indiana University, USA
Registered: 2011-02-14
Posts: 27
Website

Re: Disk wakeups because of Chromium writing "Current Session" file

This should reduce your disk I/O and increase chromium's response times as a nice effect.
https://wiki.archlinux.org/index.php/Ch … e_in_tmpfs

Offline

#5 2011-08-02 15:04:46

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: Disk wakeups because of Chromium writing "Current Session" file

Thanks, that worked very well, although it didn't stop the disk from spinning up. If there only was a usable tool to debug disk activity...

Offline

Board footer

Powered by FluxBB