- Aug 30, 2010
-
-
Iustin Pop authored
This is currently hardcoded in an internal function in hscan.hs, and we move it to Text.hs for later use.
-
- Aug 25, 2010
-
-
Iustin Pop authored
This checks that the Node text serialization and deserialization operations are idempotent when combined other.
-
- Aug 24, 2010
-
-
Iustin Pop authored
Currently these are in hscan, and cannot be reused easily.
-
- May 25, 2010
-
-
Iustin Pop authored
Instance, Node and Text modules have improved coverage.
-
- Jan 07, 2010
-
-
Iustin Pop authored
This patch changes from the two separate files to a single file, with sections separated by a blank line. Currently only the node and instance data is accepted, later the cluster tags will be read too via this format. This makes all the programs accept the new format, but hscan doesn't yet generate it.
-
Iustin Pop authored
This is in preparation for the text format changes.
-
- Nov 27, 2009
-
-
Iustin Pop authored
While these are not actually populated from the backends, and all the programs ignore them, this patch contains the changes in the function types required.
-
- Nov 11, 2009
-
-
Iustin Pop authored
… and read it in all the loaders. hscan is modified to save it to the files it generates. The attribute is not yet used in any place.
-
Iustin Pop authored
This is simpler than the concat operator.
-
- Oct 16, 2009
-
-
Iustin Pop authored
These were already duplicate (Text and Simu) and we need tryRead in more places.
-
- Aug 31, 2009
-
-
Iustin Pop authored
This include instance text load tests.
-
- Aug 18, 2009
-
-
Iustin Pop authored
This is useful especially for hspace, where we might want to simulate a hypothetical cluster to check allocation beforehand.
-
- 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.
-
- Jun 11, 2009
-
-
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 cpu-count related attributes to nodes: - total cpus - cpus in use - ratio of virtual:physical cpus We also set correctly the cpu values at load time, but we don't do anything yet while moving instances around. The cpu ratio is shown in the cluster list.
-
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 doc-patch adds copyright and license information to (hopefully) all needed files.
-
Iustin Pop authored
This patch does only doc build changes, doc changes and function move around (for more logical documentation). It should have no impact at all on the code.
-
- May 27, 2009
-
-
Iustin Pop authored
This is a first step towards full datatype renaming. That requires more changes, so at first we only want to document clearly what is a node index, what is an instance index, and what is a plain Int.
-
- May 25, 2009
-
-
Iustin Pop authored
Slash is a reserved char. Slash is a reserved char. Slash is a…
-
- May 23, 2009
-
-
Iustin Pop authored
This patch removes the ktn/kti lists from most parts of the first half of the loading sequence. Some remain as the [(String, Int)] is the nicest way to lookup names and get indices back.
-
Iustin Pop authored
Since both nodes and instances support some common functionality (names and indices), we add a class so that we can access these attributes in a generic way.
-
- May 22, 2009
-
-
Iustin Pop authored
In order to simplify the data structures, we add back the name on the node and instance objects. We still keep the index for, well, indexing, but we will use the name directly from the object, in order to get rid of the ktn/kti arguments which are passed around everywhere.
-
Iustin Pop authored
This new big patch does a couple of more cleanups in the loading of data chapter: - introduce a Types module that holds most types (except the base Node/Instance/etc.) so that multiple other modules can use these (instead of only Cluster and its users) - bring IAlloc.hs in line with the recent changes of providing data types and not strings - removal of obsolete Utils.hs json-related functions
-
Iustin Pop authored
This big patch changes the loader model from “string data as common format” to actual object structures as common format. The text loading function move from Cluster.hs to a new Text.hs module, some common functions are moved to a new Loader.hs module, and the return values from both Rapi.hs and Text.hs are uniformized.
-