The Pi acting as a NAS.Ī average write speed of 67.4 MB/s was measured, a very good result, representing about 60% of maximum gigabit speed, and barely any less than the local write speed of 68.6. The copy operation was a simple “ cp” on the laptop. A large zip file ( 5.8 GB) was copied from the Pi to the laptop and back again, with the following results. The USB resident XFS file system was shared out from the Pi using Samba, and mounted as a CIFS mount on a fast, gigabit-equipped laptop. In both cases the copy was done with “ cp“. It was copied to the USB drive at an average write speed of 68.6 MB/s. To test USB writing speed, a smaller zip file (1.1 GB) was placed into /dev/shm, the pi’s memory-based file system. The zip file was read from the USB stick into /dev/null, completing in less than a minute and achieving an average read speed of 113.1 GB/s. See the Control Testing at the end of the article). (It might be thought that the limiting factor is the speed of the drive. Raspberry Pi 4 Local USB 3 Read/Write tests. A large zip file ( 5.8 GB) was repeatedly copied to and from the drive, and the timings averaged. It was newly formatted with XFS (a file system commonly used in NAS applications). Local performance needs to be established in order that the later network tests are meaningful.Ī fast 128 GB memory stick was plugged into one of the Pi’s USB 3 ports. This test measures how fast the Pi 4 can read and write to a local USB 3 connected drive (a USB stick). Realistic testing exercises the full stack: file system, CPU, USB and networking. Real files were transmitted, rather than auto-generated block streams or “dd” images. That is to say, making the Pi do a realistic job and measuring the actual time taken. This article is about real world testing. Since the Pi 4 was launched, many sites have run the usual bench marking tools, and the results are widely available. Yes, the Pi 4 can push even a 1000 MB/s network to 100%. Sustained write speeds of over 68 MB/s were obtained, and over 105 MB/s for reading, including saturation of the Gigabit network. Is the Pi 4 the same, or can it operate as a serious NAS ? The Linkstation Live, the Sheevaplug and, to a lesser extent the Pi 3 are all on that category, unable to push their gigabit ports to more than about 14, 8 and 12 megabytes/sec respectively, due to the limitations of the CPU and the board. Over the years, many “home” devices have been launched with Gigabit Ethernet, promising lightning fast network speeds, only to disappoint due to their lack of overall grunt. It has 4 CPU cores like the Pi 2, a gigabit port like the Pi 3, plus USB 3, a better SoC, a separated bus architecture, faster memory and more of it. The spec is a big step up on previous models. When I read from this HDD, the Raspberry CPU stays at 8% and when I write, it goes to 32%.Īny ideas on what could by wrong ? Should it be something from the HDD or from the Raspberry Pi ? I would lean more towards the HDD, because this problem does not appear with the other HDD with the Seagate interface.The Raspberry Pi 4 was launched on 24th June and has been well received, to say the least. nothing works ! I can't get more than 36 MB/s read speed on WD Elements (when the write is 63 MB/s on the same drive). I tried to format them in NTFS and EXT4, I tried use sendfile = no in Samba config file, I disabled the file system journaling.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |