Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ 49f9627a

Name Size
CLI.hs 13.8 kB
Cluster.hs 31.6 kB
Container.hs 3 kB
ExtLoader.hs 4.6 kB
IAlloc.hs 6.7 kB
Instance.hs 5.6 kB
Loader.hs 8.2 kB
Luxi.hs 6 kB
Node.hs 16.9 kB
PeerMap.hs 2.8 kB
QC.hs 13.8 kB
Rapi.hs 4.8 kB
Simu.hs 2.2 kB
Text.hs 3.7 kB
Types.hs 5.4 kB
Utils.hs 5.6 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
49f9627a 05/20/2010 12:07 pm Iustin Pop

Change some test constants

First, we reduce the max size of the disks, since Int on 32bits will
overflow for big simulated clusters. This is a real issue, that will
need fixing in real life, but for now we just "silence" this test.

Second, we increase the amount of time a test is allowed to run,...

3ed46bb7 05/19/2010 04:28 pm Iustin Pop

Fix some haddock comments

8fcf251f 05/19/2010 04:09 pm Iustin Pop

Add more unit tests

This increases the overall coverage by 5%-10% (depending on coverage
type). Some modules are still not unittested at all, as HUnit is a
better choice for them.

1e3dccc8 05/19/2010 04:08 pm Iustin Pop

Shuffle some constants around

… and export more functions. This will help with unit testing.

f4c0b8c5 05/18/2010 07:31 pm Iustin Pop

Remove the noLimit values and always use limits

This patch moves from allowing no-limits for disk/cpu ratios, and always
use a real limit. For disk, it's simple since we use 0, which means no
reservations for disks. For CPU, we set an (arbitrary) limit of 64 v/p,...

e2436511 05/04/2010 02:42 pm Iustin Pop

Fix hspace's KM metrics

We returned the KM_POOL_* metrics as the final state, not as the delta
between the final and the initial state.

e87a419f 04/15/2010 05:16 pm Iustin Pop

Fix Node hiCpu computation

In case we're not enabling limits, let's restrict this to -1, instead of
-1 times the number of pcpus.

9b8fac3d 04/15/2010 12:50 pm Iustin Pop

Add a new function to compute allocation deltas

Given two cluster states, the new function can answer the following
questions:

- how much resources currently allocated
- how much resources finally allocated (delta from above is how much we
can actually allocate on the cluster)...

86ecce4a 04/15/2010 12:27 pm Iustin Pop

Introduce total vcpu tracking in CStats

We add a new field that tracks the available virtual cpus (expressed as
node cpus times the vcpu ratio).

bfefb674 04/14/2010 03:44 pm Iustin Pop

Merge branch 'master' into next

  • master:
    Fix iallocator crash when no solutions exist
    Fix IAllocator multi-evacuate message

View revisions

Also available in: Atom