[SPDK] Re: SPDK Thread and Nvmf QPair migration

松本周平 / MATSUMOTO,SHUUHE I <shuhei.matsumoto.xt at hitachi.com>
Newsgroups dev.linux.lists.spdk
Message-ID <OSYPR01MB530386500EC186C5100BD543A2B70@OSYPR01MB5303.jpnprd01.prod.outlook.com>
Hi Hari, Ben,

I added a simple patch to exercise repeated poll group migration among multiple POSIX threads.
https://review.spdk.io/gerrit/c/spdk/spdk/+/2556

I hope this will be any help to get better understanding.

Thanks,
Shuhei

________________________________
差出人: 松本周平 / MATSUMOTO,SHUUHEI <shuhei.matsumoto.xt(a)hitachi.com>
送信日時: 2020年5月20日 8:02
宛先: spdk(a)lists.01.org <spdk(a)lists.01.org>
件名: Re: [SPDK] Re: SPDK Thread and Nvmf QPair migration

Hi Hari, Ben, and all,

I implemented dynamic SPDK thread rescheduling onto a sample nvmf application which is not based on event (reactor) framework.
I will add a patch to exercise poll group thread migration in this sample application.

https://review.spdk.io/gerrit/c/spdk/spdk/+/2536
https://review.spdk.io/gerrit/c/spdk/spdk/+/2537/1
https://review.spdk.io/gerrit/c/spdk/spdk/+/2538/1
https://review.spdk.io/gerrit/c/spdk/spdk/+/2539/1
https://review.spdk.io/gerrit/c/spdk/spdk/+/2540/1
https://review.spdk.io/gerrit/c/spdk/spdk/+/2541/1
https://review.spdk.io/gerrit/c/spdk/spdk/+/2542/1

Will you review or use them as a reference?

I hope they are sufficiently simple and any help for all as Ben said.

Thanks,
Shuhei


________________________________
差出人: Hari Kadayam <harihara.kadayam(a)gmail.com>
送信日時: 2020年5月19日 6:25
宛先: spdk(a)lists.01.org <spdk(a)lists.01.org>
件名: [SPDK] Re: SPDK Thread and Nvmf QPair migration

Thanks Shuuhei and Ben for your response. We will do it as you suggested. I did remember seeing SPDK_THREAD_OP_RESCHED as in the spdk_thread_init method. I guess we will be implementing scale up/down feature slightly later and will look to your reactor code as reference.

Thanks
Hari
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.