WhatPulse Forums » Support » Client software v » WhatPulse 2.0.2 Welcome back, Guest.


Thread Closed 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WhatPulse 2.0.2
01-25-2013, 08:00 PM (This post was last modified: 01-26-2013 04:29 PM by Bzzz.)
Post: #51
RE: WhatPulse 2.0.2
(01-25-2013 10:09 AM)borandi Wrote:  Whatpulse has a very minor effect on SSDs. Reads and Writes can be done on the block level, and are not done on the page level. You are confusing that with deletes, which has to be done on the page level.[...]Overall result: Even with an old SSD, it will take several decades of normal WP activity to brick the drive, and only performs about 3% of an 'low' daily writes to a drive.

No, it doesn't.
I use full system encryption, so there is a high percentage of used blocks around at all times. Which is generally no problem, as the drive (a 256GB Samsung 830) uses plenty of space for overprovisioning. I bought this drive 19 weeks ago and did some testing until I put it in my machine. These tests did very close to 1 TB of usage. Today, the counter is at 2151 GB. Which equals to ~100 kb/s at 24/7 usage.

As gsmartcontrol offers real-time data from the SSD, I just did two runs of 1 minutes each, one with WP, one without. The diff of written LBAs for the non-WP run was 2144 (~18 kb/s). The other one gave me 14736 LBAs per minute, or ~125 kb/s. That is a HUGE difference. Idle disk load increased sevenfold to 10 gigabytes per day, which is even an order of magnitude larger than I previously expected. Of course you want me to generate statistics over a longer period of time, I'm starting right now...


:edit:
Using this small script ->
Code:
#!/bin/bash
#
LBAi=$(sudo smartctl -A /dev/sda | grep 241 | cut -c 88-)
secsi=$(date +"%s")
LBA=$LBAi

echo -e "TIME\t\tLBAs written\tLBA_dT\tLBA_d\tT_dT\tLBAs per minute"
while true
do
LBAl=$LBA
LBA=$(sudo smartctl -A /dev/sda | grep 241 | cut -c 88-)
LBAld=$(expr $LBA - $LBAl)
secs=$(date +"%s")
LBAd=$(expr $LBA - $LBAi)
secsd=$(expr $secs - $secsi)
if (($secsd>0)); then LBAPm=$(expr $LBAd \* 60 / $secsd ); fi
echo -e "$secs\t$LBA\t$LBAd\t+$LBAld\t$secsd\t$LBAPm"
sleep 10
done
I determined usage patterns for WP:
(Unix time, Total LBAs, diff last LBAs to first ever recorded LBA count, diff LBAs to last sample, time diff in seconds, LBAs per minute since start of the script)
Quote:TIME LBAs written LBA_dT LBA_d T_dT LBAs per minute
1359209676 4638319190 0 +0 0
1359209686 4638322302 3112 +3112 10 18672
1359209787 4638352686 33496 +3096 111 18105
1359209887 4638383854 64664 +3240 211 18387
1359209897 4638386782 67592 +2928 221 18350
1359209988 4638415510 96320 +2848 312 18523
1359210088 4638444630 125440 +2920 412 18267
1359210189 4638473062 153872 +2952 513 17996
1359210289 4638502534 183344 +2872 613 17945
and so on, moving to ~17k LBAs per minute (12.5 GiB/day) in long term, with very frequent writes and low deviation.

Now closing WP, I get:
Quote:1359215712 4639489654 0 +0 0
1359215722 4639489830 176 +176 10 1056
1359215923 4639497750 8096 +128 211 2302
1359216124 4639503750 14096 +120 412 2052
1359216325 4639511686 22032 +256 613 2156
1359216526 4639517694 28040 +176 814 2066
1359216727 4639524494 34840 +112 1015 2059
1359216928 4639532454 42800 +184 1216 2111
1359217129 4639538918 49264 +128 1417 2085
Which does have more fluctuations due to other programs writing, but, as you can see, has generally a far lower disk usage than with WP running. 2.1k LBAs per minute is only about 1.5 GiB/day...
Find all posts by this user
01-27-2013, 02:05 PM
Post: #52
RE: WhatPulse 2.0.2
Closing thread due to 2.0.3: http://whatpulse.org/forums/showthread.php?tid=2488
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Whatpulse crash [GoT]Jewest 2 32 09-20-2019 09:22 AM
Last Post: [GoT]Jewest
  Updating from jessie to buster breaks whatpulse [GoT]Jewest 0 27 09-13-2019 12:27 PM
Last Post: [GoT]Jewest
  Whatpulse isn't running after upgrading Ubuntu 1geeky 0 101 08-06-2019 05:46 AM
Last Post: 1geeky
  Server error: Missing input! with whatpulse 2.8.4 on Win10 Franck.Dernoncourt 2 361 07-28-2019 08:11 PM
Last Post: Franck.Dernoncourt
  WhatPulse 64bit install on Lubuntu 19.04 SiKTheGreatOne 0 222 06-30-2019 02:49 AM
Last Post: SiKTheGreatOne
  WhatPulse not opening on Manjaro Linux (Arch distro) tboxley 4 591 05-26-2019 11:30 AM
Last Post: FamilienVater
  Whatpulse won't start, Unable to install crashRpt! Bai.Bing 0 231 05-24-2019 01:02 PM
Last Post: Bai.Bing
  Whatpulse is not recognizing internet traffic Lodisen 8 794 05-22-2019 05:35 PM
Last Post: Trapton
Exclamation giving pcap permissions breaks whatpulse ajencks1 0 330 04-18-2019 01:08 AM
Last Post: ajencks1
  [Edited] Whatpulse does not work with libssl-dev 1.1.0 jhepburn 4 3,417 03-07-2017 11:11 PM
Last Post: swissboney3

Forum Jump:


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