Jump to content

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


Recommended Posts

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.

Link to comment

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.

Link to comment
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
Link to comment
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

Link to comment
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"

Link to comment
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.

 

 

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