Comments (2)
librpma API calls and their MT-tests coverage/status
Key
⬜ - yet to be done
🛑 - blocked (the blocker now is the lack of interprocess synchronization in the multithreaded test framework) #1079
☑️ - MT-test is ready but thread-safety not yet fully assessed
✴️ - MT-test is ready but requires rework
❎ - thread-safety assessed negatively or not thread-rational (please see below)
✅ - MT-test ready and thread-safety fully assessed and confirmed
API | implementation | assesment |
---|---|---|
rpma_conn_apply_remote_peer_cfg; | 🛑 | ⬜ |
rpma_conn_cfg_delete; | ⬜ | ⬜ |
rpma_conn_cfg_get_cq_size; | ☑️ | ⬜ |
rpma_conn_cfg_get_rq_size; | ☑️ | ⬜ |
rpma_conn_cfg_get_sq_size; | ☑️ | ⬜ |
rpma_conn_cfg_get_timeout; | ☑️ | ⬜ |
rpma_conn_cfg_new; | ☑️ | ⬜ |
rpma_conn_cfg_set_cq_size; | ☑️ | ⬜ |
rpma_conn_cfg_set_rq_size; | ☑️ | ⬜ |
rpma_conn_cfg_set_sq_size; | ☑️ | ⬜ |
rpma_conn_cfg_set_timeout; | ☑️ | ⬜ |
rpma_conn_completion_get; | 🛑 | ⬜ |
rpma_conn_completion_wait; | 🛑 | ⬜ |
rpma_conn_delete; | 🛑 | ⬜ |
rpma_conn_disconnect; | 🛑 | ⬜ |
rpma_conn_get_completion_fd; | 🛑 | ⬜ |
rpma_conn_get_event_fd; | 🛑 | ⬜ |
rpma_conn_get_private_data; | ☑️ | ⬜ |
rpma_conn_next_event; | 🛑 | ⬜ |
rpma_conn_req_connect; | 🛑 | ⬜ |
rpma_conn_req_delete; | ⬜ | ⬜ |
rpma_conn_req_get_private_data; | ⬜ | ⬜ |
rpma_conn_req_new; | ☑️ | ⬜ |
rpma_conn_req_recv; | 🛑 | ⬜ |
rpma_ep_get_fd; | ☑️ | ⬜ |
rpma_ep_listen; | ☑️ | ⬜ |
rpma_ep_next_conn_req; | 🛑 | ⬜ |
rpma_ep_shutdown; | ⬜ | ⬜ |
rpma_err_2str; | ⬜ | ⬜ |
rpma_flush; | 🛑 | ⬜ |
rpma_log_get_threshold; | ⬜ | ⬜ |
rpma_log_set_function; | ⬜ | ❎ |
rpma_log_set_threshold; | ⬜ | ❎ |
rpma_mr_dereg; | ⬜ | ⬜ |
rpma_mr_get_descriptor; | ☑️ | ⬜ |
rpma_mr_get_descriptor_size; | ☑️ | ⬜ |
rpma_mr_get_ptr; | ☑️ | ⬜ |
rpma_mr_get_size; | ⬜ | ⬜ |
rpma_mr_reg; | ☑️ | ⬜ |
rpma_mr_remote_delete; | ⬜ | ⬜ |
rpma_mr_remote_from_descriptor; | ⬜ | ⬜ |
rpma_mr_remote_get_flush_type; | ⬜ | ⬜ |
rpma_mr_remote_get_size; | ⬜ | ⬜ |
rpma_peer_cfg_delete; | ⬜ | ⬜ |
rpma_peer_cfg_from_descriptor; | ✴️ | ⬜ |
rpma_peer_cfg_get_descriptor; | ⬜ | ⬜ |
rpma_peer_cfg_get_descriptor_size; | ⬜ | ⬜ |
rpma_peer_cfg_get_direct_write_to_pmem; | ⬜ | ⬜ |
rpma_peer_cfg_new; | ✴️ | ⬜ |
rpma_peer_cfg_set_direct_write_to_pmem; | ⬜ | ⬜ |
rpma_peer_delete; | ⬜ | ⬜ |
rpma_peer_new; | ☑️ | ⬜ |
rpma_read; | 🛑 | ⬜ |
rpma_recv; | 🛑 | ⬜ |
rpma_send; | 🛑 | ⬜ |
rpma_send_with_imm; | 🛑 | ⬜ |
rpma_utils_conn_event_2str; | ⬜ | ⬜ |
rpma_utils_get_ibv_context; | ☑️ | ⬜ |
rpma_utils_ibv_context_is_odp_capable; | ☑️ | ⬜ |
rpma_write; | 🛑 | ⬜ |
rpma_write_atomic; | 🛑 | ⬜ |
rpma_write_with_imm; | 🛑 | ⬜ |
Not thread-rational
Even if not intrinsically not thread-safe, some of these functions are not thread-rational, e.g. there is no point in allowing writing concurrently the same value by multiple threads since no one knows what the result will be.
rpma_log_set_function()
rpma_log_set_threshold()
from rpma.
Thread safety analysis has been moved to THREAD_SAFETY.md
from rpma.
Related Issues (20)
- FEAT: an alternative approach to get the latest work completion directly from rpma_conn_wait() [DRAFT] HOT 1
- Redundant code shall be remove from rpma_conn_req_destroy and rpma_conn_req_reject HOT 1
- numactl: execution of `fio': No such file or directory HOT 2
- FEAT: manual control of completion events generation [DRAFT]
- examples: unnecessary rpma_conn_delete() after failed rpma_conn_req() HOT 1
- Bad throughput performance in flush-to-persistent HOT 7
- FEAT: atomic_store() to be use with all set function HOT 1
- examples: RPMA file size limitation HOT 6
- MTT - server prestate should contain also args.threads_num
- Build in Docker Dynamic Library librpma.so.0 Not Found HOT 3
- test: some MT tests run under valgrind's memcheck sometimes hangs HOT 1
- test: pthread_cond_timedwait() failed: Connection timed out
- Automatic updating of documentation at pmem.github.io fails HOT 1
- FEAT: RPMA Fio Engine (server-side) support for offset
- Are there any Windows solution files to build?
- No device found Error HOT 6
- Unify dockerfiles
- Is it time to implement rpma verify based on traditional RDMA API? HOT 1
- Plan to implement rpma flush & atomic_write based on new ibverbs flush & atomic_write APIs HOT 6
- When will the new version of librpma be released?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpma.