Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-28 Thread The Lee-Man
On Wednesday, November 26, 2014 1:11:46 PM UTC-8, Mike Christie wrote: On 11/25/2014 05:15 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 2:00:22 PM UTC-8, Mike Christie wrote: On 11/25/2014 12:49 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 9:42:59 AM UTC-8,

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-28 Thread Michael Christie
On Nov 28, 2014, at 5:46 PM, The Lee-Man leeman.dun...@gmail.com wrote: On Wednesday, November 26, 2014 1:11:46 PM UTC-8, Mike Christie wrote: On 11/25/2014 05:15 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 2:00:22 PM UTC-8, Mike Christie wrote: On 11/25/2014 12:49 PM,

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-26 Thread Mike Christie
On 11/25/2014 05:15 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 2:00:22 PM UTC-8, Mike Christie wrote: On 11/25/2014 12:49 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 9:42:59 AM UTC-8, Mike Christie wrote: On 11/24/2014 11:04 AM, The Lee-Man wrote:

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-25 Thread Mike Christie
On 11/24/2014 11:04 AM, The Lee-Man wrote: Okay, I spent most the day yesterday playing with the code in question, i.e. the open-iscsi code that rescans the session list looking for the current session. In particular, I was looking at update_sessions(). One thing I noticed is that this

Re: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-25 Thread The Lee-Man
On Monday, November 24, 2014 11:42:31 PM UTC-8, Uli wrote: The Lee-Man leeman...@gmail.com javascript: schrieb am 24.11.2014 um 18:04 in Nachricht dfb5172f-05e8-4027-867e-8e2b1969f...@googlegroups.com javascript:: [...] Here's the problem: the submitted patch makes this particular

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-25 Thread The Lee-Man
On Tuesday, November 25, 2014 9:42:59 AM UTC-8, Mike Christie wrote: On 11/24/2014 11:04 AM, The Lee-Man wrote: Okay, I spent most the day yesterday playing with the code in question, i.e. the open-iscsi code that rescans the session list looking for the current session. In

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-25 Thread Mike Christie
On 11/25/2014 12:49 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 9:42:59 AM UTC-8, Mike Christie wrote: On 11/24/2014 11:04 AM, The Lee-Man wrote: Okay, I spent most the day yesterday playing with the code in question, i.e. the open-iscsi code that rescans the

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-25 Thread The Lee-Man
On Tuesday, November 25, 2014 2:00:22 PM UTC-8, Mike Christie wrote: On 11/25/2014 12:49 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 9:42:59 AM UTC-8, Mike Christie wrote: On 11/24/2014 11:04 AM, The Lee-Man wrote: Okay, I spent most the day yesterday playing with

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-24 Thread The Lee-Man
Okay, I spent most the day yesterday playing with the code in question, i.e. the open-iscsi code that rescans the session list looking for the current session. In particular, I was looking at update_sessions(). One thing I noticed is that this code only gets executed if

Antw: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-24 Thread Ulrich Windl
The Lee-Man leeman.dun...@gmail.com schrieb am 24.11.2014 um 18:04 in Nachricht dfb5172f-05e8-4027-867e-8e2b1969f...@googlegroups.com: [...] Here's the problem: the submitted patch makes this particular use case O(1). You can't get much faster Are you sure? You modified the compare function

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-23 Thread The Lee-Man
On Friday, November 21, 2014 8:06:55 PM UTC-8, Mike Christie wrote: On Nov 18, 2014, at 3:35 PM, Lee Duncan leeman...@gmail.com javascript: wrote: The following patch fixes a problem where the CPU becomes compute bound when rediscovering targets, when there are hundreds of sessions.

Antw: Re: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-21 Thread Ulrich Windl
The Lee-Man leeman.dun...@gmail.com schrieb am 20.11.2014 um 18:07 in Nachricht dc3f5a91-d2a1-41e1-bc93-e5d9f44ba...@googlegroups.com: On Wednesday, November 19, 2014 11:23:10 PM UTC-8, Uli wrote: The Lee-Man leeman...@gmail.com javascript: schrieb am 19.11.2014 um 19:35 in Nachricht

Re: Re: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-21 Thread The Lee-Man
On Friday, November 21, 2014 12:37:59 AM UTC-8, Uli wrote: The Lee-Man leeman...@gmail.com javascript: schrieb am 20.11.2014 um 18:07 in Nachricht dc3f5a91-d2a1-41e1-bc93-e5d9f44ba...@googlegroups.com javascript:: On Wednesday, November 19, 2014 11:23:10 PM UTC-8, Uli wrote: The

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-21 Thread Michael Christie
On Nov 18, 2014, at 3:35 PM, Lee Duncan leeman.dun...@gmail.com wrote: The following patch fixes a problem where the CPU becomes compute bound when rediscovering targets, when there are hundreds of sessions. When his occurs, most of the time is spent in the function

Re: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-20 Thread The Lee-Man
On Wednesday, November 19, 2014 11:23:10 PM UTC-8, Uli wrote: The Lee-Man leeman...@gmail.com javascript: schrieb am 19.11.2014 um 19:35 in Nachricht 16860f30-b55c-4106-a4e1-d7badfc36...@googlegroups.com javascript:: On Tuesday, November 18, 2014 10:55:31 PM UTC-8, Uli wrote:

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-19 Thread The Lee-Man
On Tuesday, November 18, 2014 10:55:31 PM UTC-8, Uli wrote: Lee Duncan leeman...@gmail.com javascript: schrieb am 18.11.2014 um 22:35 in Nachricht 1416346536-18198-1-git-seemail-###-duncan@ javascript:###: The following patch fixes a problem where the CPU becomes compute bound when

Antw: Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-19 Thread Ulrich Windl
The Lee-Man leeman.dun...@gmail.com schrieb am 19.11.2014 um 19:35 in Nachricht 16860f30-b55c-4106-a4e1-d7badfc36...@googlegroups.com: On Tuesday, November 18, 2014 10:55:31 PM UTC-8, Uli wrote: Lee Duncan leeman...@gmail.com javascript: schrieb am 18.11.2014 um 22:35 in Nachricht