USB 3.0 SLOW READ RATE

Post here if you are a new Porteus member and you're looking for some help.
linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

USB 3.0 SLOW READ RATE

Post#1 by linuxtothebone » 17 Dec 2014, 06:22

Hi there,

the usb 3.0 read rate is around 12mbps but when I copy something to the external drive its super fast as usb 3.0 claims to be. the HDD is an Western digital 1TB

Thanks

User avatar
fanthom
Site Admin
Site Admin
Posts: 4588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: USB 3.0 SLOW READ RATE

Post#2 by fanthom » 17 Dec 2014, 10:04

please boot any other linux and do a comparison.
i'm sure that Porteus is not slower unless something regressed in the very last kernel.
Please add [Solved] to your thread title if the solution was found.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#3 by linuxtothebone » 17 Dec 2014, 11:05

Hi there,

I have this problem with Linux Mint also and never got a clear understanding as to why the difference between the read and write speeds.
Its no worse in porteus but I wondered if there was something missing that I didnt know about. Do you think it is just a kernel issue that is linux wide? I did wonder if it was something to do with my hardware but if it is soley software based thats cool because itll be sorted out eventually.
Just really took me by surprise that there was such an issue.

Thanks

User avatar
fanthom
Site Admin
Site Admin
Posts: 4588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: USB 3.0 SLOW READ RATE

Post#4 by fanthom » 17 Dec 2014, 12:58

ahhh... sorry - i have just reread your email.

12MBs (or whatever rate it is) is a correct reading speed from this stick. writing speed seems to be faster but it's not as data are just buffered in RAM and dumped slowly on your stick later.

if you want to measure real write speed then do:

Code: Select all

time cp -a something /mnt/sdXY && sync
Please add [Solved] to your thread title if the solution was found.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#5 by linuxtothebone » 19 Dec 2014, 09:52

Im not sure I have been clear...

What the problem is is that when I copy from my external HDD it is awesome USB 3 speed but when I copy to the external HDD it is really really slow in comparison.

I had the same issue with linux mint and its no different in porteus, so I wondered if it was something to do with the Linux kernel and was common to all Linux systems that has not been solved by the programmers?

It would be great if I could get clarity on this so I understand what or why this is happening

Thanks very much for your help

beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USB 3.0 SLOW READ RATE

Post#6 by beny » 19 Dec 2014, 15:43

hi, only if you have the same bus,you can have the best performance in write and read option so if the hdd have the usb2 and key usb3 the max speed rate is for the slowest device usb2 i think,and if you have a motherboard that have usb3 bus ask to fanthom if kernel have the modules to manage usb3 chipset.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#7 by linuxtothebone » 20 Dec 2014, 10:52

I think I understand my HDD is USB 3, it is also USB 2 compatable but it should operate with USB 3 (if it is available on the pc) in both the read and write modes. My computer has USB 3. So I dont know why it is not working on both modes unless maybe there is something missing in the linux kernel

Thanks for your help

beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USB 3.0 SLOW READ RATE

Post#8 by beny » 20 Dec 2014, 15:58

this is the kernel object for the usb3 device: kernel/drivers/usb/host/xhci-hcd.ko,take a look if exist into the kernel, but i think fanthom have build it inside or like a module if is like a module you have to load it.

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#9 by linuxtothebone » 21 Dec 2014, 01:37

I think the kernel is there because it reads from the external usb HDD at usb 3 speeds but it wont copy to it at usb3 speeds and that is what I dont understand. am I the only person this happens to or have others had the same experience

beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USB 3.0 SLOW READ RATE

Post#10 by beny » 21 Dec 2014, 10:40

hi please see if in /var/log/ dmesg you have something wrong about usb3 device i have see and into porteus kernel the usb3 support is built in.lsusb and lspci give you a report of device in your pc try this in konsole

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#11 by linuxtothebone » 21 Dec 2014, 11:04

thanks so much for your help,

I have looked in /var/log/ dmesg but have no idea what to look for there is so much information that I do not know what it means.

Here is the output of lsusb and it shows the device as connected or mounted, it is on the first line the one that says western digital

guest@porteus:~$ lsusb
Bus 001 Device 004: ID 1058:1048 Western Digital Technologies, Inc. Elements Portable (WDBU6Y)
Bus 003 Device 002: ID 2087:0a01 Cando Multi Touch Panel
Bus 004 Device 002: ID 0e8f:0016 GreenAsia Inc. 4 port USB 1.1 hub UH-174
Bus 006 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth

beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USB 3.0 SLOW READ RATE

Post#12 by beny » 21 Dec 2014, 12:21

hi maybe i can be wrong but seem you have the hard disk not into an usb3 socket and the cruzerfit is plugged into an usb2 socket ,Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub,
Bus 001 Device 004: ID 1058:1048 Western Digital Technologies, Inc. Elements Portable (WDBU6Y)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
you have to use bus 007 usb i think and no device are connected to this bus, you know which are the usb3 port?

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#13 by linuxtothebone » 25 Dec 2014, 08:48

I was using the port that I thought was usb 3.0 ( the one with a blue tab inside it when you look at it) I have now changed to the one you reccomended and there has been no difference it is still usb 2 speed at best.

In the original configuration I had good usb 3 speed but only when copying from it when I would copy to it the speed was usb 2 and I think if I was in the incorrect port then there would be only usb 2 speeds available in both read and write modes

I dont ususally put the porteus system in the usb 3 port

guest@porteus:~$ lsusb
Bus 001 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 007: ID 1058:1048 Western Digital Technologies, Inc. Elements Portable (WDBU6Y)
Bus 003 Device 003: ID 13d3:3286 IMC Networks
Bus 003 Device 002: ID 2087:0a01 Cando Multi Touch Panel
Bus 006 Device 002: ID 0e8f:0016 GreenAsia Inc. 4 port USB 1.1 hub UH-174
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth

linuxtothebone
Black ninja
Black ninja
Posts: 36
Joined: 17 Dec 2014, 00:25
Distribution: mint, porteus
Location: newzealand

Re: USB 3.0 SLOW READ RATE

Post#14 by linuxtothebone » 30 Dec 2014, 10:21

Hi Beny,

Any Ideas about what is happening and does anyone else have the same issue?

beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: USB 3.0 SLOW READ RATE

Post#15 by beny » 30 Dec 2014, 10:33

hi dmesg tell you more of real time device state,but you have this empty so no device plugged in:Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub,i do not have usb 3 in my computer but i have an usb key usb3 that run in usb2 mode with a good speed in R/W

Post Reply