[SPDK] perf vs spdk_app_start()

Lance Hartmann ORACLE lance.hartmann at oracle.com
Tue Oct 30 11:43:55 PDT 2018


> On Oct 30, 2018, at 12:55 PM, Walker, Benjamin <benjamin.walker at intel.com> wrote:
> 
> On Tue, 2018-10-30 at 09:59 +0000, Szwed, Maciej wrote:
>> This is actually the case. I need to register poller for event handler and
>> that is way I would like to use spdk_app_start. Creating own thread for poller
>> is a bit overkill for example application.
> 
> The primary reason NVMe perf does not use the application framework is because
> NVMe perf was written before the application framework existed. You could
> definitely do a port to use it, but I kind of like the independence. Any API you
> create in the NVMe driver should be consumable without the application
> framework. Maybe just poll for events every X number of I/O?


I'd like to cast a vote for retaining nvme/perf as-is as well.  I found it very useful in learning the use of the SPDK nvme driver API without having to wade through the additional complexity of the app framework.

--
Lance Hartmann
lance.hartmann at oracle.com





More information about the SPDK mailing list