Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gc old process code | Håvard Pettersen | 2022-03-05 | 1 | -129/+120 |
| | | | | also added read_line function to new Process code | ||||
* | Add a simple adjustTimeoutByDetectedHz to compute a suitable timeout/naptime ↵ | Henning Baldersheim | 2022-02-28 | 1 | -1/+1 |
| | | | | | | based on base VESPA_TIMER_HZ to use for random waiting when doing a poll based appraoch. | ||||
* | Remove _methodMismatchHook member | Henning Baldersheim | 2022-02-28 | 1 | -1/+0 |
| | |||||
* | remove connection-based session handling | Håvard Pettersen | 2022-02-28 | 7 | -591/+4 |
| | | | | also remove method mismatch hook | ||||
* | Remove inlining warnings (fnet). | Tor Egge | 2022-02-26 | 2 | -1/+9 |
| | |||||
* | - Use the typesafe vespalib::count_ms() to correcly count ms. | Henning Baldersheim | 2022-02-25 | 3 | -3/+4 |
| | | | | - Choose tick based on VESPA_TIMER_HZ/10. VESPA_TIMER_HZ has a default of 1000hz. | ||||
* | Revert "Revert "- Create the common transport and threadpool in the main loop."" | Henning Baldersheim | 2022-02-24 | 6 | -14/+13 |
| | |||||
* | Revert "- Create the common transport and threadpool in the main loop." | Henning Baldersheim | 2022-02-24 | 6 | -13/+14 |
| | |||||
* | - Create the common transport and threadpool in the main loop. | Henning Baldersheim | 2022-02-24 | 6 | -14/+13 |
| | | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace. | ||||
* | In order to properly detach supervisor from the transport, do an async close ↵ | Henning Baldersheim | 2022-02-23 | 2 | -9/+6 |
| | | | | and proper sync of trasnport threads. | ||||
* | Revert "Revert "Use a common FNET_Transport owned by Proton in both ↵ | Henning Baldersheim | 2022-02-21 | 1 | -1/+6 |
| | | | | SceduledExecutor …"" | ||||
* | Revert "Use a common FNET_Transport owned by Proton in both SceduledExecutor ↵ | Henning Baldersheim | 2022-02-21 | 1 | -6/+1 |
| | | | | …" | ||||
* | Merge pull request #21285 from vespa-engine/vekterli/more-threading-fixes | Henning Baldersheim | 2022-02-21 | 5 | -27/+32 |
|\ | | | | | More miscellaneous threading fixes [run-systemtest] | ||||
| * | Make `FNET_Connection::_state` atomic to allow safe polling from outside lock | Tor Brede Vekterli | 2022-02-18 | 2 | -13/+13 |
| | | |||||
| * | Ensure cross-thread visibility in test | Tor Brede Vekterli | 2022-02-18 | 1 | -8/+9 |
| | | |||||
| * | Make finished-polling outside of lock thread safe | Tor Brede Vekterli | 2022-02-18 | 2 | -6/+10 |
| | | |||||
* | | Use a common FNET_Transport owned by Proton in both SceduledExecutor and ↵ | Henning Baldersheim | 2022-02-20 | 1 | -1/+6 |
|/ | | | | | | | | | | TransactionLogServer. This reduces the number of Transport object by 1 per document type and netto 1 in Proton. Each of them contains 2 threads. In addition it uses a common Transport for the RpcFileAcquirer objects used during config fetching. This prevents creating 3 temporary Transport objects on every reconfig. | ||||
* | Make FNET_TransportThread IO components counter atomic | Tor Brede Vekterli | 2022-02-18 | 2 | -6/+10 |
| | | | | | | Only checked by tests, but no obvious existing mutex to synchronize around, so turn accesses into relaxed atomics (internal visibility otherwise guaranteed due to transport thread invocation semantics). | ||||
* | Simplify further | Tor Brede Vekterli | 2022-02-17 | 1 | -2/+1 |
| | |||||
* | Remove early-out check that's no longer needed | Tor Brede Vekterli | 2022-02-17 | 1 | -5/+0 |
| | |||||
* | Check FNET_Scheduler slots inside lock | Tor Brede Vekterli | 2022-02-17 | 1 | -4/+3 |
| | |||||
* | Merge pull request #20990 from vespa-engine/havardpe/ignore-binary | Henning Baldersheim | 2022-01-31 | 1 | -0/+1 |
|\ | | | | | ignore binary | ||||
| * | ignore binary | Håvard Pettersen | 2022-01-31 | 1 | -0/+1 |
| | | |||||
* | | Revert "Avoid using vespamalloc for small utility programs as it has a too ↵ | Henning Baldersheim | 2022-01-31 | 3 | -3/+4 |
|/ | | | | hi… [run-systemtest]" | ||||
* | Avoid using vespamalloc for small utility programs as it has a too high ↵ | Henning Baldersheim | 2022-01-28 | 3 | -4/+3 |
| | | | | initial cost and memory footprint. | ||||
* | Avoid strdup. | Henning Baldersheim | 2021-11-24 | 6 | -58/+40 |
| | |||||
* | Update 2019 Oath copyrights. | gjoranv | 2021-10-27 | 1 | -1/+1 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 4 | -4/+4 |
| | |||||
* | Update 2018 copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 126 | -126/+126 |
| | |||||
* | test rpc_mapping_monitor | Håvard Pettersen | 2021-09-20 | 2 | -7/+15 |
| | | | | using the new fnet::TransportDebugger tool | ||||
* | low-level testing of fnet enabled by | Håvard Pettersen | 2021-09-16 | 16 | -39/+440 |
| | | | | | | | | | | | | | | | | | | | 1. Manipulating how much time is spent waiting for events while also manipulating how the passing of time is observed by the transport threads. (fnet::TimeTools) 2. Periodic call-backs from FNET_Transport. All transport threads are blocked during these call-backs. Between each call-back, all transport threads perform a single event loop iteration and any async operations not performed in transport threads are flushed. (FNET_Transport::attach_capture_hook) 3. Combining 1 and 2 in a way that lets the test code run all transport threads one iteration at a time, letting the transport threads run concurrently with each other, but no transport thread is allowed to run concurrently with the test code. (fnet::TransportDebugger) | ||||
* | start with zero-size buffers | Håvard Pettersen | 2021-06-15 | 2 | -6/+7 |
| | |||||
* | try to avoid valgrind complaints during shutdown | Arne Juul | 2021-06-08 | 2 | -0/+5 |
| | |||||
* | drop empty buffers | Håvard Pettersen | 2021-06-01 | 7 | -14/+58 |
| | |||||
* | Track mutex size for Amazon Linux 2 on arm cpu. | Tor Egge | 2021-04-30 | 1 | -0/+2 |
| | |||||
* | Silence warning when casting to FRT_METOD_PT. | Tor Egge | 2021-04-30 | 1 | -1/+18 |
| | |||||
* | string.h does not need alloc.h | Henning Baldersheim | 2021-02-21 | 1 | -0/+1 |
| | |||||
* | use size literals in fnet | Arne Juul | 2021-02-15 | 6 | -8/+14 |
| | |||||
* | Use vespalib::duration for timeouts | Henning Baldersheim | 2021-01-31 | 3 | -1/+4 |
| | |||||
* | Reduce timeouts. | Henning Baldersheim | 2021-01-14 | 3 | -14/+20 |
| | |||||
* | - Add the cost to expensive tests. | Henning Baldersheim | 2021-01-13 | 1 | -12/+17 |
| | | | | - Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores. | ||||
* | Update comment | Henning Baldersheim | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Only handle wakeup if necessary. | Henning Baldersheim | 2020-12-05 | 2 | -7/+6 |
| | |||||
* | GC _waitFinished | Henning Baldersheim | 2020-12-04 | 2 | -7/+2 |
| | |||||
* | _lock -> _shutdownLock, _qLock -> _lock and no std::memory_order_relaxed | Henning Baldersheim | 2020-12-04 | 2 | -15/+15 |
| | |||||
* | Separate loks so the same lock is not used for multiple things. | Henning Baldersheim | 2020-12-04 | 2 | -17/+11 |
| | |||||
* | Handle wakeup events after pipe has been read. | Henning Baldersheim | 2020-12-03 | 1 | -2/+3 |
| | |||||
* | GC unused vespalib::Executor::OptimizeFor | Henning Baldersheim | 2020-12-02 | 1 | -1/+0 |
| | |||||
* | Unify on steady_xxx | Henning Baldersheim | 2020-12-01 | 1 | -11/+11 |
| |