Tar on usb device

Hi,

i am developing an application on an ARM 7 architatcure with a small Linux.

i want to run tar on a usb device (~10 Mb) but it runs realy slow. the command only takes 1% of cpu usage.

is there a way to improve the tar command or is the USB-Connection the bottleneck here?

There isn't really enough information to make an informed guess here.

What USB device?

Which small Linux?

How many files are being archived and how big are they?

Are the file(s) being archived and the archive being created/updated both on the same USB device? If not where is(are) the file(s) being archived located and where is the archive located?

What exact tar command are you using?

Everything that Don asked plus:

Do you know what USB standard the ARM 7 hardware and the USB stick is? USB 1, 2 or 3?

From what you describe CPU at 1% utilisation, it sounds like it could be waiting I/O. If either is USB 1 then that could be the problem.

Try creating the tar file on the hard drive, then copy the tar file to the usb device. And maybe add a compression option to the tar command.

-(4GB)Stick, NTFS.
-Ist a Linux based proprietary
-Just one file (10MB) compressed to 5MB tar. Same with another tarball ~1000 files 230 MB compressed

Yes

should be USB2.0

ist embedded and i only have a Flash drive. If nothing works, i think i need to copy the tarball to Flash, unpack there and copy back again