- Jul 06, 2009
-
-
Iustin Pop authored
This big patch cleans up the code per hlint indications. Many removals of extra parentheses, replacements of concat . map with concabtMap, extra dollar signs, eta reductions, etc. were performed. The code still compiles and passes a couple of manual tests on sample files. The individual changes are also small enough as to be visually easy to confirm.
-
- Jul 05, 2009
-
-
Iustin Pop authored
This patch enhances hspace to report why the allocation sequence stopped, both in absolute error count and for the top reason.
-
Iustin Pop authored
Currently the allocation/move operations workflow return ‘Maybe a’, which is very convenient but loses all details about the failure mode. This patch introduces a new data type which encodes the specific failure mode. It is not yet used correctly (e.g. all node operations result in FailN1), but the workflow is updated. Most of the changes are in the hail/hspace tools, the library code required only trivial adjustments.
-
- Jul 03, 2009
-
-
Iustin Pop authored
This adds two new stats - sum of reserved ram and disk.
-
Iustin Pop authored
This uses the newly-added Node.availDisk to compute the actual available disk correctl, and display the total allocatable disk in hspace.
-
- Jul 02, 2009
-
-
Iustin Pop authored
Currently totalResources returns a 5-tuple of integers. This is not easy to handle, as each change on the return type means that each caller must be updated. This patch adds a new type for cluster stats and uses that instead as its return type. This simplifies its callers while complicating only a little the computation of the stats.
-
Iustin Pop authored
The display of cluster resources is extracted into a separate function and enhanced to display more stats.
-
Iustin Pop authored
This patch changes Cluster.totalResources to compute more details about the cluster status, and enhances hspace to display more of these.
-
- Jun 12, 2009
-
-
Iustin Pop authored
-
Iustin Pop authored
-
- Jun 11, 2009
-
-
Iustin Pop authored
This removes some unused functions and imports to cleanup the warnings.
-
Iustin Pop authored
In a few places (e.g. tryRead or any printf call) it's a little bit hard to add the correct type signatures, but in the it is possible to fix these warnings (which can bite one in subtle cases).
-
- Jun 10, 2009
-
-
Iustin Pop authored
This patch adds reading of vcpu count for instances, in preparation for using the vcpu ratio in cluster scoring.
-
- Jun 01, 2009
-
-
Iustin Pop authored
This also fixes other required node numbers.
-
Iustin Pop authored
Currently tryAlloc/tryReloc do not return the new instance, as this is not needed for IAllocator alloc/reloc requests. However, for computing the space, the new instance is useful, so we modify these functions to return this information too. The patch also improves hspace to have (with default parameters) a parseable output.
-
Iustin Pop authored
This is a tool that checks how many instances (of same size, specified by command line arguments) can be added to a cluster while remaining N+1 compliant.
-