goldsborough / ipc-bench

:racehorse: Benchmarks for Inter-Process-Communication Techniques
MIT License
687 stars 108 forks source link

shm-sync fails with "Segmantation fault" #17

Open betulum opened 5 years ago

betulum commented 5 years ago

both shm-server and shm-client fail with "Segmentation fault (core dumped)"

alexandervanrenen commented 5 years ago

Hi betulum,

I am glad to see people using our project and thank you for pointing out these issues. However, we don't really work on this anymore and it is therefore unlikely to be fixed by us.

What I would suggest is to use/have a look at L5 (https://github.com/pfent/L5RDMA) instead. It is basically the continuation of this project. We dropped some communication protocols (which were identified to be slow in this project) and improved the libraries interface. It offers RDMA and TCP for remote and Domain Sockets and Shared Memory for local. And: it is actively being used at our university, so any bugs are likely to be fixed :)

If you really want to play around with some of the slower techniques (pipes, fifos ..), you are also welcome to try to add them to L5 ;)

Best of luck with wich ever way you go.

mslijepc commented 1 month ago

I also tried running shm-sync and it didn't finish, didn't get a seg fault message either. Was debugging, but now I saw this issue. @betulum thatnks for reporting this.

@alexandervanrenen I will check the L5 project now. I would like to run two process in lock-step, which mechanism you think from L5 would be the fastest?