[SPDK] Re: The power consumption of spdk framework.
松本周平 / MATSUMOTO,SHUUHE I <shuhei.matsumoto.xt at hitachi.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <OSBPR01MB394357E9CF87B334FAAFE054A2E20@OSBPR01MB3943.jpnprd01.prod.outlook.com> |
Hi Vincent,
An idea is out there now.
The current idea is to migrate SPDK threads among CPU cores and create idle reactor.
Idle reactor sleeps until any thread runs on it.
Related patche is https://review.spdk.io/gerrit/c/spdk/spdk/+/1049 to sleep idle reactors.
The recently added thread_set_cpumask can migrate SPDK thread among CPU cores.
We discussed this topic in the last community meeting. Please check this together if you have interest.
https://trello.com/c/JndSGRoW/277-simple-cpu-core-parking-when-reactor-has-no-threads
Trello<https://trello.com/c/JndSGRoW/277-simple-cpu-core-parking-when-reactor-has-no-threads>
Organize anything, together. Trello is a collaboration tool that organizes your projects into boards. In one glance, know what's being worked on, who's working on what, and where something is in a process.
trello.com
Thanks,
Shuhei
________________________________
差出人: Vincent <cockroach1136(a)gmail.com>
送信日時: 2020年3月5日 11:38
宛先: Storage Performance Development Kit <spdk(a)lists.01.org>
件名: [SPDK] The power consumption of spdk framework.
Hello all,
We know when spdk start, The cpu-core used by spdk usage will become
100% due to busy loop of reactor. I remember this topic has been discussed
before. But I forget the conclusion. I cannot find out the conclusion in
the internet and maillist too.
Does anyone can provide me the information about this topic ??
Can spdk avoid the cpu usage 100% when idle now??
Thank you so much.
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org