lkml.org 
[lkml]   [2016]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Lsf-pc] [LSF/MM TOPIC] multi-stream IO hint implementation proposal for LSF/MM 2016
From
Date
>>>>> "Jan" == Jan Kara <jack@suse.cz> writes:

Jan> So a key question for a feature like this is: How many stream IDs
Jan> are devices going to support? Because AFAIR so far the answer was
Jan> "it depends on the device". However the design how stream IDs can
Jan> be used greatly differs between "a couple of stream IDs" and
Jan> e.g. 2^32 stream IDs. Without this information I don't think the
Jan> discussion would be very useful. So can you provide some rough
Jan> numbers?

Both SCSI and NVMe have a 16-bit stream ID field. So you are capped at
64K unique identifiers.

However, the number of streams a device can have open concurrently is
expected to be much smaller than that. This leaves us with the
interesting problem of how to divide up the available streams. Whether
to support application- and kernel allocated streams concurrently. And
how we deal with explicitly closing streams after use.

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2016-02-18 00:21    [W:0.074 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site