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.

Question about how UnRAID "Most-Free" works (with parity)

Featured Replies

I'm just using the trial at the moment to toy around with UnRAID to understand how it works. I have four 2TB disks set up as 3 data disks and one parity disk. I set it up with "most-free" allocation method on my test share. It's set up on 1GbE.

 

I started to transfer a few hundred 1GB files to check transfer speed. It runs at only about 60-70 MB/sec. When I look at the transfer speeds I see this:

 

image.png.6448781381a564f096e6bbada723a1fa.png

 

The transfer speed from the host PC over SMB shows 60-70MB/sec. But I consistently see writes across all three data disks similar to what' sin this image. Shouldn't it only write one at a time? I didn't think UnRAID split files up, but distributed individual ones across the disks? I understand Parity would require reading from all disks, but not writing.

 

Can someone please help me understand how this works?


Thanks.

  • Community Expert

Most Free is the least efficient allocation method, because it causes Unraid to switch disks just because one disk temporarily has more free space than others. Each file will be written to only one disk, but when writing multiple files, Most Free is writing each file to whichever disk has the most free, depending on other settings for the share such as Split Level.

  • Community Expert

I always recommend default Highwater allocation. It is a good compromise that will write all disks eventually, but without constantly switching disks.

  • Author
5 minutes ago, trurl said:

Most Free is the least efficient allocation method, because it causes Unraid to switch disks just because one disk temporarily has more free space than others. Each file will be written to only one disk, but when writing multiple files, Most Free is writing each file to whichever disk has the most free, depending on other settings for the share such as Split Level.

 

Thanks.


But I'm writing only one file at a time, sequentially.

 

EDIT: And transfer speed says ~ 60-70MB/sec but no single data disk ever hits that performance, only the parity disk.

 

Edited by HTWingNut

  • Community Expert

Do you mean you are writing a single file, waiting for that write to complete, before starting the next?

 

 

  • Author
1 minute ago, trurl said:

Do you mean you are writing a single file, waiting for that write to complete, before starting the next?

 

 

YES

  • Community Expert

I/O is buffered in RAM. Your PC might think the transfer is complete, but some of the data is still in RAM on Unraid and probably not written out yet.

  • Community Expert

What do you have Settings -> Disk Settings -> Tunable (md_write_method): set to?  

  • Community Expert
10 minutes ago, HTWingNut said:

transfer speed from the host PC over SMB shows 60-70MB/sec

 

6 minutes ago, HTWingNut said:

And transfer speed says ~ 60-70MB/sec but no single disk ever hits that performance, only the parity disk

Those displayed numbers are just snapshots and shouldn't be considered accurate realtime transfer speeds. Probably better to consider average speeds from the PC end of things.

 

2 minutes ago, itimpi said:

What do you have Settings -> Disk Settings -> Tunable (md_write_method): set to?  

https://wiki.unraid.net/Manual/Storage_Management#Array_Write_Modes

  • Community Expert

You would probably get a better idea of transfer speed if you set the share to Highwater and transfer many files together.

  • Author
6 minutes ago, trurl said:

I/O is buffered in RAM. Your PC might think the transfer is complete, but some of the data is still in RAM on Unraid and probably not written out yet.

Ah, so it caches to RAM by default then? I have 8GB RAM, and Dashboard showing consistently 42% used.

 

5 minutes ago, itimpi said:

What do you have Settings -> Disk Settings -> Tunable (md_write_method): set to?  

Tunable (md_write_method) is set to "Auto"

  • Author
2 minutes ago, trurl said:

 

Those displayed numbers are just snapshots and shouldn't be considered accurate realtime transfer speeds. Probably better to consider average speeds from the PC end of things.

 

 

Thanks. That's the thing. The PC transfer speed is showing about 60MB/sec, roughly equal to the parity write speed. Maybe just coincidence, not sure. But single UnRAID data disk write speed is about half of PC write speed.

 

Either way, not a big deal. Just curious what was going on.

 

 

  • Community Expert

Try Highwater and it will write to disk1 for a while and you can see what speed that shows. Probably what you are seeing with Most Free is just an artifact of all the other things already discussed about Most Free, RAM buffering, etc.

  • Author
3 minutes ago, trurl said:

Try Highwater and it will write to disk1 for a while and you can see what speed that shows. Probably what you are seeing with Most Free is just an artifact of all the other things already discussed about Most Free, RAM buffering, etc.

Thanks. 

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...

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.