LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-19-2010, 08:45 AM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Transfer speed to SDHD card


I connected a 16GB SDHD Class 4 card to my PC with a dongle reader. A class 4 card is supposed to support a minimum of 4 MB/s sustained speed. I grabbed a couple of large, 4.4 GB each, files and copied them to the SD card with Nautilus. The transfer rate started out at 60 MB/s and rapidly dropped to 50 then 40 and slowly dropped to 3.5 MB/s after about 3 GB transferred and it is still dropping.

The PC will copy from drive to drive at 65 MB/s so I do not think the issue is reading from the hard drive.

I am confused about the transfer speeds which Nautilus is showing. Obviously I am not really transferring to this card at 50+ MB/s. If I was moving data from hard drive to cache I would expect much more speed - I have 8 GB of RAM on the PC.

That said, I have stopped the transfer and attempted to unmount the card. I get the message "Failed to eject media; one or more volumes on the media are busy." This has been going on for several minutes so some activity is going on in the background.

Can someone enlighten me as to what is actually taking place?

TIA,

Ken
 
Old 03-19-2010, 10:04 AM   #2
JonathanWilson
Member
 
Registered: Aug 2009
Location: Ilkeston, England
Distribution: ubuntu, xp, embeded
Posts: 79

Rep: Reputation: 1
To improve life span writes to SD cards are usually cached to memory first, then written in large chunks to the card to reduce wear.

The initial fast speed is because its being done in memory, then as the writes start to happen and the cache is filled it slows to actual write speeds.

After the copy is finished (or stopped) the cache still has to be written which can take minutes to complete.

As nautillus is multi-tasking the copy/write process is still running in the background when you click the unmount.
 
Old 03-19-2010, 10:48 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks JonathanWilson,

I understand that Nautilus works in the background. I have some external HDDs which connect via USB. When I unmount them I see a dialog that Nautilus is completing writes to the drive.

As to my poor SD card... I put it back in the built in SD card reader in my netbook - what I had originally purchased it for - and tried slamming a DVD size file (nominal 4.4 GB or so) to it. It wrote at about 9 GB/s until it hit the 4 GB limit for a FAT 32 file system So I formatted the card for ext2 then I got some errors about could not mount - even though it seemed to mount. So I went back with fdisk, created a Linux partition, created an ext2 file system and tried again. The file copied from the SSD on the netbook to the SD card at a consistent 9.1 MB/s.

Now why am I doing this Oh yes! I plan to put a couple of DVD size gpg files on the SD card to store data securely in the event I take the netbook on the road. Looks like I am good to go with that part.

As to the strange performance of the USB dongle reader thing... I think it is probably not SDHC compatible. Back when I purchased it a 1 GB SD drive was BIG. I will try it again and if I get similar results I may drop $8 at Wally World and get one which is labled for SDHC - or just copy the files across the network.

Ken
 
Old 04-08-2010, 08:29 AM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
The built in reader in the desktop had a bad cable - got that replaced and it works fine. Transfer speeds as expected.

Ken
 
  


Reply



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
increasing data transfer speed of ethernet card ravi_chobey Linux - Hardware 10 04-24-2009 07:03 AM
Using a USB 2.0 Memory Card and getting 3MB transfer speed kchalupa Linux - Hardware 2 10-04-2007 09:03 AM
NIC transfer speed fast... receive speed slow landev Linux - Networking 5 11-07-2006 03:09 PM
FTP transfer speed twantrd Linux - General 0 04-08-2003 10:08 PM
Transfer Speed Road Linux - General 1 04-11-2002 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration