[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 02/11: perf_get_concurrent: fixed exhaustin
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 02/11: perf_get_concurrent: fixed exhausting of local ports on multi-core machines |
Date: |
Sun, 26 May 2019 23:46:46 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 49edf6b94d0aa8588a0ac31801a597c99d405c44
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 26 16:45:03 2019 +0300
perf_get_concurrent: fixed exhausting of local ports on multi-core machines
---
src/testcurl/perf_get_concurrent.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/testcurl/perf_get_concurrent.c
b/src/testcurl/perf_get_concurrent.c
index e1c2e997..2c685867 100644
--- a/src/testcurl/perf_get_concurrent.c
+++ b/src/testcurl/perf_get_concurrent.c
@@ -52,8 +52,13 @@
/**
* How many rounds of operations do we do for each
* test (total number of requests will be ROUNDS * PAR).
+ * Ensure that free ports are not exhausted during test.
*/
+#if CPU_COUNT > 8
+#define ROUNDS (1 + (30000 / 12) / CPU_COUNT)
+#else
#define ROUNDS 500
+#endif
/**
* How many requests do we do in parallel?
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libmicrohttpd] branch master updated (29e20dfb -> 3544e5c1), gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 02/11: perf_get_concurrent: fixed exhausting of local ports on multi-core machines,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 01/11: test_concurrent_stop: heavily rewritten, added watchdog, avoided exhausting of ports, fixed resource leakage., gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 04/11: curl tests: fixed detection of "11" marker on w32, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 05/11: test_https_get_select: fixed usage of uninitialized variable, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 03/11: perf_get_concurrent11: added new test, fixed "11" mode detection, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 06/11: tests: properly setup CURL options, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 07/11: tests: fixed compiler warnings on W32, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 10/11: ChangeLog updated, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 09/11: daemon: flush stderr after each write for debug builds, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 11/11: test_shutdown_*: fixed for W32, gnunet, 2019/05/26
- [GNUnet-SVN] [libmicrohttpd] 08/11: test_get: implemented more detailed reports, gnunet, 2019/05/26