Ubuntu :: USB Read / Write Speed Unbelievably Slow
Apr 14, 2011
I started a thread in the hardware section, but I've narrowed it down to being a software issue. The problem is that all USB devices are written to at about 1MB/s, and is read at equally slow speeds. After testing my computer on an older Ubuntu release (8.04 32bit), I verified it wasn't a hardware issue, because the read and write speeds were like they were supposed to be. Then, I downloaded the 32bit release of the Ubuntu version I'm currently using (an up-to-date version of Natty) and booted the live cd of it. It was equally slow there as well.
The read/write speeds are equally poor on openSUSE and Arch Linux, so I don't think that it's an issue with Ubuntu, as much as it seems like a kernel issue (or maybe not, you guys can correct me if it seems like it isn't ).
I am new to Centos and linux in general. I have just got myself a Dell 1950 server with 2x 1T SATA2 hard disks in it. now the server comes with a PERC5i Raid card with 512Mb. Well I put these in raid 0 and the raid card initilzed the disks to 128 writeback and read ahead. When I loaded centos it did not recognize the dell layout so therefore wanted to initalize it again, so I done this as it wanted. Now I created a 80gb boot and o/s partition and a 100gb swap the rest was created into LVM space to run solus vmwear. But I found the raid 0 to be getting extreamly slow read and write speeds.
Example same disks Desktop PC max 214mb/s windows vista 64 Server with centos 104mb/s
Now I am not sure but I am told that I need to align the o/s with the raid card settings but I have no idea how to do this. How to do this in plain easy step by step instructions. I mean how to calculate it, how to format the disk this way, and what files to edit where if needed. I have spent hours trying to figure out why my raid 0 is slower than a single disk.
I installed Opera 11 a couple of days ago and it is incredibly slow. After entering a url it just sits there with "Document 0%" in the location bar for thirty seconds to a minute, then renders relatively fast. I've gone back to both version 9.xx and 10.63 and they are both faster.
I am hoping someone can help me I setup a brand new ubuntu 11.04 64bit system with:-AMD Phoenom 840 (3.7GHz overclocked) 8GB DDR3 RAM.WD20EARS x 4madmin (RAID5) SetupFor some reason I cannot get the write speed above 15mb/s & I have tried modifying the cache_Stripe_size from 256 to 8192.My read speeds are great burst at 120mb/s & stable at about 60mb/s.The only other possiblility is it could be my HDs which I read causes slow writes not sure if thats true though. point me in the right direction so I can fix this issue as I don't want to move to the dark side (Windows) .
I have recently migrated my file server over to a HP Microserver. The server has two 1TB disks, in a software RAID-1 array, using MDADM. When I migrated simply moved the mirrored disks over, from the old server Ubuntu 9.10 (server) to the new one 10.04.1 (server).I Have recently noticed that write speed to the RAID array is *VERY* slow. In the order of 1-2MB/s order of magnitude (more info below). Now obviously this is not optimal performance to say the least. I have checked a few things, CPU utilisation is not abnormal (<5%) nor is memory / swap. When I took a disk out and rebuilt the array, with only one disk (tried both) performance was as to be expected (write speed >~70MB/s) The read speed seems to be unaffected however!
I'm tempted to think that there is something funny going on with the storage subsystem, as copying from the single disk to the array is slower than creating a file from /dev/zero to the array using DD..Either way I can't try the array in another computer right now, so I though I was ask to see if people have seen anything like this!At the moment I'm not sure if it is something strange to do with having simply chucked the mirrored array into the new server, perhaps a different version of MDADM? I'm wondering if it's worth backing up and starting from scratch! Anyhow this has really got me scratching my head, and its a bit of a pain! Any help here would be awesome, e-cookies at the ready! Cheers
I had a F14 samba server working flawlessly now for a quite time. Unexpectedly about a month ago the write speed slowed down around 64kbit/s and that's really slow. I haven't changed any configs, only updated the server. I've troubleshooted this from many angles: -It is not a network issue because sftp writes are good. -It is not a RAID1 issue because write speed from another directory (locally) are good. So basically samba is the only thing left.
Here's example from smb.conf: [MyShare] comment = My share path = /mnt/RAID_share writeable = yes browseable = yes writelist = +smbuser
Here's a snip from logs today: [2011/08/04 09:04:27.509273, 1] smbd/server.c:267(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2011/08/04 09:04:47.526336, 1] smbd/server.c:240(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown [2011/08/04 09:17:57.634660, 1] smbd/server.c:267(remove_child_pid) Scheduled cleanup of brl and lock database after unclean shutdown [2011/08/04 09:18:17.635196, 1] smbd/server.c:240(cleanup_timeout_fn) Cleaning up brl and lock database after unclean shutdown .....
I recently purchased an iRiver P7 media player which I am using with Rhythmbox under Ubuntu 9.04. The transfer speed when uploading files to the player is phenomenally slow - the first 50 or so MB reported virtually instantly then the speed immediately drops to about 12-15KB/sec yes KB/sec so a 3-400MB video file takes hours to transfer to the player. This happens with the internal memory and the added memory (SD card) too, althoufg it is faster ror the SD card. No other devices have ever behaved like this on this system (and I have used 2 different Creative players, a different iRiver player and numerous memory sticks). The computer is dual booting with windows (for once that was useful) and under windows it doesn't happen, the speed is as expected so it isn't the hardware. I don't want to have to resort to damned windoze just for this. dmesg after plugging in the player shows it identifying both the internal storage and the added SD card but I don't understand the rest of it:
This last message gets repeated lots of times, and during transfers it seems to be issued continuously and I suppose this is why the system is so slow because it is always retrying loads of times before a success.
I am running Lenny. USB storage devices are painfully slow, if the data to be copied is above 4GB it works on transferring for more than half an hour and then comes up with an error dialog(saying something like file size is too big). The problem exists in both read and write.
I did google a bit and here is the output of lsmod | grep hci ehci_hcd28428 0 uhci_hcd18672 0 usbcore118192 4 usb_storage,ehci_hcd,uhci_hcd
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
When writing to the drive the max speed I get is 5 megabytes per second. I Googled it and tried some other posted Fstab lines but all disabled my write access for some reason even without "RO" in the line. Can someone please give me some guidance as to how I get the normal Sata HD transfer speed which is more like 55-75 megs or more per second or so?
I am running Ubuntu 10.04 from a USB key (16GB). Overall I'm pretty fine with it but there are a few problems I am having. It seems to be very slow. In particular, Firefox and Pidgin freeze every now and then, before becoming active again. The same thing also happens for other applications such as Rhythmbox, Gedit, and the terminal. Additionally my start up and shut down times are horrible (worse than when I use Vista and Ubuntu 8.04). I was wondering if there is something with my install or if this is all due to the fact that I am running from a USB. I don't think it's the USB since I ran 8.04 from a USB HDD (55GB) and didn't have any problems with speed.
I have what seems to be a hard disk Write speed problems with my first hard drive. Timing the cp command of a 700 Meg file takes about 8 secs from disk 2 to 3 but takes 25 minutes from disk 2 to disk 1.
Here are the details: Kubuntu 9.04 (Kernel 2.6.28-15-generic) Hard Disk 1 : /dev/sda (WDC WD2500KS-00MJB0) Partitioned /dev/sda1 ext3 / 10 Gigs /dev/sda2 extended 222 Gigs /dev/sda5 linux-swap 2 Gigs /dev/sda6 ext /home 220 Gigs
Hard Disk 2 : /dev/sdb (WDC WD2500AAKS-00F0A0) Partitioned : /dev/sdb1 ntfs 16 gigs /dev/sdb2 xfs /home/eric/data_drive 216 Gigs Hard Disk 2 : /dev/sdc (ST3500320AS) Partitioned: /dev/sdc1 xfs /home/eric/data_drive2 465 Gigs
By doing 'time cp ...sdb1/test.avi ...sdc1' takes about 8 seconds and same vice-versa. the command 'time cp ...sdb1/test.avi ...sdb1/test1.avi takes about 11 seconds and the same holds true if sdc1 is used But copy sdb1 or sdc1/test.avi to either sda1 or sda6 and it takes 25 minutes. Same problem if I copy from the same drive partition (sda). I have booted a livecd Knoppix 6.2 and the same problems happens.. So safe to say it's not Kubuntu. The only thing that is left to do is backup and reformat the partitions as XFS and try again. I also did a full smartcontrol Extended test and no errors. Checked all the various logs and nothing found.
Does anyone know why the write speed of usb flash would be so slow? I'm running ubuntu off my flash drive but it is running really slow. I've tested the read speed which was about 33 meg a sec. But the write speed is only about 7 meg a sec. When running ubuntu it is very slow, not tolerable at all. I've read on some sites that there is a way to fix this but I'm not finding any good tutorials on making the write speed quicker.
I have been trying out Ubuntu One for the past couple of days but find it to be incredibly slow. At first i had put a folder will a large amount of images in the ubuntu one folder. The total size of it was 35Mb, after over 26 hours only 11,5Mb of that had been uploaded.
After looking around some on these forums i saw several comments about it being slow when it is a large amount of files, no matter if the filesize is small or large. I decided to try it out with a larger single file. I erased everything that was in the previous share and then put my testfile of 350Mb in the Ubuntu One folder.
After two hours of waiting i could still not see it on the U1 website so i decided to see how long it would take with dropbox and put a copy of that file in my dropbox folder as well. The file was uploaded correctly to dropbox in just a couple of minutes but it has still not been uploaded to the U1 website even though it has been 4-5 hours since i first put it in my U1 folder.
When using launchpad and the ubuntu daily build website it is very slow. I get 1.2mb/s normally and the speed drops quickly to 0kb/s This is the case from any version of ubuntu that is installed on my laptop.In windows it is no problem, equally there is no problem from a live cd or an install on my external hard disk. Is canonical blacklisting/slow listing my ip?
I am behind a university network but am sure this problem occurs at home .I did a clean install and had no problem until about an hour ago. When I tried to re download a project using bzr my speed instantly ropped.I had downloaded it fine a couple of hours ago. I hope that someone can shine some light on this, its very hard to work on projects if I can't download them.
I have very suboptimal Internet speed in Wifi with Ubuntu. Normally in WIndows 7 I get download speeds up to 800 KB/s and a very fast Wifi experience, but in Ubuntu I get 100KB/s maximum and web page load speed is very extremely slow. Also, pinging to AP often gives very high response times and a lot of lost packages while in Windows they are very low and none packages are lost. I have a Netgear wg111v3 which worked out of box when I installed Ubuntu but always with this problem. It is updated and I've reinstalled Ubuntu many times..
Also I forgot to say that in Ubuntu the connection goes down very often and sometimes will not connect again until I reboot. Again in Windows never happened that. Motherboard: GA-MA74GM-S2H CPU: AMD Athlon 64X2 dual core 2 GB RAM Ubuntu 10.10 64 bit Wireless adapter Netgear wg111v3 USB .....
I have just formated and did a fresh install to start all over. I installed Ubuntu 9.1 and everything went fine but the network. The computer serve as a NAS and MediaPlayer. When getting a file from the server, I get a speed of 40-60mb/sec, which are good for a Gigabit network. When I try to put a file in, the speed can't pass more than 1mb/sec and often stop.
I've been using Ubuntu 8.04 for about a year and the wireless has been fine but now it's gone screwy and I can't figure out why. This has happened on my laptop and wife's who uses Ubuntu Hardy also. The speed drops to almost 0 mb/s whenever the signal strength is less than 95%.
It isn't the internet connection as vista (I dual boot) works fine below 95% signal strength. To get the internet speed to be at a level that can load an internet page, I have to within 3 feet of the router!! Both of the laptops don't use ndiswrapper, the internet connected straight away from a fresh install.
I'm experiencing slow speed transfer between two wireless connected laptops running ubuntu 9.10. Using SSH to tranfer files between these two laptops, which connect to the internet via a wirelesss router, with good speed. This is why I'm surprised by this low speed : 52.3 KB/s, averaging 3 hours and 31 minutes for a 700 Mb movie. Is there any way to make this faster ?