Skip to content

Support receiving signals when connecting to RDMA#21

Open
YWHyuk wants to merge 1 commit intoememos:masterfrom
YWHyuk:signal
Open

Support receiving signals when connecting to RDMA#21
YWHyuk wants to merge 1 commit intoememos:masterfrom
YWHyuk:signal

Conversation

@YWHyuk
Copy link
Contributor

@YWHyuk YWHyuk commented Aug 25, 2021

This patch make signal works during the connection of RDMA.
It is implemented by moving "start_io_router" forward.

"start_io_router" function does

  • make RDMA connection
  • make io_router thread (It is just loop of receiving IO event)

Those are quite position independent. So moving it forward will not make problems

Anyway, we can terminate the qemu by SIGINT(Ctrl+ c)🙌!
Thank you!

This is follow-up patch for #16. This patch make connection of
RDMA before we block signals. It is implemneted by moving
"start_io_router" forward.

Signed-off-by: Wonhyuk Yang <vvghjk1234@gmail.com>
@solemnify solemnify added the enhancement New feature or request label Aug 25, 2021
@ememos
Copy link
Owner

ememos commented Aug 26, 2021

I tested the revised version you suggested.
As a result of the test, an abnormal symptom of frequent soft lockup occurred.
When I revert to the original version, the soft lockup phenomenon disappears.
In my test, I made a total of 20 vCPUs on two nodes, and I booted guest os.
I tested memcpy benchmark.

The following is a screenshot of guest booting.
image

image

@YWHyuk
Copy link
Contributor Author

YWHyuk commented Aug 26, 2021

@ememos

I tested the revised version you suggested.
As a result of the test, an abnormal symptom of frequent soft lockup occurred.
When I revert to the original version, the soft lockup phenomenon disappears.
In my test, I made a total of 20 vCPUs on two nodes, and I booted guest os.
I tested memcpy benchmark.

Hmm.... It is strange😭. I tested it just a minute ago. But it works well.. My result is this.

  • Left top terminal: Guest OS's top
  • Left bottom terminal: memcpy benchmark on the Guest OS(By ssh)
  • Right terminal: the other node log

memcpy
My environment is 8 vCPUS. At the upper left terminal, I can see that all vCPU is utilized..

I don't know what's the reason for soft-lockup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants