From 8dda364ea7781b44dbf9122fff1715e13537582f Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 3 Jul 2011 15:53:57 +0200 Subject: [PATCH] hspace: also display the starting tiered specs These are useful for checking what instance specifications we start with (as they are not necessarily the first entry in the TSPEC map). Signed-off-by: Iustin Pop Reviewed-by: Guido Trotter --- htools/hspace.hs | 1 + man/hspace.rst | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/htools/hspace.hs b/htools/hspace.hs index 730584a..6b1a613 100644 --- a/htools/hspace.hs +++ b/htools/hspace.hs @@ -314,6 +314,7 @@ main = do maybeSaveData (optSaveCluster opts) "tiered" "after tiered allocation" (ClusterData gl trl_nl trl_il ctags) + printKeys $ map (\(a, fn) -> ("TSPEC_INI_" ++ a, fn tspec)) specData printKeys $ printStats PTiered (Cluster.totalResources trl_nl) printKeys [("TSPEC", intercalate " " spec_map')] printAllocationStats m_cpu nl trl_nl) diff --git a/man/hspace.rst b/man/hspace.rst index 208bc78..b91361b 100644 --- a/man/hspace.rst +++ b/man/hspace.rst @@ -60,6 +60,11 @@ SPEC_MEM, SPEC_DSK, SPEC_CPU, SPEC_RQN, SPEC_DISK_TEMPLATE These represent the specifications of the instance model used for allocation (the memory, disk, cpu, requested nodes, disk template). +TSPEC_INI_MEM, TSPEC_INI_DSK, TSPEC_INI_CPU + Only defined when the tiered mode allocation is enabled, these are + similar to the above specifications but show the initial starting spec + for tiered allocation. + CLUSTER_MEM, CLUSTER_DSK, CLUSTER_CPU, CLUSTER_NODES These represent the total memory, disk, CPU count and total nodes in the cluster. -- 1.7.10.4