LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-30-2013, 09:30 AM   #1
alexgayer85
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Rep: Reputation: Disabled
Slow USB 3.0 HD writes in Linux Mint 15


Hello all,
Just set up my file server at home with Linux Mint 15 64-bit. Everything was running smoothly. Since I still have some family members running Windows, I decided to set up Samba shares for them. No problems there either. But today, for no apparent reason, the writes to my 3TB WD external hard drive slowed to 20-50 kB/s. No typo. The drive is USB 3.0, I added a Sabrent USB 3.0 4-port card which worked right away, and just yesterday I was writing at over 100 MB/s. My first thought was that the problem was with Samba. So I brought the 250 MB file over on a flash drive and first copied it to my home folder which is on sda2, internal SATA. I got about 20 MB/s, not bad for a flash drive read. But then I moved the file over to the external drive. 20-50 kB/s again. So it's not Samba. I have a custom mount point set for it at /exthd which is easier for me to remember, maybe it's a problem with my mount settings? I just know the drive worked great yesterday. This machine stays on all the time as it is a file server with a few users. I also use it for DLNA streaming with XBMC. All that seems to work fine too, even though XBMC gets the movies and TV shows off the external hard drive. So it appears that reads are good, but writes are slow. I've tried unmounting, remounting, unplugging, replugging, nothing seems to help, short of maybe rebooting, but even then, it doesn't take long. I rebooted the server at 5PM yesterday and its crawling at 8AM today. Any ideas? Thanks!

Last edited by alexgayer85; 07-30-2013 at 09:34 AM.
 
Old 07-31-2013, 02:45 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,116

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Am I correct that you have the drive on the linux system on a 3.0 port?

Boot to a live cd and see if it works correctly.

Guess you could look at resources maybe top command to see if you have some issue.
 
1 members found this post helpful.
Old 07-31-2013, 03:50 PM   #3
BeachHead
LQ Newbie
 
Registered: May 2012
Location: Germany
Distribution: Arch, AOSP
Posts: 24

Rep: Reputation: 2
By "unplugging, replugging" you mean you've replugged the PCI(e) card to a different hardware slot already?

Try to connect the drive to an (onboard) USB 2.0 port to see if it runs stable there.

Post a 'hdparm -iI /dev/sdX' log of the drive and check 'dmseg' for any USB/controller entries.

I have a compactflash card that i have to enforce to UDMA/33 to work properly (detected as UDMA/44 or something like that). Maybe you have to put some tweaks to your setup as well. But we need more logs/informations...

Last edited by BeachHead; 07-31-2013 at 04:04 PM.
 
1 members found this post helpful.
Old 08-28-2013, 09:55 AM   #4
alexgayer85
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I was referring to disconnecting and reconnecting the USB drive. Anyway, still not sure what the problem was, but I got tired of trying to get Mint to play nice, and the system is now running Ubuntu Server 64-bit 13.04. The only issue I had there was the drive would read at USB 3.0 speeds but write at USB 2.0 speeds. Apparently it was an issue with the NTFS driver in Ubuntu. I changed the file system to ext4 and now it works at USB 3.0 speeds both ways. Thanks everyone!
 
Old 08-31-2013, 12:22 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,116

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Thanks for the update and the solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slow internet speed with zenda usb wireless adapter on Mint 9 katesfb Linux - Newbie 6 10-04-2010 05:02 PM
Slow USB DVD writes what do i check. Spirals Linux - Hardware 4 12-07-2009 03:41 PM
Ridiculously slow fat32 usb drive writes relpats_eht Linux - Software 5 06-30-2006 08:24 PM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration