remlei Posted August 2 Posted August 2 On 7/31/2025 at 8:40 AM, lebestnoob said: I've started using an MXQ-4K box as a file server, but writing files over the network is slow, with speeds in the 3-5 MB/s range. Reads cap out at the fast ethernet link speed (~11 MB/s). I don't believe there's a CPU, disc, or RAM bottleneck as the speeds are the same regardless of file size or transfer protocol as SMB, FTP, and WebDAV all give me the same speeds, and checking in htop, they are never at 100%. These speeds are also observed when downloading a file from another device on the local network using wget or aria2 while sshed into it, with faster speeds on other devices. As far as I can tell, iostat doesn't suggest high io wait times are the culprit. If it matters, I'm writing to an external USB HDD, but the write speeds are the same when writing to the SD card through the network, which makes me believe this is not an issue. If I write a ~1.0GB file using dd to the HDD while sshed into it with `dd if=/dev/random of=/mnt/disk/tmp.bin bs=64k count=16500 conv=fdatasync`, it gives a local disk speed of ~20 MB/s, which is more than enough to saturate the 100 mbps link. Has anyone else experienced similar results? Are the slow network speeds just a limitation of the onboard nic/hardware? I'm open to suggestions. what filesystem your drive using? usually if its WIndows Filesystem, that's where you get some performance penalty and NTFS is the one being the worst of all. Last time I tried using a ext4 formatted usb3 flash drive and was able to read/write to drive at 11MB/sec over wired LAN, no tweaks on samba server were done other than setting up some shares. 0 Quote
lebestnoob Posted August 3 Posted August 3 On 8/1/2025 at 5:22 PM, remlei said: what filesystem your drive using? usually if its WIndows Filesystem, that's where you get some performance penalty and NTFS is the one being the worst of all. Last time I tried using a ext4 formatted usb3 flash drive and was able to read/write to drive at 11MB/sec over wired LAN, no tweaks on samba server were done other than setting up some shares. I'm using an ext4 formatted 1TB drive, connected with a usb 3.0 ASMedia SATA controller. The drive reads and writes faster on other machines connected with the same adapter, so I'm confident it's not the hard drive or adapter. I also tried using BTRFS on the drive and it provides similar results. Now that I'm thinking about it, could it be the uas driver? I'll have to experiment with that. 0 Quote
RaptorSDS Posted August 3 Posted August 3 this device has only usb2.0 , also when usb3.0 connector only usb2.0 pinout . also lan is most only 100mbit still with 1gbit label , the interface by chip only 100mbit so 11MB/s are in spec 0 Quote
remlei Posted August 4 Posted August 4 (edited) 6 hours ago, lebestnoob said: I'm using an ext4 formatted 1TB drive, connected with a usb 3.0 ASMedia SATA controller. The drive reads and writes faster on other machines connected with the same adapter, so I'm confident it's not the hard drive or adapter. I also tried using BTRFS on the drive and it provides similar results. Now that I'm thinking about it, could it be the uas driver? I'll have to experiment with that. its probably just your client side OS. try using the "use sendfile = yes" option on your smb.conf and see if theres performance improvement. else, try using the legacy image (if your board is old enough to support it) as that one im using. Edited August 4 by remlei 0 Quote
BernardoT Posted Tuesday at 05:55 PM Posted Tuesday at 05:55 PM (edited) Hello, I really messed up, flashed on eMMC a rk3399 armbian image on my rk322x and now the LED is just blue with a hint of red, tried to short the eMMC 7-8th pins/reset button+usb but nothing. The device doesn't boot form sd card either, neither multitool nor any flashed image, just stuck on blue LED. I really don't know what to do. Edited Tuesday at 08:09 PM by BernardoT 0 Quote
RaptorSDS Posted Tuesday at 07:44 PM Posted Tuesday at 07:44 PM vor 1 Stunde schrieb BernardoT: flashed on eMMC a rk3399 armbian that because this is the wrong thread , here we are at Rk322x ,also our multitool are the wrong one , maybe multitool for rk33xx helps 0 Quote
BernardoT Posted Tuesday at 08:10 PM Posted Tuesday at 08:10 PM 25 minutes ago, RaptorSDS said: that because this is the wrong thread , here we are at Rk322x ,also our multitool are the wrong one , maybe multitool for rk33xx helps Edited my post for clarification, I've flashed a 3399 image on my 322x 0 Quote
jock Posted Wednesday at 12:46 PM Author Posted Wednesday at 12:46 PM Hello 18 hours ago, BernardoT said: Hello, I really messed up, flashed on eMMC a rk3399 armbian image on my rk322x and now the LED is just blue with a hint of red, tried to short the eMMC 7-8th pins/reset button+usb but nothing. Then you're doing it wrong. Bypassing the eMMC shorting the CLK pin to ground will definitely force the boot from sdcard, or fall into maskrom mode if no sdcard is in the slot. I wonder what debug info is prompted on the serial port (if any) and if the device is recognize if you connect the OTG USB port to a PC with a male-to-male cable 0 Quote
BernardoT Posted Wednesday at 12:54 PM Posted Wednesday at 12:54 PM (edited) 19 minutes ago, jock said: Then you're doing it wrong I've made it! I hard to press really hard on the pins to make it work. Thank you. Edited Wednesday at 01:06 PM by BernardoT 0 Quote
Recommended Posts
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.