You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2016/10/31 19:32:14 UTC

[1/2] incubator-trafodion git commit: [TRAFODION-2235] Changed EPOLL timeout default values.

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 2d93f397b -> c619c1e81


[TRAFODION-2235] Changed EPOLL timeout default values.


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

Branch: refs/heads/master
Commit: 0ddd1093a7003ff9f05ec9b1fcdeb17cab20fd63
Parents: 2c3c7c5
Author: Zalo Correa <za...@esgyn.com>
Authored: Sun Oct 30 08:41:18 2016 -0700
Committer: Zalo Correa <za...@esgyn.com>
Committed: Sun Oct 30 08:41:18 2016 -0700

----------------------------------------------------------------------
 core/sqf/monitor/linux/cluster.cxx | 6 +++---
 core/sqf/sqenvcom.sh               | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/0ddd1093/core/sqf/monitor/linux/cluster.cxx
----------------------------------------------------------------------
diff --git a/core/sqf/monitor/linux/cluster.cxx b/core/sqf/monitor/linux/cluster.cxx
index b33950d..2407c04 100644
--- a/core/sqf/monitor/linux/cluster.cxx
+++ b/core/sqf/monitor/linux/cluster.cxx
@@ -4373,9 +4373,9 @@ int CCluster::AllgatherSock( int nbytes, void *sbuf, char *rbuf, int tag, MPI_St
         }
         else
         {
-            // default to 60 seconds
-            sv_epoll_wait_timeout = 1000;
-            sv_epoll_retry_count = 60;
+            // default to 64 seconds
+            sv_epoll_wait_timeout = 4000;
+            sv_epoll_retry_count = 16;
         }
 
         char buf[MON_STRING_BUF_SIZE];

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/0ddd1093/core/sqf/sqenvcom.sh
----------------------------------------------------------------------
diff --git a/core/sqf/sqenvcom.sh b/core/sqf/sqenvcom.sh
index 5be3c75..79e46d7 100644
--- a/core/sqf/sqenvcom.sh
+++ b/core/sqf/sqenvcom.sh
@@ -683,9 +683,9 @@ export SQ_MON_KEEPINTVL=6
 export SQ_MON_KEEPCNT=5
 
 # Monitor sync thread epoll wait timeout is in seconds
-# Currently set to 60 seconds internally (1 second timeout, 60 retries)
-#export SQ_MON_EPOLL_WAIT_TIMEOUT=5
-#export SQ_MON_EPOLL_RETRY_COUNT=12
+# Currently set to 64 seconds (4 second timeout, 16 retries)
+export SQ_MON_EPOLL_WAIT_TIMEOUT=4
+export SQ_MON_EPOLL_RETRY_COUNT=16
 
 # Monitor Zookeeper client
 #  - A zero value disables the zclient logic in the monitor process.


[2/2] incubator-trafodion git commit: Merge [TRAFODION-2235] PR-801 Changed EPOLL timeout default values.

Posted by su...@apache.org.
Merge [TRAFODION-2235] PR-801 Changed EPOLL timeout default values.


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

Branch: refs/heads/master
Commit: c619c1e811e7ce9f993727d10fd230a5d510e1a8
Parents: 2d93f39 0ddd109
Author: Suresh Subbiah <su...@apache.org>
Authored: Mon Oct 31 19:31:35 2016 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Mon Oct 31 19:31:35 2016 +0000

----------------------------------------------------------------------
 core/sqf/monitor/linux/cluster.cxx | 6 +++---
 core/sqf/sqenvcom.sh               | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------