NFS client intermittent performance issues (backlog queue wait?)Analyzing Linux NFS server performanceGood NFS configuration for Small Network (NFS Performance Issues)Issues mounting NFS share on clientNFS / DRBD / XFS Performance issuesmdadm raid10 or nfs performance issues?NFSv3 client differences in read/write performanceWindows NFS client keeps writing read-only with on NFS server with squash_allcpu load and nfs performanceHow to identify which NFS client generates disk IO?How to fix accumulating NFS DELEG locks necessitating a hard power-down of the client?

What exactly is ineptocracy?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?

In Bayesian inference, why are some terms dropped from the posterior predictive?

What is an equivalently powerful replacement spell for the Yuan-Ti's Suggestion spell?

Theorists sure want true answers to this!

What is required to make GPS signals available indoors?

Do creatures with a listed speed of "0 ft., fly 30 ft. (hover)" ever touch the ground?

Could the museum Saturn V's be refitted for one more flight?

Rotate ASCII Art by 45 Degrees

How can saying a song's name be a copyright violation?

What is a Samsaran Word™?

Unlock My Phone! February 2018

Are British MPs missing the point, with these 'Indicative Votes'?

Why was the shrink from 8″ made only to 5.25″ and not smaller (4″ or less)

How does a dynamic QR code work?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Is this draw by repetition?

Send out email when Apex Queueable fails and test it

Can compressed videos be decoded back to their uncompresed original format?

Fair gambler's ruin problem intuition

How to install cross-compiler on Ubuntu 18.04?

How do conventional missiles fly?

If a warlock makes a Dancing Sword their pact weapon, is there a way to prevent it from disappearing if it's farther away for more than a minute?



NFS client intermittent performance issues (backlog queue wait?)


Analyzing Linux NFS server performanceGood NFS configuration for Small Network (NFS Performance Issues)Issues mounting NFS share on clientNFS / DRBD / XFS Performance issuesmdadm raid10 or nfs performance issues?NFSv3 client differences in read/write performanceWindows NFS client keeps writing read-only with on NFS server with squash_allcpu load and nfs performanceHow to identify which NFS client generates disk IO?How to fix accumulating NFS DELEG locks necessitating a hard power-down of the client?













0















I have a weird issue with one of the NFS clients (Ubuntu 16.04 LTS).
I have been working for the past few days to try and debug this, but so far without success.
After I mount the partition, everything works perfectly for a few days, transfer speed is 1 Gbps between the client and server. After a few days the speed drops to less than 10 mbps and even a simple directory listing takes a few seconds and I/O wait is at 100%



What I noticed is that the backlog wait, especially for the write operations is extremely high:



root@srv:~# mountstats /mnt/data
Stats for 192.168.0.15:/mnt/data mounted on /mnt/data:
NFS mount options: rw,vers=4.0,rsize=16384,wsize=16384,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.150,local_lock=none
NFS server capabilities: caps=0xffdf,wtmult=512,dtsize=16384,bsize=0,namlen=255
NFSv4 capability flags: bm0=0xfdffbfff,bm1=0xf9be3e,bm2=0x0,acl=0x3,pnfs=notconfigured
NFS security flavor: 1 pseudoflavor: 0

NFS byte counts:
applications read 8168679407142 bytes via read(2)
applications wrote 4833000353435 bytes via write(2)
applications read 0 bytes via O_DIRECT read(2)
applications wrote 0 bytes via O_DIRECT write(2)
client read 4218977852758 bytes via NFS READ
client wrote 4832098253207 bytes via NFS WRITE

RPC statistics:
561421762 RPC requests sent, 561421608 RPC replies received (1 XIDs not found)
average backlog queue length: 0

READ:
263822474 ops (46%) 0 retrans (0%) 0 major timeouts
avg bytes sent per op: 184 avg bytes received per op: 16051
backlog wait: 8.772689 RTT: 27.972131 total execute time: 36.752241 (milliseconds)
WRITE:
295296111 ops (52%) 0 retrans (0%) 0 major timeouts
avg bytes sent per op: 16567 avg bytes received per op: 132
backlog wait: 62468603019.791718 RTT: 78.030143 total execute time: 62468603097.830574 (milliseconds)


