Revision f5410303 src/Ganeti/Constants.hs

b/src/Ganeti/Constants.hs
4945 4945

  
4946 4946
-- * Helper VM-related timeouts
4947 4947

  
4948
-- | The default fixed timeout - needed to startup the helper VM
4948
-- | The default fixed timeout needed to startup the helper VM.
4949 4949
helperVmStartup :: Int
4950 4950
helperVmStartup = 5 * 60
4951 4951

  
4952
-- | The default fixed timeout needed until the helper VM is finally
4953
-- shutdown, for example, after installing the OS.
4954
helperVmShutdown :: Int
4955
helperVmShutdown = 2 * 60 * 60
4956

  
4952 4957
-- | The zeroing timeout per MiB of disks to zero
4953 4958
--
4954
-- Determined by estimating that a disk writes at a relatively slow speed of 1/5
4955
-- of the max speed of current drives
4959
-- Determined by estimating that a disk writes at a relatively slow
4960
-- speed of 1/5 of the max speed of current drives.
4956 4961
zeroingTimeoutPerMib :: Double
4957 4962
zeroingTimeoutPerMib = 1.0 / (100.0 / 5.0)

Also available in: Unified diff