Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 06635c5cc -> cacdd0fe8


[TRAFODION-2233] Increased the number of cores limit to 256


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/d81cba01
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/d81cba01
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/d81cba01

Branch: refs/heads/master
Commit: d81cba014635fa7364b1c8b27d2568086231772b
Parents: b07378d
Author: Zalo Correa <zalo.cor...@esgyn.com>
Authored: Thu Sep 22 10:17:25 2016 -0700
Committer: Zalo Correa <zalo.cor...@esgyn.com>
Committed: Thu Sep 22 10:17:25 2016 -0700

----------------------------------------------------------------------
 core/sqf/export/include/seabed/mslimits.h | 4 ++--
 core/sqf/monitor/linux/msgdef.h           | 8 ++++----
 core/sqf/sql/scripts/sqnodes.pm           | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/d81cba01/core/sqf/export/include/seabed/mslimits.h
----------------------------------------------------------------------
diff --git a/core/sqf/export/include/seabed/mslimits.h 
b/core/sqf/export/include/seabed/mslimits.h
index dcb4a04..b19638f 100644
--- a/core/sqf/export/include/seabed/mslimits.h
+++ b/core/sqf/export/include/seabed/mslimits.h
@@ -30,12 +30,12 @@
 
 // Note the MAX's and MS_Process_Info_Type are near clones from msgdef.h
 enum { MS_MON_MAX_KEY_LIST       =    32 };
-enum { MS_MON_MAX_KEY_NAME       =    32 };
+enum { MS_MON_MAX_KEY_NAME       =    64 };
 enum { MS_MON_MAX_NODE_LIST      =    64 };
 enum { MS_MON_MAX_OPEN_LIST      =   256 };
 enum { MS_MON_MAX_PORT_NAME      =   256 };
 enum { MS_MON_MAX_PROC_LIST      =   256 };
-enum { MS_MON_MAX_PROCESS_NAME   =    32 };
+enum { MS_MON_MAX_PROCESS_NAME   =    64 };
 enum { MS_MON_MAX_PROCESS_PATH   =   256 };
 enum { MS_MON_MAX_PROCESSOR_NAME =   128 };
 enum { MS_MON_MAX_REASON_TEXT    =   256 };

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/d81cba01/core/sqf/monitor/linux/msgdef.h
----------------------------------------------------------------------
diff --git a/core/sqf/monitor/linux/msgdef.h b/core/sqf/monitor/linux/msgdef.h
index 2fc18b1..9aa0607 100755
--- a/core/sqf/monitor/linux/msgdef.h
+++ b/core/sqf/monitor/linux/msgdef.h
@@ -60,10 +60,10 @@
 #define MAX_ARGS         60
 #define MAX_ARG_SIZE     256
 
-#define MAX_CORES        64    // Current logic supports Linux limit of 1024
+#define MAX_CORES        256   // Current logic supports Linux limit of 1024
                                // NOTE: Increase with caution as this number
-                               // is also used to gather CPU statistics and
-                               // a large number may degrade performance
+                               //  is also used to gather local CPU statistics
+                               //  and a large number may degrade performance
 #define MAX_NODES        256   // This can be higher when needed and will
                                // have performance implications
                                // Increment by 64 to match node state bitmask
@@ -74,7 +74,7 @@
 
 #define MAX_FAULT_ZONES  16 
 #define MAX_FILE_NAME    256
-#define MAX_KEY_NAME     32
+#define MAX_KEY_NAME     64
 #define MAX_KEY_LIST     32
 #define MAX_NODE_LIST    64
 #define MAX_OPEN_LIST    256

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/d81cba01/core/sqf/sql/scripts/sqnodes.pm
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/sqnodes.pm b/core/sqf/sql/scripts/sqnodes.pm
index 6d12bd5..d3149ce 100755
--- a/core/sqf/sql/scripts/sqnodes.pm
+++ b/core/sqf/sql/scripts/sqnodes.pm
@@ -213,7 +213,7 @@ sub verifyCoreList
 
     if ($numArgs == 2)
     {   # Only one core number specified, make sure it is in valid range
-        if ($_[1] > 15)
+        if ($_[1] > 255)
         {
             displayStmt($_[0]);
             print "   Error: core number must be number must be in the range 0 
.. 15.\n";
@@ -226,7 +226,7 @@ sub verifyCoreList
             displayStmt($_[0]);
             print "   Error: first core number must be number must be in the 
range 0 .. 14.\n";
         }
-        if ($_[2] == 0 || $_[2] > 15)
+        if ($_[2] == 0 || $_[2] > 255)
         {
             displayStmt($_[0]);
             print "   Error: second core number must be number must be in the 
range 1 .. 15.\n";

Reply via email to