Bug 600 - option for less disk intensity
Status:
NEW
Component:
Core :: UNIX
Version:
1.8.3
Hardware:
PC Linux
Importance:
P4 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388570
Depends on:
Blocks:
Reported:
Mar 13 2007 11:30:41 UTC
by:
Michael Piefel
Modified:
Sep 3 2011 14:58:29 UTC
CC List:
Francois Marier
JAG
Christoph Lange
IdWhoWhenSizeType
259dirty way to disable mid-session disk access
Denis DzenskevichSep 3 2011 14:58:29 UTC2172text/plain
WhoWhenWhatRemovedAdded
Rob CaelersAug 27 2007 14:04:04 UTCpriorityP2P4
Francois MarierNov 4 2007 22:00:16 UTCccFrancois Marier
JAGDec 29 2007 15:04:15 UTCccJAG
Christoph LangeNov 4 2010 14:06:10 UTCccChristoph Lange
Description
Michael Piefel  Mar 13 2007 11:30:41 UTC
[Copy of Debian bug report]

Every few seconds, workrave writes its stats to disk:
[...]
It would be sweet if somehow this could be kept in memory if an
option is specified, otherwise it's close to impossible to configure
a laptop to spin down its disk while workrave is running.
Comment 1
JAG  Dec 29 2007 15:04:15 UTC
I vote for this one. In fact if I ever go into the code (as I sometimes dream to do) I'd start with looking how statistics are handled. (Then next on my list would be general memory management.)

So, I hope someone beats me to it. :)
Comment 2
Christoph Lange  Nov 4 2010 14:06:10 UTC
Is there a voting facility in this Bugzilla?  Anyway, I would also like to vote for this bug.
Comment 3
Denis Dzenskevich  Sep 3 2011 14:58:29 UTC
Created attachment 259
dirty way to disable mid-session disk access

I've simply commented out some of the save calls so workrave now only touches disk on startup/closing/preferances change.
It still works fine and correctly restores its state on restart, but I only use minibreaks and rest breaks, so daily limit and network are not tested.
Feel free to use :)