aboutsummaryrefslogtreecommitdiffstats
path: root/fnet
Commit message (Collapse)AuthorAgeFilesLines
* Avoid strdup.Henning Baldersheim2021-11-246-58/+40
|
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update Verizon Media copyright notices.gjoranv2021-10-074-4/+4
|
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-07126-126/+126
|
* test rpc_mapping_monitorHåvard Pettersen2021-09-202-7/+15
| | | | using the new fnet::TransportDebugger tool
* low-level testing of fnet enabled byHåvard Pettersen2021-09-1616-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 buffersHåvard Pettersen2021-06-152-6/+7
|
* try to avoid valgrind complaints during shutdownArne Juul2021-06-082-0/+5
|
* drop empty buffersHåvard Pettersen2021-06-017-14/+58
|
* Track mutex size for Amazon Linux 2 on arm cpu.Tor Egge2021-04-301-0/+2
|
* Silence warning when casting to FRT_METOD_PT.Tor Egge2021-04-301-1/+18
|
* string.h does not need alloc.hHenning Baldersheim2021-02-211-0/+1
|
* use size literals in fnetArne Juul2021-02-156-8/+14
|
* Use vespalib::duration for timeoutsHenning Baldersheim2021-01-313-1/+4
|
* Reduce timeouts.Henning Baldersheim2021-01-143-14/+20
|
* - Add the cost to expensive tests.Henning Baldersheim2021-01-131-12/+17
| | | | - Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores.
* Update commentHenning Baldersheim2020-12-071-1/+1
|
* Only handle wakeup if necessary.Henning Baldersheim2020-12-052-7/+6
|
* GC _waitFinishedHenning Baldersheim2020-12-042-7/+2
|
* _lock -> _shutdownLock, _qLock -> _lock and no std::memory_order_relaxedHenning Baldersheim2020-12-042-15/+15
|
* Separate loks so the same lock is not used for multiple things.Henning Baldersheim2020-12-042-17/+11
|
* Handle wakeup events after pipe has been read.Henning Baldersheim2020-12-031-2/+3
|
* GC unused vespalib::Executor::OptimizeForHenning Baldersheim2020-12-021-1/+0
|
* Unify on steady_xxxHenning Baldersheim2020-12-011-11/+11
|
* - Separate out the tail of the EventLoop into separate method to ease ↵Henning Baldersheim2020-12-0110-57/+62
| | | | | | readability. - Also separate out timeout handling of old connections to separate method and unify on vespalib::time.
* Move config setters directly onto main TransportConfig objectHenning Baldersheim2020-12-012-24/+19
|
* Make constructors explicit and config const.Henning Baldersheim2020-12-013-6/+8
|
* provide the config in the constructor only.Henning Baldersheim2020-12-0112-173/+101
|
* Misc cleanup of includes and code healthHenning Baldersheim2020-12-0133-155/+125
|
* Rename handle_wakeup -> handle_wakeup_events and leave an empty ↵Henning Baldersheim2020-11-302-6/+7
| | | | handle_wakeup to satisfy selector callback api.
* Simplify and use a single events_before_wakup number in the transport thread ↵Henning Baldersheim2020-11-303-17/+9
| | | | for controlling wakeup frequency.
* In ADAPTIVE mode a wakeup will be done with 100 packets ready for write.Henning Baldersheim2020-11-291-3/+11
|
* Allow to optimize for throughput over latency. Wakeup is extremely expensive.Henning Baldersheim2020-11-293-2/+12
|
* Use std::make_unique and hide actual ThreadExecutor implementation.Henning Baldersheim2020-11-294-12/+11
|
* Guard against timeout value that is too high and will cause overflow.Henning Baldersheim2020-11-052-1/+4
|
* Eliminate noexcept warnings.Tor Egge2020-10-111-2/+2
|
* - GC the last usages of vespalib::Lock.Henning Baldersheim2020-10-082-2/+0
| | | | - Now it is only vespalib::Monitor left
* Use && qualified member functions.Henning Baldersheim2020-09-262-1/+12
|
* Reduce visibility to avoid having to see everything.Henning Baldersheim2020-09-111-3/+1
|
* Revert "Revert "Revert "Balder/group commits to tls 2 remaining rebased"""Jon Marius Venstad2020-09-091-1/+3
|
* Revert "Revert "Revert "Revert "Balder/group commits to tls 2 remaining ↵Jon Marius Venstad2020-09-091-3/+1
| | | | rebased""""
* Revert "Revert "Revert "Balder/group commits to tls 2 remaining rebased"""Arnstein Ressem2020-09-091-1/+3
|
* Revert "Revert "Balder/group commits to tls 2 remaining rebased""Henning Baldersheim2020-09-081-3/+1
|
* Revert "Balder/group commits to tls 2 remaining rebased"Henning Baldersheim2020-09-071-1/+3
|
* Properly clean up stale commit task. Also reduce visibility of code.Henning Baldersheim2020-09-071-3/+1
|
* ChildProc -> ChildProcessArne Juul2020-07-171-27/+27
|
* rename SlaveProc -> ChildProcArne Juul2020-07-171-27/+27
|
* Fix reference leak in fnet echo client example program.Tor Egge2020-04-221-0/+1
|
* Merge pull request #12315 from vespa-engine/balder/follow-intellij-adviseHenning Baldersheim2020-02-244-4/+8
|\ | | | | Follow clion advise