On 02/01/2016 09:41 AM, Mike Christie wrote: > On 01/29/2016 04:43 PM, Chris Leech wrote: >> For some reason, our ISID has only ever had 8-bits of uniqueness. We >> use the OUI format, which leaves 24-bits of qualifier space that we >> could be using. >> >> This simple change uses the lower 24-bits bits of our 32-bit session id. >> >> I've tested this using multiple sessions to a single target portal. >> Previously ISIDs would start to be reused after 256 connections, causing >> the target to disconnect existing sessions where there was a collision. >> With this I can maintain 2048 stable TCP connections to a single target >> portal. I tried 4096, but something went wrong with 4027 active sessions >> and I'm not sure where the issue was yet. >> > > Merged. Thanks. > > Lee, I see you are fixing the host number rollover issue. When that was > merged, were you also going to use a ida for the session->sid? We can > cap the max value at this value. >
Yes, I can do that. Good idea. To be clear, you're suggesting a cap of 2048, correct? -- Lee Duncan SUSE Labs -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.