WhatPulse Forums » Support » Client software v » Frequent Disk I/O, v2.2 Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Frequent Disk I/O, v2.2
09-11-2013, 01:35 AM (This post was last modified: 09-11-2013 09:47 AM by AdzXT.)
Post: #1
Frequent Disk I/O, v2.2
OS: Ubuntu 12.04 x64
WhatPulse version: 2.2

I read the following in release notes for 2.0.4 (http://www.whatpulse.org/blog/106/)
Quote:[Enhancement] Only use database file every 5 minutes, cache everything else. This brings disk I/O usage to a near standstill.

I'm monitoring Disk I/O with iotop and I'm seeing whatpulse make a write every 10-20 seconds.
Is there a way to stop this?

I ask because I'm running it on a system where the OS is being booted from a USB stick. While SSDs have wear-levelling to combat excessive writes, standard flash drives don't, so I'm trying to minimise writes as much as possible.
Find all posts by this user
Quote this message in a reply
09-11-2013, 06:03 PM
Post: #2
RE: Frequent Disk I/O, v2.2
"A write" - but it does not flush everything. There's no way to stop it from doing that, other than exiting the client. :-)
Visit this user's website Find all posts by this user
Quote this message in a reply
09-11-2013, 06:13 PM
Post: #3
RE: Frequent Disk I/O, v2.2
Any way of identifying where it's writing, so that I move that location off my flash drive?
Find all posts by this user
Quote this message in a reply
09-11-2013, 07:07 PM
Post: #4
RE: Frequent Disk I/O, v2.2
Sure, but it uses the standard data directory of your OS. Click "Open datadir" from the Advanced button on the settings tab, it'll take you there. If you want to move that, you'll need to create a hardlink to that location on the default path.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-11-2013, 08:11 PM
Post: #5
RE: Frequent Disk I/O, v2.2
.. or use portable mode.

[Image: 2itq8g6.png]
^ This was cool xD
[Image: mcdty0-3.png]
Find all posts by this user
Quote this message in a reply
09-11-2013, 09:52 PM
Post: #6
RE: Frequent Disk I/O, v2.2
(09-11-2013 07:07 PM)smitmartijn Wrote:  Sure, but it uses the standard data directory of your OS. Click "Open datadir" from the Advanced button on the settings tab, it'll take you there. If you want to move that, you'll need to create a hardlink to that location on the default path.

Perfect, thank you. I used a soft link on the directory, seems to have done the trick.

Code:
adz@Hanzo:~/.local/share/data$ ls -l
total 0
lrwxrwxrwx 1 adz smbusr 22 Sep 11 22:34 WhatPulse -> /beatrix/adz/WhatPulse
adz@Hanzo:~/.local/share/data$ cd WhatPulse && ls -l
total 1671
-rw-r--r-- 1 adz smbusr   81680 Sep 11 22:36 app.log
-rw-r--r-- 1 adz smbusr 1358092 Sep 10 18:04 GeoIP.dat
-rw-r--r-- 1 adz smbusr   72704 Sep 11 22:40 whatpulse.db
-rw-r--r-- 1 adz smbusr   72704 Sep 11 21:46 whatpulse.db.backup
-rw-r--r-- 1 adz smbusr     208 Sep 11 22:39 whatpulse.wpw
-rw-r--r-- 1 adz smbusr     208 Sep 11 22:38 whatpulse.wpw.backup
adz@Hanzo:~/.local/share/data/WhatPulse$


Strangely, now that it's using the HDD instead, it doesn't seem to be writing every 10-20 seconds any more.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Bug Client doing an insane amount of writing to disk Formina_Sage 4 2,176 11-04-2016 04:47 PM
Last Post: smitmartijn
  No Disk error Kuropi 3 2,320 02-27-2015 03:51 PM
Last Post: MttJocy
  On macbook, frequent dialog box stating "Whatpulse wants to make changes" Calvinball 6 9,345 01-07-2013 12:41 PM
Last Post: ollysharp

Forum Jump:


User(s) browsing this thread: 1 Guest(s)