Skip to contentSkip to conversation

32bit variables on >2T arrays

DISCUSSION Mario 'BitKoenig' Holbe 2 participants 3 messages May 3, 2009 – May 4, 2009 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello again :)

there seems to be another (minor) 32bit-issue...

md7 : active raid10 sdh1[5] sdg1[3] sdf1[1] sdc1[0] sde1[4] sdd1[2]

      4395406848 blocks 512K chunks 2 near-copies [6/6] [UUUUUU]
      [>....................]  check =  0.6% (28034560/4395406848) finish=4.7min speed=254624K/sec
      bitmap: 0/131 pages [0KB], 16384KB chunk

the time-to-finish calculation seems to be quite optimistic :)

Mario

Signature · 2 lines
What I need is an exact list of specific unknown problems we might encounter.
                                -- Manager, Lykes Lines Shipping
#1 lore raw
Quoted 2 lines · Mario 'BitKoenig' Holbe

there seems to be another (minor) 32bit-issue...

      [>....................]  check =  0.6% (28034560/4395406848) finish=4.7min speed=254624K/sec

A little later it normalizes...

      [=>...................]  check =  6.1% (269385216/4395406848) finish=266.0min speed=258429K/sec

seems like it broke the 32bit barrier :)
4395406848 - 269385216 < 2^32

Mario

Signature · 2 lines
"Why are we hiding from the police, daddy?"      | J. E. Guenther
"Because we use SuSE son, they use SYSVR4."      | de.alt.sysadmin.recovery
#2 lore raw
In reply to Mario 'BitKoenig' Holbe
Quoted 11 lines · Mario 'BitKoenig' Holbe

Hello again :)

there seems to be another (minor) 32bit-issue...

md7 : active raid10 sdh1[5] sdg1[3] sdf1[1] sdc1[0] sde1[4] sdd1[2]

      4395406848 blocks 512K chunks 2 near-copies [6/6] [UUUUUU]
      [>....................]  check =  0.6% (28034560/4395406848)
finish=4.7min speed=254624K/sec
      bitmap: 0/131 pages [0KB], 16384KB chunk

the time-to-finish calculation seems to be quite optimistic :)

Thanks.

I've just posted as series of patches which includes a fix for this as well as the other issues you identified.

Thanks for helping to improve md!

NeilBrown