Alexey Rybalchenko
2a91b38ef7
shm: Bump the ref segment size 10x
2023-11-15 11:06:48 +01:00
Alexey Rybalchenko
f006fd8b78
shm: Throw RefCountBadAlloc if insufficient space in the ref count segment
2023-11-15 11:06:48 +01:00
Dennis Klein
961eca5276
test(PluginServices): state change subscription thread-safety
2023-11-10 13:13:13 +01:00
Alexey Rybalchenko
fbb6577625
StateMachine: Guard access to subscription containers
2023-11-10 13:13:13 +01:00
Alexey Rybalchenko
6122010694
Fix address clashes in tests
2023-10-24 15:22:21 +02:00
Giulio Eulisse
b40db42196
Use std::move rather than just move
...
Apparently:
"warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]"
is default in new XCode.
2023-10-23 08:00:23 +02:00
Giulio Eulisse
f732b87def
Drop unused variable
...
The else clause at the end makes the postincrement impossible.
2023-10-23 08:00:23 +02:00
Alexey Rybalchenko
f05a09da5a
shm: Message: refactor ctors
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
5aa6c99442
shm: remove alignment member from Message
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
3c714fd9e0
Message::SetUsedSize: add optional alignment argument, to avoid storing alignment with the msg object
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
1b7532a520
Refactor shm::Message to contain sorted members of MetaHeader
...
Move the members of MetaHeader flat into shmem::Message and sort them by
size to reduce the size of the class.
2023-10-19 19:16:00 +02:00
Alexey Rybalchenko
f092b94c96
Update comment
2023-10-04 11:25:47 +02:00
Alexey Rybalchenko
8d28824489
Shm: Use MakeShmName to construct shm object names
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
4310d07ed1
deduplicate ipc address in a test
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
7bd31f8ff0
apply readability-else-after-return
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
1a0ab3a4e2
shm: Ref counting for unmanaged regions in a dedicated segment
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
cacf69d5f6
Replace boost::variant with std::variant
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
46f50a10ea
Add example with ref-counted copy from unmanaged region
2023-09-29 11:18:24 +02:00
Alexey Rybalchenko
68038c4693
shm: Move ShmHeader into Common.h
2023-09-29 11:18:24 +02:00
Dennis Klein
1036e204d0
docs: Add "releaseNotes" field to codemeta
2023-09-11 18:07:29 +02:00
Dennis Klein
fddbbc1732
docs: Add "softwareVersion" field to codemeta
2023-09-11 18:01:42 +02:00
Giulio Eulisse
3c1723fc54
Allow sorting StateChange callbacks
...
If the key of the callback is a number, it will be used to invoke
callbacks with the correct ordering.
2023-09-06 09:49:30 +02:00
Christian Tacke
c3418cc7b8
chore: Run meta_update.py
2023-08-08 16:26:10 +02:00
Christian Tacke
cc00c5a6f1
docs: Add "readme" field to codemeta
...
A link to an introduction for people who are not experts in
the field.
2023-08-08 16:26:10 +02:00
Christian Tacke
e6bb14f535
ci: Check codemeta.json
...
Use the eOSSR tooling to validate our codemeta.json file
2023-08-08 16:26:10 +02:00
Christian Tacke
b18d60372c
codemeta: Add GSI as "maintainer"
...
GSI is providing resources for maintaining FairMQ. So let's
document this in codemeta.json.
2023-08-08 16:21:48 +02:00
Giulio Eulisse
7ceccdeaa6
Print actual address we are trying to bind.
2023-06-29 12:28:23 +02:00
Dennis Klein
d1c99f7e15
ci: Update build matrix
2023-06-26 11:56:24 +02:00
Dennis Klein
bfc665d76e
feat: Make the channel AutoBind default configurable
2023-06-26 11:56:24 +02:00
Dennis Klein
42d27af20f
docs: Update install commands
2023-06-13 22:43:52 +02:00
Alexey Rybalchenko
25614e3e06
test: Add coverage for --shm-metadata-msg-size
2023-06-13 21:24:40 +02:00
Alexey Rybalchenko
3decac58fc
test: Add data transfer and checks to protocol tests
2023-06-13 21:24:40 +02:00
Dennis Klein
f278e7e312
feat: Add new tunable --shm-metadata-msg-size
...
The shm metadata msg will be right-padded to the given size. This
tunable may be used to saturate the kernel msg buffers more quickly with
the effect that the ZeroMQ message queue size - on which the FairMQ
shmem transport relies upon - behaves more accurately for very small
queue sizes.
This introduces a change for the meta msg format in the multipart case:
old: | MetaHeader 1 | ... | MetaHeader n |
new: | n | MetaHeader 1 | ... | MetaHeader n | padded to fMetadataMsgSize |
where `n` is a `size_t` and contains the number of following meta headers.
Previously, this number was infered from the msg buffer size itself which is
no longer possible due to the potential padding.
Implements #432
2023-06-13 21:24:40 +02:00
Dennis Klein
491a943c63
feat: Use zmq_msg_send
for single message Send
2023-06-13 21:24:40 +02:00
Dennis Klein
c47fc6f9fe
feat: Move ZMsg
to fair::mq::zmq
...
Implement move semantics.
2023-06-13 21:24:40 +02:00
Giulio Eulisse
7b259afdb5
Fix -Wunqualified-std-cast-call
2023-06-13 21:24:40 +02:00
Dennis Klein
33ddcaad5e
docs: Add repology badge
2023-04-05 15:19:05 +02:00
Dennis Klein
4d5dbedeab
build: Add spack develop environment
2023-03-23 14:14:08 +01:00
Dennis Klein
c8fde17b6a
ci: Silence lsan hits in libzmq
2023-03-06 15:32:48 +01:00
Dennis Klein
3781495d29
build(examples): Deduplicate code into add_example
helper
2023-03-06 15:32:48 +01:00
Dennis Klein
8960ce9416
fix: Use std::chrono
consistently
2023-03-06 15:32:48 +01:00
Dennis Klein
05b734ee0d
feat!: Migrate to std::filesystem
consistently
2023-03-06 15:32:48 +01:00
Alexey Rybalchenko
f2dce91098
Make Error classes header only
2023-03-03 12:49:37 +01:00
Alexey Rybalchenko
4af0954ae9
Shm: fix unused value
2023-03-02 19:12:29 +01:00
Alexey Rybalchenko
8f60929f85
Add orcid for Alexey
2023-03-02 13:03:04 +01:00
Dennis Klein
7d401115a0
build: Update CMake policy version range
2023-03-02 11:20:35 +01:00
Dennis Klein
0aecfff133
feat(plugins)!: Remove PMIx
plugin
2023-03-02 11:20:35 +01:00
Dennis Klein
2e98a4e2cb
feat(ofi)!: Remove ofi
transport
...
BREAKING CHANGE
Due to a lack of users, we remove the experimental code. The
latest implementation can be found in release v1.4.56. This does
not mean it will never be picked up again, but for now there are
no plans.
2023-03-02 11:20:35 +01:00
Dennis Klein
21735544f5
ci: Add Fedora 37 & 38 builds
2023-03-01 15:39:38 +01:00
Dennis Klein
651d779226
build: Do not sort package dependencies
...
Order matters!
fixes #144
2023-03-01 15:39:38 +01:00