Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刷机后usb硬盘柜的写入速度明显变慢 #195

Open
hyUrbanManager opened this issue Mar 30, 2024 · 5 comments
Open

刷机后usb硬盘柜的写入速度明显变慢 #195

hyUrbanManager opened this issue Mar 30, 2024 · 5 comments

Comments

@hyUrbanManager
Copy link

问题:刷机前玩客云原版系统,smb写入速度是25-35MB。同样的硬件,刷机后smb写入速度只有12-15MB。

硬件:玩客云1.0的板卡
固件版本:Armbian_23.02.0-trunk_Onecloud_bullseye_edge_6.1.9_minimal.burn.img

电脑连接千兆WiFi,玩客云插网线。smb写入文件速度慢截图:
屏幕截图 2024-03-30 234149

ethtool工具显示网速千兆,iperf测试电脑发,玩客云收,速度为300Mbit/s。
使用dd命令测试发现瓶颈在usb硬盘柜的写入。
dd if=/dev/zero of=testfile bs=10M count=10
写入速度只有15MB。
屏幕截图 2024-03-30 233908

dd if=file of=/dev/null
读取速度有30MB。
屏幕截图 2024-03-30 233851

usb硬盘柜本身没有问题,插电脑读写速度是有100MB+的。

刷机前玩客云原版系统,smb写入速度是25-35MB。同样的硬件,刷机后smb写入速度只有12-15MB。
请问这可能是什么原因?

@ruohai
Copy link

ruohai commented Mar 30, 2024

😄,我有差不多的问题,也是通过usb接口拖一个硬盘柜,写入速度只有15MB/s左右,但我是用mdadm实现了软raid组raid5,所以一直以为写入速度减半是玩客云算力不足。

之前用一个usb硬盘盒子拖一个2.5寸hdd的时候写入速度大概是25MB/s。

@hyUrbanManager
Copy link
Author

补充usb设备详情:

root@onecloud:~# lsusb -tv
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        ID 174c:1152 ASMedia Technology Inc.

@hyUrbanManager
Copy link
Author

使用 Armbian-unofficial_24.5.0-trunk_Onecloud_bookworm_current_6.6.21.burn 最新固件依然如此

@hzyitc
Copy link
Owner

hzyitc commented Apr 5, 2024

试一下5.10和5.15看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants