|
From: | Scott Dwyer |
Subject: | Re: [Bug-ddrescue] GNU ddrescue 1.18-pre3 new option complication |
Date: | Sun, 25 Aug 2013 21:35:25 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Even then, we can limit how often the reopen can happen. I just ran a test where it reopened every 3rd attempt (3 seconds) and only saw a marginal decrease in overall performance. But that was a test, it shouldn't be allowed to happen that often I don't think. But it needs to be able to happen often enough to make a difference. Like I said, tricky...
Scott On 8/25/2013 9:05 PM, Paul L Daniels wrote:
On Sun, 25 Aug 2013 20:42:16 -0400 Scott Dwyer <address@hidden> wrote:To be more specific, every second (every screen update) put the current rate in a rotating 10 value table. So this table would alwaysTo make it a bit easier for programming, you can do this without a table/array - something I did when doing the firmware for a piece of testing electronics with a very small microcontroller. Keep two averages, one for the last 100 seconds, and one for the last 5~10. Rembering that the data rate drops off towards the end, which might trigger things if we keep the peak average. http://en.wikipedia.org/wiki/Moving_average#Simple_moving_average Paul.
[Prev in Thread] | Current Thread | [Next in Thread] |