Jump to content

Raspberry Pi NAS R/W Speeds

Go to solution Solved by Electronics Wizardy,

That seems network limited. Get a 1gbe nic and I think your limited to the usb ports on the system giving about 30mB/s speeds.

Hello all,

 

I was following a youtube tutorial to turn an old raspberry pi into a 'nas'. I believe it is a raspberry pi 2B.

Currently running it with openmediavault, and connecting via smb. I am on the same network as my pi, and the pi is using ethernet.

 

The read and write speeds to the drive connected to my pi are currently really bad (10MB/s ish)

The drive is an external ssd with speeds expected well past that. The file system is formatted in ext4.

 

I wanted to ask if this is because of the low processing power of the pi, with the low power cpu and low ram obviously.

Or if it could be other factors such as network speeds or software usage? 

 

Asking this question because I'm hoping to upgrade to a proper nas type setup, and wanted to ensure I won't be experiencing really low read and write speeds when that happens, as this is a topic I am not familiar with.

 

Thanks.

Link to comment
Share on other sites

Link to post
Share on other sites

That seems network limited. Get a 1gbe nic and I think your limited to the usb ports on the system giving about 30mB/s speeds.

Link to comment
Share on other sites

Link to post
Share on other sites

The Raspberry Pi 2B only has 100 meg Fast Ethernet. 10 megabytes per second is about all it can muster.

I sold my soul for ProSupport.

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Needfuldoer said:

The Raspberry Pi 2B only has 100 meg Fast Ethernet. 10 megabytes per second is about all it can muster.

Thanks,

 

How much cpu processing is involved when transferring files to/from the pi?

If I got a 1gbe nic will that cpu end becoming the bottleneck, or will the usb port speed of the nic be the limiting factor? Meaning I'd be looking at around 50Mbyte/s?

Link to comment
Share on other sites

Link to post
Share on other sites

Difficult to know without trying, but it definitely won't go faster than USB2. You can look at CPU usage while doing a 10MB/s transfer now and extrapolate.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, milescas said:

How much cpu processing is involved when transferring files to/from the pi?

If I got a 1gbe nic will that cpu end becoming the bottleneck, or will the usb port speed of the nic be the limiting factor? Meaning I'd be looking at around 50Mbyte/s?

Even a quad-core ARM-based RTL9210 SoC, implemented in various models of pre-built NAS, would not be the bottleneck in Gigabit Ethernet. The real issue here is the I/O capability: this Pi, as mentioned, supports only 100Mbit Ethernet, and only USB 2.0 connectivity -- that is, any I/O would be limited by speeds of USB 2.0, or 480 Mbps (you may get an actual speed of ~40MB/s). Other more powerful ARM boards, or TV boxes, are instead recommended over this Pi.

Link to comment
Share on other sites

Link to post
Share on other sites

The RPi 2 is quite slow by modern standards. Mine couldnt keep up running OpenELEC transcoding to 1080p due to CPU processing for the DTS audio; I had to either run it as Passthrough audo to my amplifier; or drop it to 720p with audio transcoding (to AC-3). I believe that even though Filesharing (SMB) is not a CPU intensive task it would still be intensive for the age of the CPU; combined with not having an actual PCie link I would probably estimate more like 25-40MB/s 

 

If you want something compact; you'd probably be better getting a CM4. An IO board and a PCI-E SATA card such as this

It has a PCIE2 x1 lane giving you 5-6Gbps; and native SATA support. So you should be able to do about 550MB/s locally with SATA SSD's, and saturate that 1gbE ethernet link (e.g 90MB/s)

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×