You are not logged in.

#1 2011-09-24 17:18:35

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

usb transfer rate decay drastically

hi to everybody,

i have a problem:

when i transfer to an usb, transfer rate decay drastically
tested with USB flash and microSD card with its adaptor; with Mac OS i reach the maximum, for example 10MB/s, and the transfer rate remains constant; if i use arch, it reach the maximum but after some time decay to 2 MB/s.....

is normal ??? anybody have this issue ???


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2011-09-24 18:13:33

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: usb transfer rate decay drastically

It's common and an aggravation to many people.  These are some of the threads:

https://bbs.archlinux.org/viewtopic.php?id=76553
https://bbs.archlinux.org/viewtopic.php?id=112846
https://bbs.archlinux.org/viewtopic.php?id=124856

To satisfy my curiosity, does this happen when the total size of the files to be transferred is greater than your available RAM, or is it not connected to the size of the files?

Offline

#3 2011-09-24 19:37:37

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: usb transfer rate decay drastically

first thanks

in my case, is connected only to the files' size and not related with RAM available

question: is a linux only problem ??? or only archlinux ???


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#4 2011-09-24 20:03:47

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: usb transfer rate decay drastically

Have you tried swapoff?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-09-24 21:17:36

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: usb transfer rate decay drastically

do you mean to swapoff my swap then start the transfer ???


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2011-09-24 21:19:04

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: usb transfer rate decay drastically

Yes....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2011-09-25 03:12:10

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: usb transfer rate decay drastically

This is a Linux problem.  It is not just Archlinux.

Offline

#8 2011-09-25 08:31:14

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: usb transfer rate decay drastically

this is very sad ....

and with swapoff, nothing change..... infact when i transfer to USB i don't hear my HDD whisk

EDIT: this issue doesn't appear on every USB device, infact with my external HDD, through USB, i reach 30 MB/s and the best thing, it is costant;  so the problem, at least in my case, regard only USB flash (flash memory, phone internal memory, sd card .....)

Last edited by nTia89 (2011-09-25 08:34:23)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#9 2011-09-25 15:45:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: usb transfer rate decay drastically

Much has been posted in many distros concerning the USB  flash problem.

A tutorial regarding the design of Flash devices reveals the basic problem with Flash in general.

It is designed to perform in u know what..windows.  The design sets up Flash in FAT32 and lo and behold it runs best in windows!

Trying to get the industry to design specially for Linux is like trying to get a donkey to move.

There seems to be workarounds for various applied "imbedded" flash for elements of the Linux system such as usr and etc wherein reads and writes are minimal.

Cheaper Flash devices vary widely in performance due to algorithms provided or not.

Flashbench and bonnie++ are programs which provide analysis of Flash devices to determine performance of the devices under various modes.  Many of the devices thusly analyzed are listed on the internet for users to examine...Linaro seems to be the main activity for such reports.

One recommend for Linux is to use ext4 and have at least 8GB of memory available..therefore 64bit.  There probably are reasons for not going that route for some (including the cost).

Raid is also recommended.

The picture is indeed clouded and has been for years.

Perhaps a way to use FAT in Linux will come along but don't hold your breath!

Last edited by lilsirecho (2011-09-25 15:46:23)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2011-09-25 16:31:13

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: usb transfer rate decay drastically

now is uglier ....


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

Board footer

Powered by FluxBB