Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

(Solved) need some serious help with read speeds

Featured Replies

so guys the thing is, i have been using my unraid without any parity drive or cache for past 2 years now, actually 2 years back when i set it up i wasn't getting good write speed to timemachine share so ended up using seprate drive on hackintosh itself so i never really bothered with parity and cache as i was using unraid for only media storage now but finally after 2 years i started to feel that now that my data has grown and i have decent media collection i should get parity drive and cache drive.

---- Here comes the Problem!!! --- from past couple of weeks my read speeds have gone hill from full fat gigabit/sec to like 20-45 megabyte/sec, but still i thought that its maybe because my data has grown now and im using more dockers now too, it could just that my traditional HDD's can't keep up, so maybe everything will be back to normal after installing parity and cache drive as im still waiting for my parity drive to be delivered. (i am getting full fat gigabit/sec write speeds so it was weird but still). But now today all of a sudden my reads speeds have dropped down even further, right now im getting only 2.5 megabyte/sec!!!!!!. 

Now that gotta be something else entirely, i have checked my lan cables, tried diffrent sata ports on my motherboard but still reads are capped to 2.5 mbyte/sec and write are normal 110-112 mbyte/sec.

i have attached my diagnostics, if anyone knows whats wrong here, then please help !!!. i would really appriciate any kind help.

unraid-diagnostics-20190722-1335.zip

  • Community Expert

You're having problems with disk1:

 

Jul 22 18:08:56 Unraid kernel: md: disk1 read error, sector=2286221472
Jul 22 18:08:56 Unraid kernel: md: disk1 read error, sector=2286221480
Jul 22 18:08:56 Unraid kernel: md: disk1 read error, sector=2286221488
Jul 22 18:08:56 Unraid kernel: md: disk1 read error, sector=2286221496

 

Looks more like a connection problem, replace cables.

  • Author

@johnnie.black dude, did someone ever told you how great and awesome you are, just one look and you nailed it. I too at first thought maybe its a loose connection but never thought about trying a different one, as these cables aren't really that old but when you recommended trying a different cable, i took out one from my main rig and replaced it with the cable which was connected to my disk1 and voilla back to full fat gigabit/sec.

Thanks man, i really appreciate it.

  • Author

@johnnie.black 😭looks everything is still not ok. now some are transfering at decent speed and some aren't, i mean its so weird that it can open 4k hdr hevc instantly and i can easily skip ahead without any delay but with some other just 1080p h.264 movies i can easily notice couple of second delay. through netdata i noticed that its transfering data at goods speeds iowait isn't all that bad but when its im only getting like 20megabyte/sec io wait goes to 70-80%.

in this screenshot u can see that on right iowait is hovering around 70-90% thats when its transfering at slowly and on the left side iowait is much better thats when im getting goods speeds.

all testing is done after shutting off all the dockers ecept netdata.

iowait.JPG

unraid-diagnostics-20190722-2129.zip

Edited by Max
adding diagnostics again

  • Community Expert

Nothing visible in the logs, try reading from one or the other disk to see if there's any difference.

  • Author
44 minutes ago, johnnie.black said:

Nothing visible in the logs, try reading from one or the other disk to see if there's any difference.

already tried that now its disk2's read speeds that are slow still write speeds are fine also im still getting iowait spikes according to netdata as soon as i lauch plex so is also running quite slow.

  • Community Expert

Don't know if these can make a difference without parity, but it helped some before with bad read performance, and it won't hurt to try:

 

Settings -> Disk Settings

Tunable (md_num_stripes): 4096
Tunable (md_sync_window): 2048
Tunable (md_sync_thresh): 2000

 

  • Community Expert

You might want to consider installing the diskspeed docker and using that to run tests on your disks.   Sometimes you find that disks develop 'slow areas' so and as a result the performance of a drive may widely according to which files you are accessing.   That docker makes it obvious if you have drives that are behaving like that as well as giving information of overall performance of each of the drives you have installed.

  • Author
1 hour ago, johnnie.black said:

Don't know if these can make a difference without parity, but it helped some before with bad read performance, and it won't hurt to try:

 

