From 8a817e577cf517887e0baa5024780d9134352bfd Mon Sep 17 00:00:00 2001 From: WarGrey Gyoudmon Ju Date: Thu, 2 Jul 2015 07:30:53 +0800 Subject: [PATCH] disable HAVE_POLL_SYSCALL in solaris: poll(2) is the CPU eater, and this problem affects all TCP applications including plt-web-server. --- racket/src/configure | 2 +- racket/src/racket/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/racket/src/configure b/racket/src/configure index 64d3436fc5..cc41f20eef 100755 --- a/racket/src/configure +++ b/racket/src/configure @@ -4537,7 +4537,7 @@ case "$host_os" in LIBS="$LIBS -lsocket -lnsl -lintl" need_gcc_static_libgcc="yes" check_gcc_dash_e="yes" - try_poll_syscall="yes" + try_poll_syscall="no" # poll() has performance problems on Solaris? use_flag_pthread="no" use_flag_posix_pthread="yes" ;; diff --git a/racket/src/racket/configure.ac b/racket/src/racket/configure.ac index dc5faf3bd0..dc9a3b5ae8 100644 --- a/racket/src/racket/configure.ac +++ b/racket/src/racket/configure.ac @@ -668,7 +668,7 @@ case "$host_os" in LIBS="$LIBS -lsocket -lnsl -lintl" need_gcc_static_libgcc="yes" check_gcc_dash_e="yes" - try_poll_syscall="yes" + try_poll_syscall="no" # poll() has performance problems on Solaris? use_flag_pthread="no" use_flag_posix_pthread="yes" ;;