What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

slow writes to usb stick (rt-n56u)

mdixon

New Around Here
I know usb 2 writes are going to be slow but should they be significantly slower when plugged into the router? I'm using last released padavan fw but aren't sure if that's relevant for this since the problem might be something I'm doing.

have tried both a 16g sandisk cruzer and 32g pny. both were formatted mkfs.ext4 with journal disabled and no partitions (I tried ext2 too but it was worse wrt write performance). when it's plugged into my computer I use 'dd if=/dev/zero ...' to create a 2g file (cleared cache beforehand). with that I get an acceptable 7 - 10MB/s for writes. maybe that's not the best determinant but just seat-of-the-pants I can tell writes when plugged into the router are much much slower.

I plug into router, use smbnetfs to mount in a computer terminal and copying a 2g file to it the speed is no better than 3MB/s. I've tried various experiments over and over but in the end writing to it plugged into the router the transfer rate is always much poorer.

does this seem reasonable? or could it be using samba to write it when attached to the router adds its own overhead? other than ftp I'm not really sure how to access the router usb stick from a computer terminal so maybe I'm doing that part wrong too?

edit: why does that always happen, after poring over everything you can find you decide to post then not long after stumble on the answer :)

I think the smbnetfs mount option "-o big_writes" fixes my problem. once I added that I'm now getting at least 7MB/s rates when writing which is more than double what I get without the option.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top