Author: Tobias Weber <tobias_webe...@gmx.de>
Branch: c8-tcp-style-trx-length
Changeset: r2135:d9897d451fff
Date: 2017-07-23 13:36 +0200
http://bitbucket.org/pypy/stmgc/changeset/d9897d451fff/

Log:    Disable slow start

diff --git a/c8/stm/nursery.c b/c8/stm/nursery.c
--- a/c8/stm/nursery.c
+++ b/c8/stm/nursery.c
@@ -55,10 +55,10 @@
         if (new > 1) {
             new = 1;
         }
-        if (tl->linear_transaction_length_increment != 0) {
-            // thread had to abort before: slow start
-            set_backoff(tl, new);
-        }
+        // if (tl->linear_transaction_length_increment != 0) {
+        //     // thread had to abort before: slow start
+        //     set_backoff(tl, new);
+        // }
     } else { // not abort and backoff != 0
         // in backoff, linear increase up to 1
         new = previous + tl->linear_transaction_length_increment;
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to