There are no errors, no warnings, I tried debugging with "echo 1 > /proc/sys/vm/block_dump" (which has done miracles for me in the past), but this time there's nothing visible related to NFS.
Any idea how I can debug further and see what's causing the extremely high backlog wait?










share|improve this question


























    0















    I have a weird issue with one of the NFS clients (Ubuntu 16.04 LTS).
    I have been working for the past few days to try and debug this, but so far without success.
    After I mount the partition, everything works perfectly for a few days, transfer speed is 1 Gbps between the client and server. After a few days the speed drops to less than 10 mbps and even a simple directory listing takes a few seconds and I/O wait is at 100%



    What I noticed is that the backlog wait, especially for the write operations is extremely high:



    root@srv:~# mountstats /mnt/data
    Stats for 192.168.0.15:/mnt/data mounted on /mnt/data:
    NFS mount options: rw,vers=4.0,rsize=16384,wsize=16384,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.150,local_lock=none
    NFS server capabilities: caps=0xffdf,wtmult=512,dtsize=16384,bsize=0,namlen=255
    NFSv4 capability flags: bm0=0xfdffbfff,bm1=0xf9be3e,bm2=0x0,acl=0x3,pnfs=notconfigured
    NFS security flavor: 1 pseudoflavor: 0

    NFS byte counts:
    applications read 8168679407142 bytes via read(2)
    applications wrote 4833000353435 bytes via write(2)
    applications read 0 bytes via O_DIRECT read(2)
    applications wrote 0 bytes via O_DIRECT write(2)
    client read 4218977852758 bytes via NFS READ
    client wrote 4832098253207 bytes via NFS WRITE

    RPC statistics:
    561421762 RPC requests sent, 561421608 RPC replies received (1 XIDs not found)
    average backlog queue length: 0

    READ:
    263822474 ops (46%) 0 retrans (0%) 0 major timeouts
    avg bytes sent per op: 184 avg bytes received per op: 16051
    backlog wait: 8.772689 RTT: 27.972131 total execute time: 36.752241 (milliseconds)
    WRITE:
    295296111 ops (52%) 0 retrans (0%) 0 major timeouts
    avg bytes sent per op: 16567 avg bytes received per op: 132
    backlog wait: 62468603019.791718 RTT: 78.030143 total execute time: 62468603097.830574 (milliseconds)


    There are no errors, no warnings, I tried debugging with "echo 1 > /proc/sys/vm/block_dump" (which has done miracles for me in the past), but this time there's nothing visible related to NFS.
    Any idea how I can debug further and see what's causing the extremely high backlog wait?










    share|improve this question
























      0












      0








      0








      I have a weird issue with one of the NFS clients (Ubuntu 16.04 LTS).
      I have been working for the past few days to try and debug this, but so far without success.
      After I mount the partition, everything works perfectly for a few days, transfer speed is 1 Gbps between the client and server. After a few days the speed drops to less than 10 mbps and even a simple directory listing takes a few seconds and I/O wait is at 100%



      What I noticed is that the backlog wait, especially for the write operations is extremely high:



      root@srv:~# mountstats /mnt/data
      Stats for 192.168.0.15:/mnt/data mounted on /mnt/data:
      NFS mount options: rw,vers=4.0,rsize=16384,wsize=16384,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.150,local_lock=none
      NFS server capabilities: caps=0xffdf,wtmult=512,dtsize=16384,bsize=0,namlen=255
      NFSv4 capability flags: bm0=0xfdffbfff,bm1=0xf9be3e,bm2=0x0,acl=0x3,pnfs=notconfigured
      NFS security flavor: 1 pseudoflavor: 0

      NFS byte counts:
      applications read 8168679407142 bytes via read(2)
      applications wrote 4833000353435 bytes via write(2)
      applications read 0 bytes via O_DIRECT read(2)
      applications wrote 0 bytes via O_DIRECT write(2)
      client read 4218977852758 bytes via NFS READ
      client wrote 4832098253207 bytes via NFS WRITE

      RPC statistics:
      561421762 RPC requests sent, 561421608 RPC replies received (1 XIDs not found)
      average backlog queue length: 0

      READ:
      263822474 ops (46%) 0 retrans (0%) 0 major timeouts
      avg bytes sent per op: 184 avg bytes received per op: 16051
      backlog wait: 8.772689 RTT: 27.972131 total execute time: 36.752241 (milliseconds)
      WRITE:
      295296111 ops (52%) 0 retrans (0%) 0 major timeouts
      avg bytes sent per op: 16567 avg bytes received per op: 132
      backlog wait: 62468603019.791718 RTT: 78.030143 total execute time: 62468603097.830574 (milliseconds)


      There are no errors, no warnings, I tried debugging with "echo 1 > /proc/sys/vm/block_dump" (which has done miracles for me in the past), but this time there's nothing visible related to NFS.
      Any idea how I can debug further and see what's causing the extremely high backlog wait?










      share|improve this question














      I have a weird issue with one of the NFS clients (Ubuntu 16.04 LTS).
      I have been working for the past few days to try and debug this, but so far without success.
      After I mount the partition, everything works perfectly for a few days, transfer speed is 1 Gbps between the client and server. After a few days the speed drops to less than 10 mbps and even a simple directory listing takes a few seconds and I/O wait is at 100%



      What I noticed is that the backlog wait, especially for the write operations is extremely high:



      root@srv:~# mountstats /mnt/data
      Stats for 192.168.0.15:/mnt/data mounted on /mnt/data:
      NFS mount options: rw,vers=4.0,rsize=16384,wsize=16384,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.150,local_lock=none
      NFS server capabilities: caps=0xffdf,wtmult=512,dtsize=16384,bsize=0,namlen=255
      NFSv4 capability flags: bm0=0xfdffbfff,bm1=0xf9be3e,bm2=0x0,acl=0x3,pnfs=notconfigured
      NFS security flavor: 1 pseudoflavor: 0

      NFS byte counts:
      applications read 8168679407142 bytes via read(2)
      applications wrote 4833000353435 bytes via write(2)
      applications read 0 bytes via O_DIRECT read(2)
      applications wrote 0 bytes via O_DIRECT write(2)
      client read 4218977852758 bytes via NFS READ
      client wrote 4832098253207 bytes via NFS WRITE

      RPC statistics:
      561421762 RPC requests sent, 561421608 RPC replies received (1 XIDs not found)
      average backlog queue length: 0

      READ:
      263822474 ops (46%) 0 retrans (0%) 0 major timeouts
      avg bytes sent per op: 184 avg bytes received per op: 16051
      backlog wait: 8.772689 RTT: 27.972131 total execute time: 36.752241 (milliseconds)
      WRITE:
      295296111 ops (52%) 0 retrans (0%) 0 major timeouts
      avg bytes sent per op: 16567 avg bytes received per op: 132
      backlog wait: 62468603019.791718 RTT: 78.030143 total execute time: 62468603097.830574 (milliseconds)


      There are no errors, no warnings, I tried debugging with "echo 1 > /proc/sys/vm/block_dump" (which has done miracles for me in the past), but this time there's nothing visible related to NFS.
      Any idea how I can debug further and see what's causing the extremely high backlog wait?







      linux nfs nfs4






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 15 at 7:43









      TonyTony

      86211




      86211




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Just in case anyone has the same problem, the only fix I could find was to force NFS3 instead NFS4. The problem has disappeared now.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958398%2fnfs-client-intermittent-performance-issues-backlog-queue-wait%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Just in case anyone has the same problem, the only fix I could find was to force NFS3 instead NFS4. The problem has disappeared now.






            share|improve this answer



























              0














              Just in case anyone has the same problem, the only fix I could find was to force NFS3 instead NFS4. The problem has disappeared now.






              share|improve this answer

























                0












                0








                0







                Just in case anyone has the same problem, the only fix I could find was to force NFS3 instead NFS4. The problem has disappeared now.






                share|improve this answer













                Just in case anyone has the same problem, the only fix I could find was to force NFS3 instead NFS4. The problem has disappeared now.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                TonyTony

                86211




                86211



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958398%2fnfs-client-intermittent-performance-issues-backlog-queue-wait%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company