* xfstests and current cifs for-next patch set @ 2019-02-16 19:40 Steve French 2019-02-17 0:46 ` Steve French 0 siblings, 1 reply; 13+ messages in thread From: Steve French @ 2019-02-16 19:40 UTC (permalink / raw) To: CIFS With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and readdir simultaneously) and 422 (delayed allocation stat, number of blocks) fail I see this in the azure test bucket in the buildbot). see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 These don't fail when I select only the first 8 cifs fixes in for-next ontop of 5.0-rc5. See http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 so am trying to narrow it down. This run (in progress) http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline as with the runs above) so we can bisect which commit causes the problem with tests 310 and 422. This seems unrelated to the problem I see in slightly more current mainline (that we can see with no cifs changes) in xfstest 422 that was introduced with 5.0-rc6. Let me know if others (or other scenario problems) see the tests 310/422 failure. -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-16 19:40 xfstests and current cifs for-next patch set Steve French @ 2019-02-17 0:46 ` Steve French [not found] ` <CAH2r5msHUwbDmftJMHNRrqYMtuf9xdC7qJh+PksgavPvjqVQVg@mail.gmail.com> 0 siblings, 1 reply; 13+ messages in thread From: Steve French @ 2019-02-17 0:46 UTC (permalink / raw) To: CIFS Narrowed the xfstest 310 possible regression in current for-next down to three patches, rerunning with this one of the three added (see http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) Author: Pavel Shilovsky <pshilov@microsoft.com> Date: Wed Jan 16 11:12:41 2019 -0800 CIFS: Respect reconnect in MTU credits calculations On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > readdir simultaneously) and 422 (delayed allocation stat, number of > blocks) fail I see this in the azure test bucket in the buildbot). > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > These don't fail when I select only the first 8 cifs fixes in for-next > ontop of 5.0-rc5. See > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > so am trying to narrow it down. This run (in progress) > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > as with the runs above) so we can bisect which commit causes the > problem with tests 310 and 422. > > This seems unrelated to the problem I see in slightly more current > mainline (that we can see with no cifs changes) in xfstest 422 that > was introduced with 5.0-rc6. > > Let me know if others (or other scenario problems) see the tests > 310/422 failure. > > -- > Thanks, > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <CAH2r5msHUwbDmftJMHNRrqYMtuf9xdC7qJh+PksgavPvjqVQVg@mail.gmail.com>]
[parent not found: <CAH2r5mv10VEUntZcYW91eSycdNBobrJYF0pMG4pMPqJm=6UAqg@mail.gmail.com>]
* Re: xfstests and current cifs for-next patch set [not found] ` <CAH2r5mv10VEUntZcYW91eSycdNBobrJYF0pMG4pMPqJm=6UAqg@mail.gmail.com> @ 2019-02-17 19:30 ` Steve French 2019-02-20 21:18 ` Steve French 0 siblings, 1 reply; 13+ messages in thread From: Steve French @ 2019-02-17 19:30 UTC (permalink / raw) To: Pavel Shilovsky, Aurélien Aptel, ronnie sahlberg, CIFS Retrying the same test run it worked. Rerunning the same set of patches but this time with larger (cifs-testing) collection of tests on the buildbot On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > [root@fedora29 ~]# dmesg > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > [ 3225.207488] CIFS VFS: Server > linuxsmb3testshares.file.core.windows.net has not responded in 120 > seconds. Reconnecting... > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > CIFS: Respect reconnect in MTU credits calculations > > > > Every time after a session reconnect we don't need to account for > > credits obtained in previous sessions. Introduce new struct cifs_credits > > which contains both credits value and reconnect instance of the > > time those credits were taken. Modify a routine that add credits > > back to handle the reconnect instance by assuming zero credits > > if the reconnect happened after the credits were obtained and > > before we decided to add them back due to some errors during sending. > > > > This patch fixes the MTU credits cases. The subsequent patch > > will handle non-MTU ones. > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > ---------- Forwarded message --------- > > From: Steve French <smfrench@gmail.com> > > Date: Sat, Feb 16, 2019 at 6:46 PM > > Subject: Re: xfstests and current cifs for-next patch set > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > to three patches, rerunning with this one of the three added (see > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > CIFS: Respect reconnect in MTU credits calculations > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > ontop of 5.0-rc5. See > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > so am trying to narrow it down. This run (in progress) > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > as with the runs above) so we can bisect which commit causes the > > > problem with tests 310 and 422. > > > > > > This seems unrelated to the problem I see in slightly more current > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > was introduced with 5.0-rc6. > > > > > > Let me know if others (or other scenario problems) see the tests > > > 310/422 failure. > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve > > > > > > -- > > Thanks, > > > > Steve > > > > -- > Thanks, > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-17 19:30 ` Steve French @ 2019-02-20 21:18 ` Steve French 2019-02-20 22:47 ` ronnie sahlberg 0 siblings, 1 reply; 13+ messages in thread From: Steve French @ 2019-02-20 21:18 UTC (permalink / raw) To: Pavel Shilovsky, Aurélien Aptel, ronnie sahlberg, CIFS Looks like Pavel's latest fix (unrelated to credits it turns out, the problem in this case was skipping a mid) does fix xfstest 310. Azure test bucket passes, no reconnects that I spotted: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 Running cifs-testing buildbot bucket now. http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > Retrying the same test run it worked. Rerunning the same set of > patches but this time with larger (cifs-testing) collection of tests > on the buildbot > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > > [root@fedora29 ~]# dmesg > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > [ 3225.207488] CIFS VFS: Server > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > seconds. Reconnecting... > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > Every time after a session reconnect we don't need to account for > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > which contains both credits value and reconnect instance of the > > > time those credits were taken. Modify a routine that add credits > > > back to handle the reconnect instance by assuming zero credits > > > if the reconnect happened after the credits were obtained and > > > before we decided to add them back due to some errors during sending. > > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > will handle non-MTU ones. > > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > > > > ---------- Forwarded message --------- > > > From: Steve French <smfrench@gmail.com> > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > Subject: Re: xfstests and current cifs for-next patch set > > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > to three patches, rerunning with this one of the three added (see > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > > ontop of 5.0-rc5. See > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > > so am trying to narrow it down. This run (in progress) > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > > as with the runs above) so we can bisect which commit causes the > > > > problem with tests 310 and 422. > > > > > > > > This seems unrelated to the problem I see in slightly more current > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > > was introduced with 5.0-rc6. > > > > > > > > Let me know if others (or other scenario problems) see the tests > > > > 310/422 failure. > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve > > > > -- > Thanks, > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-20 21:18 ` Steve French @ 2019-02-20 22:47 ` ronnie sahlberg 2019-02-20 23:41 ` Pavel Shilovsky 2019-02-21 0:09 ` Ronnie Sahlberg 0 siblings, 2 replies; 13+ messages in thread From: ronnie sahlberg @ 2019-02-20 22:47 UTC (permalink / raw) To: Steve French; +Cc: Pavel Shilovsky, Aurélien Aptel, CIFS generic/013 and generic/014 failed with timeout. These tests used to take several minutes. Testing locally, generic/013 is successful but it takes almost three times longer than it used to just a week ago. On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > problem in this case was skipping a mid) does fix xfstest 310. Azure > test bucket passes, no reconnects that I spotted: > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > Running cifs-testing buildbot bucket now. > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > > > Retrying the same test run it worked. Rerunning the same set of > > patches but this time with larger (cifs-testing) collection of tests > > on the buildbot > > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > > > > [root@fedora29 ~]# dmesg > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > > [ 3225.207488] CIFS VFS: Server > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > > seconds. Reconnecting... > > > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > Every time after a session reconnect we don't need to account for > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > > which contains both credits value and reconnect instance of the > > > > time those credits were taken. Modify a routine that add credits > > > > back to handle the reconnect instance by assuming zero credits > > > > if the reconnect happened after the credits were obtained and > > > > before we decided to add them back due to some errors during sending. > > > > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > > will handle non-MTU ones. > > > > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > > > > > > > ---------- Forwarded message --------- > > > > From: Steve French <smfrench@gmail.com> > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > > Subject: Re: xfstests and current cifs for-next patch set > > > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > > to three patches, rerunning with this one of the three added (see > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > > > ontop of 5.0-rc5. See > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > > > so am trying to narrow it down. This run (in progress) > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > > > as with the runs above) so we can bisect which commit causes the > > > > > problem with tests 310 and 422. > > > > > > > > > > This seems unrelated to the problem I see in slightly more current > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > > > was introduced with 5.0-rc6. > > > > > > > > > > Let me know if others (or other scenario problems) see the tests > > > > > 310/422 failure. > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve > > > > -- > Thanks, > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-20 22:47 ` ronnie sahlberg @ 2019-02-20 23:41 ` Pavel Shilovsky 2019-02-21 0:09 ` Ronnie Sahlberg 1 sibling, 0 replies; 13+ messages in thread From: Pavel Shilovsky @ 2019-02-20 23:41 UTC (permalink / raw) To: ronnie sahlberg; +Cc: Steve French, Aurélien Aptel, CIFS Last time it worked with patches on top of the older tree (~rc4). These tests keep failing since then. We should probably apply patches on top of rc4 and restart. -- Best regards, Pavel Shilovsky ср, 20 февр. 2019 г. в 14:47, ronnie sahlberg <ronniesahlberg@gmail.com>: > > generic/013 and generic/014 failed with timeout. These tests used to > take several minutes. > > Testing locally, generic/013 is successful but it takes almost > three times longer than it used to just a week ago. > > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > > problem in this case was skipping a mid) does fix xfstest 310. Azure > > test bucket passes, no reconnects that I spotted: > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > > > Running cifs-testing buildbot bucket now. > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > Retrying the same test run it worked. Rerunning the same set of > > > patches but this time with larger (cifs-testing) collection of tests > > > on the buildbot > > > > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > > > > > > [root@fedora29 ~]# dmesg > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > > > [ 3225.207488] CIFS VFS: Server > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > > > seconds. Reconnecting... > > > > > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > > > Every time after a session reconnect we don't need to account for > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > > > which contains both credits value and reconnect instance of the > > > > > time those credits were taken. Modify a routine that add credits > > > > > back to handle the reconnect instance by assuming zero credits > > > > > if the reconnect happened after the credits were obtained and > > > > > before we decided to add them back due to some errors during sending. > > > > > > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > > > will handle non-MTU ones. > > > > > > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > > > > > > > > > > ---------- Forwarded message --------- > > > > > From: Steve French <smfrench@gmail.com> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > > > Subject: Re: xfstests and current cifs for-next patch set > > > > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > > > > > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > > > to three patches, rerunning with this one of the three added (see > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > > > > ontop of 5.0-rc5. See > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > > > > so am trying to narrow it down. This run (in progress) > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > > > > as with the runs above) so we can bisect which commit causes the > > > > > > problem with tests 310 and 422. > > > > > > > > > > > > This seems unrelated to the problem I see in slightly more current > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > > > > was introduced with 5.0-rc6. > > > > > > > > > > > > Let me know if others (or other scenario problems) see the tests > > > > > > 310/422 failure. > > > > > > > > > > > > -- > > > > > > Thanks, > > > > > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-20 22:47 ` ronnie sahlberg 2019-02-20 23:41 ` Pavel Shilovsky @ 2019-02-21 0:09 ` Ronnie Sahlberg 2019-02-21 0:12 ` ronnie sahlberg 1 sibling, 1 reply; 13+ messages in thread From: Ronnie Sahlberg @ 2019-02-21 0:09 UTC (permalink / raw) To: ronnie sahlberg; +Cc: Steve French, Pavel Shilovsky, Aurélien Aptel, CIFS I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 ----- Original Message ----- From: "ronnie sahlberg" <ronniesahlberg@gmail.com> To: "Steve French" <smfrench@gmail.com> Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> Sent: Thursday, 21 February, 2019 8:47:44 AM Subject: Re: xfstests and current cifs for-next patch set generic/013 and generic/014 failed with timeout. These tests used to take several minutes. Testing locally, generic/013 is successful but it takes almost three times longer than it used to just a week ago. On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > problem in this case was skipping a mid) does fix xfstest 310. Azure > test bucket passes, no reconnects that I spotted: > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > Running cifs-testing buildbot bucket now. > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > > > Retrying the same test run it worked. Rerunning the same set of > > patches but this time with larger (cifs-testing) collection of tests > > on the buildbot > > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > > > > [root@fedora29 ~]# dmesg > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > > [ 3225.207488] CIFS VFS: Server > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > > seconds. Reconnecting... > > > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > Every time after a session reconnect we don't need to account for > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > > which contains both credits value and reconnect instance of the > > > > time those credits were taken. Modify a routine that add credits > > > > back to handle the reconnect instance by assuming zero credits > > > > if the reconnect happened after the credits were obtained and > > > > before we decided to add them back due to some errors during sending. > > > > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > > will handle non-MTU ones. > > > > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > > > > > > > ---------- Forwarded message --------- > > > > From: Steve French <smfrench@gmail.com> > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > > Subject: Re: xfstests and current cifs for-next patch set > > > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > > to three patches, rerunning with this one of the three added (see > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > > > ontop of 5.0-rc5. See > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > > > so am trying to narrow it down. This run (in progress) > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > > > as with the runs above) so we can bisect which commit causes the > > > > > problem with tests 310 and 422. > > > > > > > > > > This seems unrelated to the problem I see in slightly more current > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > > > was introduced with 5.0-rc6. > > > > > > > > > > Let me know if others (or other scenario problems) see the tests > > > > > 310/422 failure. > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve > > > > -- > Thanks, > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-21 0:09 ` Ronnie Sahlberg @ 2019-02-21 0:12 ` ronnie sahlberg [not found] ` <CAH2r5mscVyY4WcLfNWzCZhELQYUT_SRNK0UJvVyWHdC-6N3XCQ@mail.gmail.com> 0 siblings, 1 reply; 13+ messages in thread From: ronnie sahlberg @ 2019-02-21 0:12 UTC (permalink / raw) To: Ronnie Sahlberg; +Cc: Steve French, Pavel Shilovsky, Aurélien Aptel, CIFS What I mean is that generic/013 still works, it just takes ~3 times as long to run so the buildbot is timing it out. Steve, Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next and re-run the buildbot and see it it now passes? On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: > > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 > > > ----- Original Message ----- > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> > To: "Steve French" <smfrench@gmail.com> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> > Sent: Thursday, 21 February, 2019 8:47:44 AM > Subject: Re: xfstests and current cifs for-next patch set > > generic/013 and generic/014 failed with timeout. These tests used to > take several minutes. > > Testing locally, generic/013 is successful but it takes almost > three times longer than it used to just a week ago. > > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > > problem in this case was skipping a mid) does fix xfstest 310. Azure > > test bucket passes, no reconnects that I spotted: > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > > > Running cifs-testing buildbot bucket now. > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > Retrying the same test run it worked. Rerunning the same set of > > > patches but this time with larger (cifs-testing) collection of tests > > > on the buildbot > > > > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > > > > > > [root@fedora29 ~]# dmesg > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > > > [ 3225.207488] CIFS VFS: Server > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > > > seconds. Reconnecting... > > > > > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > > > Every time after a session reconnect we don't need to account for > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > > > which contains both credits value and reconnect instance of the > > > > > time those credits were taken. Modify a routine that add credits > > > > > back to handle the reconnect instance by assuming zero credits > > > > > if the reconnect happened after the credits were obtained and > > > > > before we decided to add them back due to some errors during sending. > > > > > > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > > > will handle non-MTU ones. > > > > > > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > > > > > > > > > > > > > ---------- Forwarded message --------- > > > > > From: Steve French <smfrench@gmail.com> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > > > Subject: Re: xfstests and current cifs for-next patch set > > > > > To: CIFS <linux-cifs@vger.kernel.org> > > > > > > > > > > > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > > > to three patches, rerunning with this one of the three added (see > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > > > > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > > > > > > > > CIFS: Respect reconnect in MTU credits calculations > > > > > > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > > > > > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > > > > > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > > > > ontop of 5.0-rc5. See > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > > > > so am trying to narrow it down. This run (in progress) > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > > > > as with the runs above) so we can bisect which commit causes the > > > > > > problem with tests 310 and 422. > > > > > > > > > > > > This seems unrelated to the problem I see in slightly more current > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > > > > was introduced with 5.0-rc6. > > > > > > > > > > > > Let me know if others (or other scenario problems) see the tests > > > > > > 310/422 failure. > > > > > > > > > > > > -- > > > > > > Thanks, > > > > > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > -- > > > > > Thanks, > > > > > > > > > > Steve > > > > > > > > > > > > > > > > -- > > > > Thanks, > > > > > > > > Steve > > > > > > > > > > > > -- > > > Thanks, > > > > > > Steve > > > > > > > > -- > > Thanks, > > > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <CAH2r5mscVyY4WcLfNWzCZhELQYUT_SRNK0UJvVyWHdC-6N3XCQ@mail.gmail.com>]
* Re: xfstests and current cifs for-next patch set [not found] ` <CAH2r5mscVyY4WcLfNWzCZhELQYUT_SRNK0UJvVyWHdC-6N3XCQ@mail.gmail.com> @ 2019-02-21 1:48 ` ronnie sahlberg 2019-02-21 2:31 ` Steve French 0 siblings, 1 reply; 13+ messages in thread From: ronnie sahlberg @ 2019-02-21 1:48 UTC (permalink / raw) To: Steve French; +Cc: Ronnie Sahlberg, Pavel Shilovsky, Aurélien Aptel, CIFS This patch is also the reason why generic/490 fails, so lets drop it for now. On Thu, Feb 21, 2019 at 10:22 AM Steve French <smfrench@gmail.com> wrote: > > We could also try with 1mb instead of 4mb for uncached I/o > > On Wed, Feb 20, 2019, 18:12 ronnie sahlberg <ronniesahlberg@gmail.com> wrote: >> >> What I mean is that generic/013 still works, it just takes ~3 times >> as long to run so the buildbot is timing it out. >> >> Steve, >> Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next >> and re-run the buildbot and see it it now passes? >> >> >> On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: >> > >> > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 >> > >> > >> > ----- Original Message ----- >> > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> >> > To: "Steve French" <smfrench@gmail.com> >> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> >> > Sent: Thursday, 21 February, 2019 8:47:44 AM >> > Subject: Re: xfstests and current cifs for-next patch set >> > >> > generic/013 and generic/014 failed with timeout. These tests used to >> > take several minutes. >> > >> > Testing locally, generic/013 is successful but it takes almost >> > three times longer than it used to just a week ago. >> > >> > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: >> > > >> > > Looks like Pavel's latest fix (unrelated to credits it turns out, the >> > > problem in this case was skipping a mid) does fix xfstest 310. Azure >> > > test bucket passes, no reconnects that I spotted: >> > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 >> > > >> > > Running cifs-testing buildbot bucket now. >> > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 >> > > >> > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: >> > > > >> > > > Retrying the same test run it worked. Rerunning the same set of >> > > > patches but this time with larger (cifs-testing) collection of tests >> > > > on the buildbot >> > > > >> > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: >> > > > > >> > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: >> > > > > >> > > > > [root@fedora29 ~]# dmesg >> > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 >> > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks >> > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 >> > > > > [ 3225.207488] CIFS VFS: Server >> > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 >> > > > > seconds. Reconnecting... >> > > > > >> > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: >> > > > > > >> > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch >> > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 >> > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations >> > > > > > >> > > > > > Every time after a session reconnect we don't need to account for >> > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits >> > > > > > which contains both credits value and reconnect instance of the >> > > > > > time those credits were taken. Modify a routine that add credits >> > > > > > back to handle the reconnect instance by assuming zero credits >> > > > > > if the reconnect happened after the credits were obtained and >> > > > > > before we decided to add them back due to some errors during sending. >> > > > > > >> > > > > > This patch fixes the MTU credits cases. The subsequent patch >> > > > > > will handle non-MTU ones. >> > > > > > >> > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> >> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> >> > > > > > >> > > > > > >> > > > > > ---------- Forwarded message --------- >> > > > > > From: Steve French <smfrench@gmail.com> >> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM >> > > > > > Subject: Re: xfstests and current cifs for-next patch set >> > > > > > To: CIFS <linux-cifs@vger.kernel.org> >> > > > > > >> > > > > > >> > > > > > Narrowed the xfstest 310 possible regression in current for-next down >> > > > > > to three patches, rerunning with this one of the three added (see >> > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) >> > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 >> > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations >> > > > > > >> > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: >> > > > > > > >> > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and >> > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of >> > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). >> > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 >> > > > > > > >> > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next >> > > > > > > ontop of 5.0-rc5. See >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 >> > > > > > > so am trying to narrow it down. This run (in progress) >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 >> > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline >> > > > > > > as with the runs above) so we can bisect which commit causes the >> > > > > > > problem with tests 310 and 422. >> > > > > > > >> > > > > > > This seems unrelated to the problem I see in slightly more current >> > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that >> > > > > > > was introduced with 5.0-rc6. >> > > > > > > >> > > > > > > Let me know if others (or other scenario problems) see the tests >> > > > > > > 310/422 failure. >> > > > > > > >> > > > > > > -- >> > > > > > > Thanks, >> > > > > > > >> > > > > > > Steve >> > > > > > >> > > > > > >> > > > > > >> > > > > > -- >> > > > > > Thanks, >> > > > > > >> > > > > > Steve >> > > > > > >> > > > > > >> > > > > > -- >> > > > > > Thanks, >> > > > > > >> > > > > > Steve >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > Thanks, >> > > > > >> > > > > Steve >> > > > >> > > > >> > > > >> > > > -- >> > > > Thanks, >> > > > >> > > > Steve >> > > >> > > >> > > >> > > -- >> > > Thanks, >> > > >> > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-21 1:48 ` ronnie sahlberg @ 2019-02-21 2:31 ` Steve French 2019-02-21 3:41 ` Steve French 2019-02-21 4:00 ` Steve French 0 siblings, 2 replies; 13+ messages in thread From: Steve French @ 2019-02-21 2:31 UTC (permalink / raw) To: ronnie sahlberg Cc: Ronnie Sahlberg, Pavel Shilovsky, Aurélien Aptel, CIFS The problem with dropping the patch is that fixes another critical problem where cp and scp can go VERY slowly (since they use blocksize to determine the I/O size to use). 1MB is probably the minimum we want to set (which is what NFS uses) On Wed, Feb 20, 2019 at 7:48 PM ronnie sahlberg <ronniesahlberg@gmail.com> wrote: > > This patch is also the reason why generic/490 fails, so lets drop it for now. > > On Thu, Feb 21, 2019 at 10:22 AM Steve French <smfrench@gmail.com> wrote: > > > > We could also try with 1mb instead of 4mb for uncached I/o > > > > On Wed, Feb 20, 2019, 18:12 ronnie sahlberg <ronniesahlberg@gmail.com> wrote: > >> > >> What I mean is that generic/013 still works, it just takes ~3 times > >> as long to run so the buildbot is timing it out. > >> > >> Steve, > >> Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next > >> and re-run the buildbot and see it it now passes? > >> > >> > >> On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: > >> > > >> > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 > >> > > >> > > >> > ----- Original Message ----- > >> > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> > >> > To: "Steve French" <smfrench@gmail.com> > >> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> > >> > Sent: Thursday, 21 February, 2019 8:47:44 AM > >> > Subject: Re: xfstests and current cifs for-next patch set > >> > > >> > generic/013 and generic/014 failed with timeout. These tests used to > >> > take several minutes. > >> > > >> > Testing locally, generic/013 is successful but it takes almost > >> > three times longer than it used to just a week ago. > >> > > >> > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > >> > > > >> > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > >> > > problem in this case was skipping a mid) does fix xfstest 310. Azure > >> > > test bucket passes, no reconnects that I spotted: > >> > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > >> > > > >> > > Running cifs-testing buildbot bucket now. > >> > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > >> > > > >> > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > >> > > > > >> > > > Retrying the same test run it worked. Rerunning the same set of > >> > > > patches but this time with larger (cifs-testing) collection of tests > >> > > > on the buildbot > >> > > > > >> > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > >> > > > > > >> > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > >> > > > > > >> > > > > [root@fedora29 ~]# dmesg > >> > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > >> > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > >> > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > >> > > > > [ 3225.207488] CIFS VFS: Server > >> > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > >> > > > > seconds. Reconnecting... > >> > > > > > >> > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > >> > > > > > > >> > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > >> > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > >> > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > >> > > > > > > >> > > > > > Every time after a session reconnect we don't need to account for > >> > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > >> > > > > > which contains both credits value and reconnect instance of the > >> > > > > > time those credits were taken. Modify a routine that add credits > >> > > > > > back to handle the reconnect instance by assuming zero credits > >> > > > > > if the reconnect happened after the credits were obtained and > >> > > > > > before we decided to add them back due to some errors during sending. > >> > > > > > > >> > > > > > This patch fixes the MTU credits cases. The subsequent patch > >> > > > > > will handle non-MTU ones. > >> > > > > > > >> > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > >> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > >> > > > > > > >> > > > > > > >> > > > > > ---------- Forwarded message --------- > >> > > > > > From: Steve French <smfrench@gmail.com> > >> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > >> > > > > > Subject: Re: xfstests and current cifs for-next patch set > >> > > > > > To: CIFS <linux-cifs@vger.kernel.org> > >> > > > > > > >> > > > > > > >> > > > > > Narrowed the xfstest 310 possible regression in current for-next down > >> > > > > > to three patches, rerunning with this one of the three added (see > >> > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > >> > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > >> > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > >> > > > > > > >> > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > >> > > > > > > > >> > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > >> > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > >> > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > >> > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > >> > > > > > > > >> > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > >> > > > > > > ontop of 5.0-rc5. See > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > >> > > > > > > so am trying to narrow it down. This run (in progress) > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > >> > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > >> > > > > > > as with the runs above) so we can bisect which commit causes the > >> > > > > > > problem with tests 310 and 422. > >> > > > > > > > >> > > > > > > This seems unrelated to the problem I see in slightly more current > >> > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > >> > > > > > > was introduced with 5.0-rc6. > >> > > > > > > > >> > > > > > > Let me know if others (or other scenario problems) see the tests > >> > > > > > > 310/422 failure. > >> > > > > > > > >> > > > > > > -- > >> > > > > > > Thanks, > >> > > > > > > > >> > > > > > > Steve > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > -- > >> > > > > > Thanks, > >> > > > > > > >> > > > > > Steve > >> > > > > > > >> > > > > > > >> > > > > > -- > >> > > > > > Thanks, > >> > > > > > > >> > > > > > Steve > >> > > > > > >> > > > > > >> > > > > > >> > > > > -- > >> > > > > Thanks, > >> > > > > > >> > > > > Steve > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > Thanks, > >> > > > > >> > > > Steve > >> > > > >> > > > >> > > > >> > > -- > >> > > Thanks, > >> > > > >> > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-21 2:31 ` Steve French @ 2019-02-21 3:41 ` Steve French 2019-02-21 4:00 ` Steve French 1 sibling, 0 replies; 13+ messages in thread From: Steve French @ 2019-02-21 3:41 UTC (permalink / raw) To: ronnie sahlberg Cc: Ronnie Sahlberg, Pavel Shilovsky, Aurélien Aptel, CIFS I tried it with 1MB and 2MB i/o size and it worked so will change the patch from 4MB blocksize (which is optimal for some cases) to 2MB which doesn't cause these problems and at least is optimal for other use cases. Let me know if you see perf difference. I saw the same run time (with/without patch) for 014, test 490 worked (same time as well) and 13 was 1 second slower. On Wed, Feb 20, 2019 at 8:31 PM Steve French <smfrench@gmail.com> wrote: > > The problem with dropping the patch is that fixes another critical > problem where cp and scp can go VERY slowly (since they use blocksize > to determine the I/O size to use). 1MB is probably the minimum we > want to set (which is what NFS uses) > > On Wed, Feb 20, 2019 at 7:48 PM ronnie sahlberg > <ronniesahlberg@gmail.com> wrote: > > > > This patch is also the reason why generic/490 fails, so lets drop it for now. > > > > On Thu, Feb 21, 2019 at 10:22 AM Steve French <smfrench@gmail.com> wrote: > > > > > > We could also try with 1mb instead of 4mb for uncached I/o > > > > > > On Wed, Feb 20, 2019, 18:12 ronnie sahlberg <ronniesahlberg@gmail.com> wrote: > > >> > > >> What I mean is that generic/013 still works, it just takes ~3 times > > >> as long to run so the buildbot is timing it out. > > >> > > >> Steve, > > >> Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next > > >> and re-run the buildbot and see it it now passes? > > >> > > >> > > >> On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: > > >> > > > >> > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 > > >> > > > >> > > > >> > ----- Original Message ----- > > >> > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> > > >> > To: "Steve French" <smfrench@gmail.com> > > >> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> > > >> > Sent: Thursday, 21 February, 2019 8:47:44 AM > > >> > Subject: Re: xfstests and current cifs for-next patch set > > >> > > > >> > generic/013 and generic/014 failed with timeout. These tests used to > > >> > take several minutes. > > >> > > > >> > Testing locally, generic/013 is successful but it takes almost > > >> > three times longer than it used to just a week ago. > > >> > > > >> > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > >> > > > > >> > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > > >> > > problem in this case was skipping a mid) does fix xfstest 310. Azure > > >> > > test bucket passes, no reconnects that I spotted: > > >> > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > >> > > > > >> > > Running cifs-testing buildbot bucket now. > > >> > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > >> > > > > >> > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > >> > > > Retrying the same test run it worked. Rerunning the same set of > > >> > > > patches but this time with larger (cifs-testing) collection of tests > > >> > > > on the buildbot > > >> > > > > > >> > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > >> > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > >> > > > > > > >> > > > > [root@fedora29 ~]# dmesg > > >> > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > >> > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > >> > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > >> > > > > [ 3225.207488] CIFS VFS: Server > > >> > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > >> > > > > seconds. Reconnecting... > > >> > > > > > > >> > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > > >> > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > >> > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > >> > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > >> > > > > > > > >> > > > > > Every time after a session reconnect we don't need to account for > > >> > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > >> > > > > > which contains both credits value and reconnect instance of the > > >> > > > > > time those credits were taken. Modify a routine that add credits > > >> > > > > > back to handle the reconnect instance by assuming zero credits > > >> > > > > > if the reconnect happened after the credits were obtained and > > >> > > > > > before we decided to add them back due to some errors during sending. > > >> > > > > > > > >> > > > > > This patch fixes the MTU credits cases. The subsequent patch > > >> > > > > > will handle non-MTU ones. > > >> > > > > > > > >> > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > >> > > > > > > > >> > > > > > > > >> > > > > > ---------- Forwarded message --------- > > >> > > > > > From: Steve French <smfrench@gmail.com> > > >> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > >> > > > > > Subject: Re: xfstests and current cifs for-next patch set > > >> > > > > > To: CIFS <linux-cifs@vger.kernel.org> > > >> > > > > > > > >> > > > > > > > >> > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > >> > > > > > to three patches, rerunning with this one of the three added (see > > >> > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > >> > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > >> > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > >> > > > > > > > >> > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > > > >> > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > >> > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > >> > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > >> > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > >> > > > > > > > > >> > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > >> > > > > > > ontop of 5.0-rc5. See > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > >> > > > > > > so am trying to narrow it down. This run (in progress) > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > >> > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > >> > > > > > > as with the runs above) so we can bisect which commit causes the > > >> > > > > > > problem with tests 310 and 422. > > >> > > > > > > > > >> > > > > > > This seems unrelated to the problem I see in slightly more current > > >> > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > >> > > > > > > was introduced with 5.0-rc6. > > >> > > > > > > > > >> > > > > > > Let me know if others (or other scenario problems) see the tests > > >> > > > > > > 310/422 failure. > > >> > > > > > > > > >> > > > > > > -- > > >> > > > > > > Thanks, > > >> > > > > > > > > >> > > > > > > Steve > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > -- > > >> > > > > > Thanks, > > >> > > > > > > > >> > > > > > Steve > > >> > > > > > > > >> > > > > > > > >> > > > > > -- > > >> > > > > > Thanks, > > >> > > > > > > > >> > > > > > Steve > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > -- > > >> > > > > Thanks, > > >> > > > > > > >> > > > > Steve > > >> > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > Thanks, > > >> > > > > > >> > > > Steve > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > Thanks, > > >> > > > > >> > > Steve > > > > -- > Thanks, > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-21 2:31 ` Steve French 2019-02-21 3:41 ` Steve French @ 2019-02-21 4:00 ` Steve French 2019-02-21 9:44 ` ronnie sahlberg 1 sibling, 1 reply; 13+ messages in thread From: Steve French @ 2019-02-21 4:00 UTC (permalink / raw) To: ronnie sahlberg Cc: Ronnie Sahlberg, Pavel Shilovsky, Aurélien Aptel, CIFS The reason 490 seems to be failing is that it is using the blocksize as allocation size and then doing truncate/seek. Could be buggy test case but easier to just set it to 2MB which solves both problems. On Wed, Feb 20, 2019 at 8:31 PM Steve French <smfrench@gmail.com> wrote: > > The problem with dropping the patch is that fixes another critical > problem where cp and scp can go VERY slowly (since they use blocksize > to determine the I/O size to use). 1MB is probably the minimum we > want to set (which is what NFS uses) > > On Wed, Feb 20, 2019 at 7:48 PM ronnie sahlberg > <ronniesahlberg@gmail.com> wrote: > > > > This patch is also the reason why generic/490 fails, so lets drop it for now. > > > > On Thu, Feb 21, 2019 at 10:22 AM Steve French <smfrench@gmail.com> wrote: > > > > > > We could also try with 1mb instead of 4mb for uncached I/o > > > > > > On Wed, Feb 20, 2019, 18:12 ronnie sahlberg <ronniesahlberg@gmail.com> wrote: > > >> > > >> What I mean is that generic/013 still works, it just takes ~3 times > > >> as long to run so the buildbot is timing it out. > > >> > > >> Steve, > > >> Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next > > >> and re-run the buildbot and see it it now passes? > > >> > > >> > > >> On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: > > >> > > > >> > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 > > >> > > > >> > > > >> > ----- Original Message ----- > > >> > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> > > >> > To: "Steve French" <smfrench@gmail.com> > > >> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> > > >> > Sent: Thursday, 21 February, 2019 8:47:44 AM > > >> > Subject: Re: xfstests and current cifs for-next patch set > > >> > > > >> > generic/013 and generic/014 failed with timeout. These tests used to > > >> > take several minutes. > > >> > > > >> > Testing locally, generic/013 is successful but it takes almost > > >> > three times longer than it used to just a week ago. > > >> > > > >> > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > >> > > > > >> > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > > >> > > problem in this case was skipping a mid) does fix xfstest 310. Azure > > >> > > test bucket passes, no reconnects that I spotted: > > >> > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > >> > > > > >> > > Running cifs-testing buildbot bucket now. > > >> > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > >> > > > > >> > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > >> > > > Retrying the same test run it worked. Rerunning the same set of > > >> > > > patches but this time with larger (cifs-testing) collection of tests > > >> > > > on the buildbot > > >> > > > > > >> > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > >> > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > >> > > > > > > >> > > > > [root@fedora29 ~]# dmesg > > >> > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > >> > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > >> > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > >> > > > > [ 3225.207488] CIFS VFS: Server > > >> > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > >> > > > > seconds. Reconnecting... > > >> > > > > > > >> > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > > >> > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > >> > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > >> > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > >> > > > > > > > >> > > > > > Every time after a session reconnect we don't need to account for > > >> > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > >> > > > > > which contains both credits value and reconnect instance of the > > >> > > > > > time those credits were taken. Modify a routine that add credits > > >> > > > > > back to handle the reconnect instance by assuming zero credits > > >> > > > > > if the reconnect happened after the credits were obtained and > > >> > > > > > before we decided to add them back due to some errors during sending. > > >> > > > > > > > >> > > > > > This patch fixes the MTU credits cases. The subsequent patch > > >> > > > > > will handle non-MTU ones. > > >> > > > > > > > >> > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > >> > > > > > > > >> > > > > > > > >> > > > > > ---------- Forwarded message --------- > > >> > > > > > From: Steve French <smfrench@gmail.com> > > >> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > >> > > > > > Subject: Re: xfstests and current cifs for-next patch set > > >> > > > > > To: CIFS <linux-cifs@vger.kernel.org> > > >> > > > > > > > >> > > > > > > > >> > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > >> > > > > > to three patches, rerunning with this one of the three added (see > > >> > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > >> > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > >> > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > >> > > > > > > > >> > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > >> > > > > > > > > >> > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > >> > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > >> > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > >> > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > >> > > > > > > > > >> > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > >> > > > > > > ontop of 5.0-rc5. See > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > >> > > > > > > so am trying to narrow it down. This run (in progress) > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > >> > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > >> > > > > > > as with the runs above) so we can bisect which commit causes the > > >> > > > > > > problem with tests 310 and 422. > > >> > > > > > > > > >> > > > > > > This seems unrelated to the problem I see in slightly more current > > >> > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > >> > > > > > > was introduced with 5.0-rc6. > > >> > > > > > > > > >> > > > > > > Let me know if others (or other scenario problems) see the tests > > >> > > > > > > 310/422 failure. > > >> > > > > > > > > >> > > > > > > -- > > >> > > > > > > Thanks, > > >> > > > > > > > > >> > > > > > > Steve > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > -- > > >> > > > > > Thanks, > > >> > > > > > > > >> > > > > > Steve > > >> > > > > > > > >> > > > > > > > >> > > > > > -- > > >> > > > > > Thanks, > > >> > > > > > > > >> > > > > > Steve > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > -- > > >> > > > > Thanks, > > >> > > > > > > >> > > > > Steve > > >> > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > Thanks, > > >> > > > > > >> > > > Steve > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > Thanks, > > >> > > > > >> > > Steve > > > > -- > Thanks, > > Steve -- Thanks, Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: xfstests and current cifs for-next patch set 2019-02-21 4:00 ` Steve French @ 2019-02-21 9:44 ` ronnie sahlberg 0 siblings, 0 replies; 13+ messages in thread From: ronnie sahlberg @ 2019-02-21 9:44 UTC (permalink / raw) To: Steve French; +Cc: Ronnie Sahlberg, Pavel Shilovsky, Aurélien Aptel, CIFS All the tests passed. Still generic/013 takes well over double the time it used. Maybe 1Mb is better? Or this is all micro-optimizations for a super rare usecase (users actually using specific mount options) On Thu, Feb 21, 2019 at 2:00 PM Steve French <smfrench@gmail.com> wrote: > > The reason 490 seems to be failing is that it is using the blocksize > as allocation size and then doing truncate/seek. Could be buggy test > case but easier to just set it to 2MB which solves both problems. > > On Wed, Feb 20, 2019 at 8:31 PM Steve French <smfrench@gmail.com> wrote: > > > > The problem with dropping the patch is that fixes another critical > > problem where cp and scp can go VERY slowly (since they use blocksize > > to determine the I/O size to use). 1MB is probably the minimum we > > want to set (which is what NFS uses) > > > > On Wed, Feb 20, 2019 at 7:48 PM ronnie sahlberg > > <ronniesahlberg@gmail.com> wrote: > > > > > > This patch is also the reason why generic/490 fails, so lets drop it for now. > > > > > > On Thu, Feb 21, 2019 at 10:22 AM Steve French <smfrench@gmail.com> wrote: > > > > > > > > We could also try with 1mb instead of 4mb for uncached I/o > > > > > > > > On Wed, Feb 20, 2019, 18:12 ronnie sahlberg <ronniesahlberg@gmail.com> wrote: > > > >> > > > >> What I mean is that generic/013 still works, it just takes ~3 times > > > >> as long to run so the buildbot is timing it out. > > > >> > > > >> Steve, > > > >> Can we revert d3de48233978524514d3b605ad55bb21d1ecd706 from for-next > > > >> and re-run the buildbot and see it it now passes? > > > >> > > > >> > > > >> On Thu, Feb 21, 2019 at 10:09 AM Ronnie Sahlberg <lsahlber@redhat.com> wrote: > > > >> > > > > >> > I ran a git bisect and the performance drop came with commit d3de48233978524514d3b605ad55bb21d1ecd706 > > > >> > > > > >> > > > > >> > ----- Original Message ----- > > > >> > From: "ronnie sahlberg" <ronniesahlberg@gmail.com> > > > >> > To: "Steve French" <smfrench@gmail.com> > > > >> > Cc: "Pavel Shilovsky" <piastryyy@gmail.com>, "Aurélien Aptel" <aaptel@suse.com>, "CIFS" <linux-cifs@vger.kernel.org> > > > >> > Sent: Thursday, 21 February, 2019 8:47:44 AM > > > >> > Subject: Re: xfstests and current cifs for-next patch set > > > >> > > > > >> > generic/013 and generic/014 failed with timeout. These tests used to > > > >> > take several minutes. > > > >> > > > > >> > Testing locally, generic/013 is successful but it takes almost > > > >> > three times longer than it used to just a week ago. > > > >> > > > > >> > On Thu, Feb 21, 2019 at 7:18 AM Steve French <smfrench@gmail.com> wrote: > > > >> > > > > > >> > > Looks like Pavel's latest fix (unrelated to credits it turns out, the > > > >> > > problem in this case was skipping a mid) does fix xfstest 310. Azure > > > >> > > test bucket passes, no reconnects that I spotted: > > > >> > > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/94 > > > >> > > > > > >> > > Running cifs-testing buildbot bucket now. > > > >> > > > > > >> > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/134 > > > >> > > > > > >> > > On Sun, Feb 17, 2019 at 1:30 PM Steve French <smfrench@gmail.com> wrote: > > > >> > > > > > > >> > > > Retrying the same test run it worked. Rerunning the same set of > > > >> > > > patches but this time with larger (cifs-testing) collection of tests > > > >> > > > on the buildbot > > > >> > > > > > > >> > > > On Sat, Feb 16, 2019 at 10:38 PM Steve French <smfrench@gmail.com> wrote: > > > >> > > > > > > > >> > > > > The test (310 and subsequent) seemed to start failing with this in dmesg: > > > >> > > > > > > > >> > > > > [root@fedora29 ~]# dmesg > > > >> > > > > [ 2969.016552] CIFS VFS: Cancelling wait for mid 29640 cmd: 14 > > > >> > > > > [ 2979.449426] CIFS VFS: disabling echoes and oplocks > > > >> > > > > [ 2999.109655] CIFS VFS: Cancelling wait for mid 1494 cmd: 6 > > > >> > > > > [ 3225.207488] CIFS VFS: Server > > > >> > > > > linuxsmb3testshares.file.core.windows.net has not responded in 120 > > > >> > > > > seconds. Reconnecting... > > > >> > > > > > > > >> > > > > On Sat, Feb 16, 2019 at 8:30 PM Steve French <smfrench@gmail.com> wrote: > > > >> > > > > > > > > >> > > > > > So (unless there is a random factor involved) - I narrowed it down to this patch > > > >> > > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > >> > > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > > >> > > > > > > > > >> > > > > > Every time after a session reconnect we don't need to account for > > > >> > > > > > credits obtained in previous sessions. Introduce new struct cifs_credits > > > >> > > > > > which contains both credits value and reconnect instance of the > > > >> > > > > > time those credits were taken. Modify a routine that add credits > > > >> > > > > > back to handle the reconnect instance by assuming zero credits > > > >> > > > > > if the reconnect happened after the credits were obtained and > > > >> > > > > > before we decided to add them back due to some errors during sending. > > > >> > > > > > > > > >> > > > > > This patch fixes the MTU credits cases. The subsequent patch > > > >> > > > > > will handle non-MTU ones. > > > >> > > > > > > > > >> > > > > > Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> > > > >> > > > > > Signed-off-by: Steve French <stfrench@microsoft.com> > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > ---------- Forwarded message --------- > > > >> > > > > > From: Steve French <smfrench@gmail.com> > > > >> > > > > > Date: Sat, Feb 16, 2019 at 6:46 PM > > > >> > > > > > Subject: Re: xfstests and current cifs for-next patch set > > > >> > > > > > To: CIFS <linux-cifs@vger.kernel.org> > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > Narrowed the xfstest 310 possible regression in current for-next down > > > >> > > > > > to three patches, rerunning with this one of the three added (see > > > >> > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/85) > > > >> > > > > > > > > >> > > > > > Author: Pavel Shilovsky <pshilov@microsoft.com> > > > >> > > > > > Date: Wed Jan 16 11:12:41 2019 -0800 > > > >> > > > > > > > > >> > > > > > CIFS: Respect reconnect in MTU credits calculations > > > >> > > > > > > > > >> > > > > > On Sat, Feb 16, 2019 at 1:40 PM Steve French <smfrench@gmail.com> wrote: > > > >> > > > > > > > > > >> > > > > > > With 5.0-rc5 and current for-next (29 paches) two tests 310 (read and > > > >> > > > > > > readdir simultaneously) and 422 (delayed allocation stat, number of > > > >> > > > > > > blocks) fail I see this in the azure test bucket in the buildbot). > > > >> > > > > > > see this run: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/80 > > > >> > > > > > > > > > >> > > > > > > These don't fail when I select only the first 8 cifs fixes in for-next > > > >> > > > > > > ontop of 5.0-rc5. See > > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/82 > > > >> > > > > > > so am trying to narrow it down. This run (in progress) > > > >> > > > > > > http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/4/builds/83 > > > >> > > > > > > has the first 19 (of the 29) cifs patches (ontop of 5.0-rc5 mainline > > > >> > > > > > > as with the runs above) so we can bisect which commit causes the > > > >> > > > > > > problem with tests 310 and 422. > > > >> > > > > > > > > > >> > > > > > > This seems unrelated to the problem I see in slightly more current > > > >> > > > > > > mainline (that we can see with no cifs changes) in xfstest 422 that > > > >> > > > > > > was introduced with 5.0-rc6. > > > >> > > > > > > > > > >> > > > > > > Let me know if others (or other scenario problems) see the tests > > > >> > > > > > > 310/422 failure. > > > >> > > > > > > > > > >> > > > > > > -- > > > >> > > > > > > Thanks, > > > >> > > > > > > > > > >> > > > > > > Steve > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > -- > > > >> > > > > > Thanks, > > > >> > > > > > > > > >> > > > > > Steve > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > -- > > > >> > > > > > Thanks, > > > >> > > > > > > > > >> > > > > > Steve > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > -- > > > >> > > > > Thanks, > > > >> > > > > > > > >> > > > > Steve > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > -- > > > >> > > > Thanks, > > > >> > > > > > > >> > > > Steve > > > >> > > > > > >> > > > > > >> > > > > > >> > > -- > > > >> > > Thanks, > > > >> > > > > > >> > > Steve > > > > > > > > -- > > Thanks, > > > > Steve > > > > -- > Thanks, > > Steve ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2019-02-21 9:44 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-16 19:40 xfstests and current cifs for-next patch set Steve French
2019-02-17 0:46 ` Steve French
[not found] ` <CAH2r5msHUwbDmftJMHNRrqYMtuf9xdC7qJh+PksgavPvjqVQVg@mail.gmail.com>
[not found] ` <CAH2r5mv10VEUntZcYW91eSycdNBobrJYF0pMG4pMPqJm=6UAqg@mail.gmail.com>
2019-02-17 19:30 ` Steve French
2019-02-20 21:18 ` Steve French
2019-02-20 22:47 ` ronnie sahlberg
2019-02-20 23:41 ` Pavel Shilovsky
2019-02-21 0:09 ` Ronnie Sahlberg
2019-02-21 0:12 ` ronnie sahlberg
[not found] ` <CAH2r5mscVyY4WcLfNWzCZhELQYUT_SRNK0UJvVyWHdC-6N3XCQ@mail.gmail.com>
2019-02-21 1:48 ` ronnie sahlberg
2019-02-21 2:31 ` Steve French
2019-02-21 3:41 ` Steve French
2019-02-21 4:00 ` Steve French
2019-02-21 9:44 ` ronnie sahlberg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox