fr1 speed calculation tricks...

denis bonnenfant <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
I made some tests on my servers, linked with GbE link, and noticed a very 
strange behavior :

First, I set speed_limit_min and max to respectively 1 000 000 and 2 000 000.
this way, i can test the real speed of the link during reconstruction.
I forced full reconstruction of nda, and got a speed of 38 000 KB/s, with a 
system load of 8!

So I set min to 1000, hoping that md will go down to this limit. No effect !
I set max to 10 000, this time it works, speed fall to this value, and load fall 
to 1. Setting min value seemed to have no effect on real reconstruction speed, 
weird!

Then i try the same test with an intelligent resync of a clean disk :

set min to 1000, max to 10000. Reconstruction speed falls to 1000 ! I raise max 
to 1 000 000, no effect. I raise min to 1 000 0000, speed goes to this large 
value !

So it looks like
  - max is corresponding to the maximum speed to be set for true reconstruction,
  - min is corresponding to the minimum speed for intelligent resync.
So min must be set much higher than max

Am I right ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.