Jump to content

NFS slowing down over time


Grobalt

Recommended Posts

I have 2 unraid systems which i currently "clone". Copying 40TB of large files from one to the other. Default is v3, but i changed to NFS v4 and restartet the nfs server as well -> behaves same.

 

When i start the nfs service it starts copying with around 180-200 MB/s over 2.5gbit ethernet. After like 12 hours it is around 80-100 MB/s left. Stopping and Starting nfs service again revices original speed.

 

Any idea ? I can find some google results with same problem but no solution.

- NFS simply gradually slows down over time

- NFSv4.1 mount is extremly slow until remount

- NFS low performance after some activity

- Severe NFS performance degradation after LP #2003053

https://access.redhat.com/solutions/6271621 ( i cannot read the solution)

 

Both running 6.12.3

Edited by Grobalt
Link to comment
1 hour ago, Grobalt said:

as shown in post 1 - both are unraid, both are running same version and i copy via MC in a putty instance

I asked because your log does not show any UD mounts to either NFS or CIFS remote shares.

 

Several observations.

 

You have some parity errors:

Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=288
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=296
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=304
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=312
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=320
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=328
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=336
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=344
AuAug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=280
g  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=352
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=360
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=368
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=376
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=384
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=392
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=400
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=408
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=416
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=424
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=432
Aug  1 03:00:15 unraid kernel: md: recovery thread: P incorrect, sector=440

 

You have some Fix Common Problems issues:

Jul 29 20:44:06 unraid root: Fix Common Problems: Warning: Write Cache is disabled on disk2
Jul 29 20:44:06 unraid root: Fix Common Problems: Warning: Write Cache is disabled on disk3
Jul 29 20:44:06 unraid root: Fix Common Problems: Warning: Write Cache is disabled on disk5

 

You are using a realtek NIC.  The drivers for Realtek NICs ar notorious for having issues with Linux because they are not well maintained.

 

My suggestions:

  • Set the NFS version in UD Settings to NFSv4 so you don't have to edit the '/etc/nfsount.conf' file after each reboot.
  • Fix the FCP issues.
  • Fix the parity errors.
  • Change NICs.  Intel NICs work very well in Unraid.
  • You said you were using NFS mounts.  In the next release of UD, I've made some adjustments in NFS mounts that may help.  Most notable the 'noatime', and 'nodiratime' that won't do disk writes on every file access.
Link to comment

Update UD, unmount and remount your remote shares and see if it makes any difference.

 

1 hour ago, Grobalt said:

But an additional nic will be more power draw, not the best option. And no write cache is default at enterprise data disks

Don't enterprise disks draw more power?  And you're concerned over power draw of a NIC?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...