lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.1-17-g4fc4197

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.1-17-g4fc4197



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  4fc41979a9b0beb6a6bf57429685e2a89300f8b1 (commit)
       via  bc6a18e9465f0dc92a58453d9435b3b060dcb117 (commit)
      from  58d50bf0b3c3d0a29941eb5473a9b3cfbb7d6f35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=4fc41979a9b0beb6a6bf57429685e2a89300f8b1

commit 4fc41979a9b0beb6a6bf57429685e2a89300f8b1
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Sep 8 16:50:24 2013 +0200

    Upgrade to automake 1.14

diff --git a/autogen.sh b/autogen.sh
index 33a0189..431ba45 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,8 +10,8 @@
 for fname in INSTALL ar-lib compile depcomp install-sh missing \
              mkinstalldirs py-compile test-driver
 do
-  [ -r /usr/share/automake-1.13/$fname ] && \
-    cp -f /usr/share/automake-1.13/$fname $fname
+  [ -r /usr/share/automake-1.14/$fname ] && \
+    cp -f /usr/share/automake-1.14/$fname $fname
 done
 
 # generate aclocal.m4 from configure.ac

http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=bc6a18e9465f0dc92a58453d9435b3b060dcb117

commit bc6a18e9465f0dc92a58453d9435b3b060dcb117
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Sep 8 15:50:28 2013 +0200

    Use larger nslcd send buffers
    
    By using bigger write buffers in nslcd we reduce the number of writes in
    nslcd and consequently the number of reads in the NSS and PAM modules
    for bigger responses.
    
    This reduces the number of system calls that are made during a request
    and brings a small performance improvement that is mainly measurable in
    the NSS module. A measurement showed 30-80% reduction in the number of
    system calls in the NSS module and around 10% reduction in CPU usage
    (CPU time, only small reduction in wallclock time).
    
    Thanks John Sullivan for pointing this out.

diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index ab2e2cb..afd54cf 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -75,7 +75,7 @@
 /* buffer sizes for I/O */
 #define READBUFFER_MINSIZE 32
 #define READBUFFER_MAXSIZE 64
-#define WRITEBUFFER_MINSIZE 64
+#define WRITEBUFFER_MINSIZE 1024
 #define WRITEBUFFER_MAXSIZE 1 * 1024 * 1024
 
 /* flag to indicate if we are in debugging mode */

-----------------------------------------------------------------------

Summary of changes:
 autogen.sh    |    4 ++--
 nslcd/nslcd.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/