Re: ntfs3 slow than ntfs-3g

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



700MB/S is USB Mass Storage device speed, 1GB/S is usb uas speed,
may be ntfs3 not support uas.

2022-04-30 1:03 GMT+08:00, youling 257 <youling257@xxxxxxxxx>:
> [ 3193.462354] usb 4-1: new SuperSpeed Plus Gen 2x2 USB device number
> 3 using xhci_hcd
>                                                        [ 3193.501223]
> scsi host9: uas
> [ 3194.397127] scsi 9:0:0:0: Direct-Access     ASMT     ASM236X NVME
>   0    PQ: 0 ANSI: 6
>                                                       [ 3194.537445]
> sd 9:0:0:0: Attached scsi generic sg0 type 0
> [ 3194.537841] sd 9:0:0:0: [sda] 500118192 512-byte logical blocks:
> (256 GB/238 GiB)
>                                                          [
> 3194.537913] sd 9:0:0:0: [sda] Write Protect is off
> [ 3194.537916] sd 9:0:0:0: [sda] Mode Sense: 43 00 00 00
>
>                                                       [ 3194.538036]
> sd 9:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> [ 3194.538565] sd 9:0:0:0: [sda] Optimal transfer size 2097152 bytes
>
>                                                       [ 3194.563302]
> sda: sda1 sda2 sda3
> [ 3194.564255] sd 9:0:0:0: [sda] Attached SCSI disk
>
> in my test, ntfs3 slow than ntfs-3g.
>
> ntfs-3g /dev/block/sda3 /1
>
> /dev/block/sda3 on /1 type fuseblk
> (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
> root@localhost:~# cd /1
> root@localhost:/1# time dd if=/dev/zero of=testw.dbf bs=1M count=1000
> oflag=direct status=progress
> 1018167296字节(1.0 GB,971 MiB)已复制,1 s,1.0 GB/s
> 记录了1000+0 的读入
> 记录了1000+0 的写出
> 1048576000字节(1.0 GB,1000 MiB)已复制,1.03421 s,1.0 GB/s
>
>
>
> mount -t ntfs3 /dev/block/sda3 /1
>
> /dev/block/sda3 on /1 type ntfs3 (rw,relatime,uid=0,gid=0,iocharset=utf8)
> root@localhost:/# cd /1
> root@localhost:/1# time dd if=/dev/zero of=testw.dbf bs=1M count=1000
> oflag=direct status=progress
> 707788800字节(708 MB,675 MiB)已复制,1 s,707 MB/s
> 记录了1000+0 的读入
> 记录了1000+0 的写出
> 1048576000字节(1.0 GB,1000 MiB)已复制,1.50322 s,698 MB/s
>





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux