Coder Social home page Coder Social logo

Comments (5)

avagin avatar avagin commented on June 18, 2024

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.

sirius0118 avatar sirius0118 commented on June 18, 2024

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.

rst0git avatar rst0git commented on June 18, 2024

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

  1. https://lpc.events/event/2/contributions/135/

  2. https://lpc.events/event/2/contributions/205/

from criu.

sirius0118 avatar sirius0118 commented on June 18, 2024

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

  1. https://lpc.events/event/2/contributions/135/
  2. https://lpc.events/event/2/contributions/205/

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.

github-actions avatar github-actions commented on June 18, 2024

A friendly reminder that this issue had no activity for 30 days.

from criu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.