Mailing List Archive

Quizz : Time to sync ?
Math fans this is for you ..

Does anyone have a idea of the time needed to REPL 10 Gigabytes

If I consider this size on kb 1024*1024*1024 and the fact that a block is
normaly
one kb (or 4 if you want) on ext2 I have more or less between
25 000 000 and 1 000 000 000 block to write ..

It is now more than 1 hour than my REPL started and I can read on the
master:
ns: 1 383 252 ..

I hope I done a mistake somewhere ..

Thomas
Re: Quizz : Time to sync ? [ In reply to ]
Hi,

On Tue, 6 Jun 2000, Thomas Mangin wrote:
) Does anyone have a idea of the time needed to REPL 10 Gigabytes
)
) If I consider this size on kb 1024*1024*1024 and the fact that a block is
) normaly
) one kb (or 4 if you want) on ext2 I have more or less between
) 25 000 000 and 1 000 000 000 block to write ..

ok, 10GB == 10 * 1024 * 1024 * 1024. A drbd block is 4K, so you have:

number of blocks to send = 10 * 1024 * 1024 * 1024 / 4 * 1024

you easily see that:

number of blocks to send = 10 * 256 * 1024 (cut a 1024 and avoid dividing
10 by 4 when you have another factor that divides better :).

So number of blocks to send = 2.621.440

Go get some coffee and wait... :)

( Fábio Olivé Leite -* ConectivaLinux *- olive@example.com[.br] )
( PPGC/UFRGS MSc candidate -*- Advisor: Taisy Silva Weber )
( Linux - Distributed Systems - Fault Tolerance - Security - /etc )