Settings -> Disk Settings


Tunable (md_num_stripes): 4096
Tunable (md_sync_window): 2048
Tunable (md_sync_thresh): 2000

 

Okay that did did helped quite a bit earlier my read speeds jumping all over between 20-112megabytes/sec, most of the time it would be around 40-45 now with this applied it ranges between 60-100megabytes/sec, mostly around 75-80 megabytes so average speed, minimum speeds are all better but still not as good as my disk1, compared to my disk1 which is giving speeds between 100-112megabytes/sec(i think this has improved it even further and more stable) but it could be that at that when i was checking read speeds, plex was might be reading or writing on disk2 maybe thats why they weren't as good as disk1's. However no one was using plex at that time but still it could be some background process or something, not sure.

58 minutes ago, itimpi said:

You might want to consider installing the diskspeed docker and using that to run tests on your disks.   Sometimes you find that disks develop 'slow areas' so and as a result the performance of a drive may widely according to which files you are accessing.   That docker makes it obvious if you have drives that are behaving like that as well as giving information of overall performance of each of the drives you have installed.

Okay i will try that share the results with u guys, btw we should run that with all our dockers stopped right or doesn't matter??

  • Community Expert
8 minutes ago, Max said:

Okay i will try that share the results with u guys, btw we should run that with all our dockers stopped right or doesn't matter??

You want to run it while there is nothing else running that can cause disk activity (dockers, VMs etc) as they could skew the results.  There is a lot to be said for booting in safe mode to run it as that would stop any plugins from running.

  • Author
19 minutes ago, itimpi said:

You want to run it while there is nothing else running that can cause disk activity (dockers, VMs etc) as they could skew the results.  There is a lot to be said for booting in safe mode to run it as that would stop any plugins from running.

Okay then i should try that with unraid os safe mode (no plugins no GUI) right? Thats just unraid's gui, i would still be able to access web gui right?

  • Community Expert
1 minute ago, Max said:

Okay then i should try that with unraid os safe mode (no plugins no GUI) right? Thats just unraid's gui, i would still be able to access web gui right?

The GUI will be irrelevant if you are not doing anything with it.   The local GUI is identical to the web based version anyway - just running the browser locally on the Unraid server.  

  • Author
43 minutes ago, itimpi said:

The GUI will be irrelevant if you are not doing anything with it.   The local GUI is identical to the web based version anyway - just running the browser locally on the Unraid server.  

Okay thanks i will try that tonight and report back here.

  • Author

@itimpi @johnnie.black okay these are that results.

1731841463_diskspeedreport2.thumb.JPG.64f5ce0d1f0e5c275d40e5ae56692087.JPG

graph looks fine to me but im not an expert.

but while the test was running on disk2 is was getting some speedgap error which i didn't get while it was running on disk1. could it bee the problem here ??

1366807881_diskspeedreport1.thumb.JPG.8fbb04ed0fa341989fa847bea3d88d6a.JPG

  • Community Expert

Looks fine to me.

  • Author
3 minutes ago, johnnie.black said:

Looks fine to me.

what about speed gap thing on disk2, is that too is normal ?

  • Community Expert
3 minutes ago, Max said:

what about speed gap thing on disk2, is that too is normal ?

Not very normal if nothing else was accessing the disk.

  • Author
1 minute ago, johnnie.black said:

Not very normal if nothing else was accessing the disk.

okay just now i tested again by copy pasting some data from disk2 to my main rig's ssd and now this speeds were much better between 80-112 megabytes which is fine i think but that speed gaap ha me worried as no plugin or dockers were ruuning so im pretty sure nothing else was accessing my disk's.

what could caused it, is my disk 2 is dieing or something.

  • Author

io.thumb.JPG.efc34e4b617960ce387c8a640376ee90.JPG

are these iowait spikes normal? i get these iowait spikes after launching plex with just plex running.

  • Author

i have been testing my read speeds since yesterday so far so good, everything seems back to normal. thank you for all your help @johnnie.black @itimpi.👍

  • Max changed the title to (Solved) need some serious help with read speeds

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.