Opened 10 years ago

Closed 3 years ago

Last modified 3 years ago

#11016 closed bug (fixed)

Significant NTFS write performance differences USB2/eSATA

Reported by: cian Owned by: 3dEyes
Priority: low Milestone: R1/beta4
Component: File Systems/NTFS Version: R1/Development
Keywords: Cc: ttcoder
Blocked By: Blocking:
Platform: All

Description

I have a Targa MediaBox 320GB external HDD from a fair few years ago at this stage which I have an NTFS and BFS partition on.

Over USB, the BFS partition writes at an acceptable speed. NTFS however writes extremely slowly, as in sub-50KB/sec. This was checked on two computers (both running different post-PM revisions)

The same drive also has an eSATA connector, over which writes are significantly faster to NTFS - 4MB/sec or so. No major difference is seen in BFS writes.

Change History (7)

comment:1 by cocobean, 6 years ago

Verified. NTFS write speed averages around 150KiB/s on USB 3.0 drive from a USB 2.0 port.

comment:2 by waddlesplash, 6 years ago

Component: Drivers/USBFile Systems/NTFS
Owner: changed from mmlr to 3dEyes

If BFS speeds are fine, then it's not a USB problem, but a NTFS problem.

comment:3 by ttcoder, 6 years ago

Cc: ttcoder added

FWIW, I've observed that ntfs will copy files at 100 KiB/s or less on a 'big' partition (200+ GiB) but will copy at multi-MiB/s speed on a small 10 GiB partition. So I use a small partition as an interim step for Haiku/Windows file sharing, and then reboot into Windows to finally move the files to the big partition.

comment:4 by waddlesplash, 3 years ago

Please check to see how much of an improvement there is in hrev55628.

comment:5 by cocobean, 3 years ago

Tested on hrev55555 x64 (512MB file from BFS->NTFS):

NTFS write speed averages around 1.5MiB/s on USB 3.0 drive from a USB 2.0 port.

No crash.

Tested on hrev55628 x64 (512MB file from BFS->NTFS):

NTFS write speed averages around 44-96MiB/s on USB 3.0 drive from a USB 2.0 port.

No crash.

comment:6 by waddlesplash, 3 years ago

Milestone: R1R1/beta4
Resolution: fixed
Status: newclosed

comment:7 by humdinger, 3 years ago

It's still very slow for me on hrev55638, 64bit. Copying the Beam sources (~160 MiB) to a 700 MiB BFS partition compared to a 18 GiB NTFS partition,both on a USB3 stick:

/Source> time cp -r Beam /BFS
real    0m4,860s
user    0m0,048s
sys     0m0,532s

/Source> time cp -r Beam /NTFS
real    0m57,006s
user    0m0,084s
sys     0m1,235s

(I did copy it once before to the BFS partition and deleted again, to potentially fill the file cache.)

Note: See TracTickets for help on using tickets.