Comments (5)
I want to add some new functions in the parasite code, which need to call the function of glibc.
What function is it?
I noticed that there is a macro definition -DCR_NOGLIBC in the Makefile(criu/Makefile), so can we also use glibc without defining this macro?
We probably can do that, but first we need to understand why we need it.
from criu.
Thanks for your reply @avagin.
I want to add some new functions in the parasite code, which need to call the function of glibc.
What function is it?
I want to add the RDMA function to the parasite code. In lazy-page mode the parasite code can create connection with page-client, so the parasite code can serve the page fault request directly(maybe 5us). If we put the RDMA function in page-server, we need add once extra page copy time(maybe 2us), because RDMA transmission pages need to memory registion first, which can only regist the memory in the process' virtual memory address space.
So agfter add this function in CRIU, we can reduce the page fault serving time in lazy-page mode.
I noticed that there is a macro definition -DCR_NOGLIBC in the Makefile(criu/Makefile), so can we also use glibc without defining this macro?
We probably can do that, but first we need to understand why we need it.
If I can run glibc helper function in parasite code, I think I can relize the ibverbs function work in parasite code. And I will contribute the code to the community.
Can you tell me how to modify the CRIU? It is very important for me. Thank you very much.
from criu.
I want to add the RDMA function to the parasite code.
Can you tell me how to modify the CRIU?
If I recall correctly, Mike Rapoport (@rppt) had a proof-of-concept for this functionality 12 and might be able to provide some advice on how it can be implemented.
Footnotes
from criu.
I want to add the RDMA function to the parasite code.
Can you tell me how to modify the CRIU?If I recall correctly, Mike Rapoport (@rppt) had a proof-of-concept for this functionality 12 and might be able to provide some advice on how it can be implemented.
Footnotes
Thank you very much @rst0git , your information was very effective. I had readed the slide and watched the video. But I can not seem to find an open source demo. @rppt
from criu.
A friendly reminder that this issue had no activity for 30 days.
from criu.
Related Issues (20)
- How a app can know that it had been dumping by criu HOT 7
- ERR: vdso01.c:378: Delta is too big HOT 2
- docker checkpoint create failed: Error (compel/src/lib/ptrace.c:27): suspending seccomp failed: Operation not permitted HOT 2
- Checkpointing runC container is giving error: Unable to connect a transport socket: Permission denied HOT 6
- How disable plugin for nvidia gpu HOT 2
- How to use CRIU with CUDA HOT 2
- Cannot dump process that opened file in tracefs HOT 4
- Cannot checkpoint container: /usr/bin/nvidia-container-runtime did not terminate successfully: exit status 1 HOT 14
- gcc format-truncation warnings on Ubuntu 24.04 HOT 7
- Question: Lazy restore tends to restore all pages rather than those pages that really touched ? HOT 9
- Can't get reg-files.img by dump. HOT 7
- Following the `setcap` instruction raises 'fatal error: Invalid argument' HOT 6
- Can CRIU use arm based runners from Actuated? HOT 2
- CRIU package for Ubuntu 24.04 HOT 9
- "Fedora ASAN Test / build" fails with "cgroup.clone_children: No such file or directory"
- "Cirrus CI / Vagrant Fedora Rawhide based test" fails with error "setenforce: SELinux is disabled" HOT 2
- compel parasite sys_open return -1 always HOT 3
- Cannot checkpoint container: "failed: could not load libcriu.so.2" HOT 7
- Can not pass images_dir_fd option when using pycriu HOT 1
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 criu.