NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ScottChapman
Dec 07, 2014Apprentice
Write performance on EXT3/EXT4 is REALLY SLOW!
So, thought this was just an issue with EXT4, but reformatted to EXT3 and am still getting ridiculously slow write performance.
Any ideas on how to make it more reasonable? I see that barrier=1 is in mtab.
Any ideas on how to make it more reasonable? I see that barrier=1 is in mtab.
21 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredWhat write speeds are you getting?
How are you writing to the USB disk? From your PC? - ScottChapmanApprenticeI am doing an RSYNC backup on the NAS and seeing about 4MB/sec. Should be getting about 10x that. So disk-to-disk on the NAS.
ESATA not USB.
I was running NTFS for a while (before frontpanel formatting was available) and was getting about 40MB/sec.
'm guessing it is combo of journaling, barrier=1 and data=ordered. I think some of this can be tweaked with tunefs but other parts are managed by setup_usb_storage (from what I can tell)
Any advice? - mdgm-ntgrNETGEAR Employee RetiredRsync is CPU intensive.
The use of Rsync explains the performance. Rsync is great for incremental backups (especially over the internet) as it only has to copy the changes to files across. - ScottChapmanApprenticeI think it is more than that, like I said I was getting around 40MB/sec when I was running the same backup command to the same drive formatted with NTFS
- ScottChapmanApprentice... and I am seeing worse performance when I am using tar to copy the files.
- ScottChapmanApprenticeOut of curiosity what's the commands to format as either NTFS or EXT4 from the command-line? I am getting somewhat flaky results using the frontend to format. Want to try going back to NTFS just to confirm above.
- mdgm-ntgrNETGEAR Employee RetiredThere are commands such as mkfs.ntfs, mkfs.ext4 etc.
- ScottChapmanApprenticeOK, thanks. I tried formatting to NTFS in frontpanel, frontpanel shows it is formatted NTFS, but device isn't mounted (/media is empty). I tried rebooting but it still didn't mount (and still shows as formatted NTFS)
What would the command look like to format exactly? And once formatted how would it get mounted? Or would I just restart after formatting and let the system recognize it? - ScottChapmanApprenticeAnd I do see "External storage device is connected but the filesystem is not recognized" as most recent entry in log.
But like I said, it shows as NTFS in the front panel.root@Storage:~# sgdisk -p /dev/sdg
Disk /dev/sdg: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0402E486-EC37-4D7F-B4C6-7A5BEAF28BE6
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2925 sectors (1.4 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 5860532223 2.7 TiB 0700 Basic data partition - mdgm-ntgrNETGEAR Employee RetiredNot sure what options we use, but you can do
# mkfs.ntfs --help
to see options you can use
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!