Slow write speed on /media/fat (ok on /, read ok, with any SD), network speed slower, erratic WiFi
Posted: Sat Aug 20, 2022 4:42 pm
Hi,
I received my MiSter BlisSTer Edition from UltimateMister this week, and I've a weird issue. The write speed on /media/fat or any FAT/exFAT partition is very limited, no mater the writing method (cp, wget, FTP, SFTP...), and on top of that, the FTP/SFTP speed seems to have an hard limit of 1.5MB/s independently of the write speed.
I've tried with 3 SD cards, the 8GB provided by UM, a Sandisk 512GB with Mr Fusion image installed, containing all the roms/isos, with arround 180GB of free space, and a Sandisk 32GB, tried both fresh standard installer and Mr Fusion one with this card. Of course I get normal write speed with any of these cards on my PC.
I've tried with the DE10-nano PSU and with a 4A one, and everything else works well, including the PS1 core.
CPU load remains low for all tests.
If I copy a file from the PC to the MiSTer through FTP or SFTP, TLS or not, wired or WiFI, it's limited to 1.5MB/s, even if I copy in /root instead of /media/fat
If I copy a file from the MiSTer to the PC, I get a normal transfer speed
If I wget http://test-debit.free.fr/image.iso in /media/fat, I get from 1.5 to 2MB/s with the 8GB and the 512GB SD cards, almost 3MB/s with the 32GB one
If I wget http://test-debit.free.fr/image.iso in /root, I saturate my internet connection (5+MB/s)
If I copy a file from /root to /media/fat (or /media/fat to /media/fat), I get arround 5-7MB/s (10 on the 32GB card)
If I copy a file from /media/fat to /root, I get a normal write speed
I obtain the same results with the SD card on an USB adapter, with the same variation in speed between the 32GB and the 2 others.
I also tried with an old 2GB USB stick, got a write speed of 800KB/s on FAT, 5.5MB/s on exFAT with 1MB clusters and 4MB/s on exFAT with 4KB clusters.
This double limitation is weird, the fact it affects only the FAT/exFAT partition is weird, the speed variation depending on the method used to write the data and the SD card used is weird... It seems there is 2 issues, the write speed on FAT/exFAT partitions, and the transfer speed through FTP limited to 1.5MB/s independently of the write speed limitation.
I looks like the CPU or something is bottlenecking, but the CPU load remains low.
I'm a bit lost and didn't find any similar complain, any idea?
I hardly see how it could be anything other than a defective NE10-nano, at least for the write speed limitation, considering the issue is there with any SD card using the most basic setup which work for anyone else, but I don't want to jump to conclusions.
Additionally, I've also a WiFi issue, maybe related to the same bottleneck. The green DriveFree dongle I use, supposed to work well with the MiSTer, works perfectly on my PC, but the connection is very erratic on the MiSter (dongle placed at the same position in the room than when testing on PC), it works normally during 10-20 secs, then not a single byte goes through during 10-20 secs, the connection is still alive (wget or fillezilla just freezes, waiting for bytes to go through again), then it comes back to normal for 10-20 secs, and so on...
Thanks
I received my MiSter BlisSTer Edition from UltimateMister this week, and I've a weird issue. The write speed on /media/fat or any FAT/exFAT partition is very limited, no mater the writing method (cp, wget, FTP, SFTP...), and on top of that, the FTP/SFTP speed seems to have an hard limit of 1.5MB/s independently of the write speed.
I've tried with 3 SD cards, the 8GB provided by UM, a Sandisk 512GB with Mr Fusion image installed, containing all the roms/isos, with arround 180GB of free space, and a Sandisk 32GB, tried both fresh standard installer and Mr Fusion one with this card. Of course I get normal write speed with any of these cards on my PC.
I've tried with the DE10-nano PSU and with a 4A one, and everything else works well, including the PS1 core.
CPU load remains low for all tests.
If I copy a file from the PC to the MiSTer through FTP or SFTP, TLS or not, wired or WiFI, it's limited to 1.5MB/s, even if I copy in /root instead of /media/fat
If I copy a file from the MiSTer to the PC, I get a normal transfer speed
If I wget http://test-debit.free.fr/image.iso in /media/fat, I get from 1.5 to 2MB/s with the 8GB and the 512GB SD cards, almost 3MB/s with the 32GB one
If I wget http://test-debit.free.fr/image.iso in /root, I saturate my internet connection (5+MB/s)
If I copy a file from /root to /media/fat (or /media/fat to /media/fat), I get arround 5-7MB/s (10 on the 32GB card)
If I copy a file from /media/fat to /root, I get a normal write speed
I obtain the same results with the SD card on an USB adapter, with the same variation in speed between the 32GB and the 2 others.
I also tried with an old 2GB USB stick, got a write speed of 800KB/s on FAT, 5.5MB/s on exFAT with 1MB clusters and 4MB/s on exFAT with 4KB clusters.
This double limitation is weird, the fact it affects only the FAT/exFAT partition is weird, the speed variation depending on the method used to write the data and the SD card used is weird... It seems there is 2 issues, the write speed on FAT/exFAT partitions, and the transfer speed through FTP limited to 1.5MB/s independently of the write speed limitation.
I looks like the CPU or something is bottlenecking, but the CPU load remains low.
I'm a bit lost and didn't find any similar complain, any idea?
I hardly see how it could be anything other than a defective NE10-nano, at least for the write speed limitation, considering the issue is there with any SD card using the most basic setup which work for anyone else, but I don't want to jump to conclusions.
Additionally, I've also a WiFi issue, maybe related to the same bottleneck. The green DriveFree dongle I use, supposed to work well with the MiSTer, works perfectly on my PC, but the connection is very erratic on the MiSter (dongle placed at the same position in the room than when testing on PC), it works normally during 10-20 secs, then not a single byte goes through during 10-20 secs, the connection is still alive (wget or fillezilla just freezes, waiting for bytes to go through again), then it comes back to normal for 10-20 secs, and so on...
Thanks