How to diagnose - slow dog system when copying from sdcard
Whenever I start copying a large amount of data from sdcard my system becomes really slow, almost crashed, like chocked to death.
How can I diagnose and fix this? Code:
erickfis@erickfis-K45A:~$ lsb_release -a Code:
erickfis@erickfis-K45A:~$ uname -a |
(sudo) hdparm -tT /path/to/sdcard
If you get 20 Meg/S in real time, it's good. Here's my sdcard reader (inbuilt) Code:
bash-4.3$ sudo hdparm -tT /dev/mmcblk0p1 |
Quote:
|
business_kid,
thank you for your input. hdparm results below: Code:
erickfis@erickfis-K45A:~$ sudo hdparm -tT /dev/sdb1 this is not a good way to solve the problem: a guy should be able to move his por, er I mean, files, from/to sdcard without halting the OS. I want to select all the files/folders, move/copy them and then get back to work and to my music. Sometimes even the music chokes. I'm doing this right now - copying 3 Gb of fotos/movies from sdcard to my hdd. This notebook (Asus k45A) has a built-in card reader. Music is gagging and system is really unresponsive, can't even write properly here. Dmesg gives me nothing, only the usual: Code:
[69692.324323] usb 3-4: new high-speed USB device number 15 using xhci_hcd |
UPDATE
I've just found out that the problem only happens when I'm copying/moving from sdcard to my NTFS partition on HDD. The same operation goes smooth when the target is my /home, an ext4 partition My fstab below: Code:
UUID=68dfa559-a048-4fcf-8a19-ad276b1b7e04 / ext4 errors=remount-ro 0 1 |
Endure it.
sdcards are slow - period.. |
In addition, reading/writing to NTFS will not be as fast as a native linux file system. The NTFS driver is a fuse filesystem which operates in userspace versus the kernel which is one reason it is slower.
|
Quote:
I go command line if I have a lot to copy over to a sdcard, after resampling them in handbrake to get the size down more. I do not need BlueRay data on a phone or my laptop. I have found it goes faster, when not trying to do a major amount of data at once. using drag and drop. I just got done transferring 1TB of data onto another HDD using the command line and it only took me around 5 or 6 hours. looking at the stats is not always the answer because it is mostly theoretical yield and not actual yield that the company prints out to the public. just Like 3G and 4G phones are not acutally 3G or 4G phones. they are much slower then the math says it has to be in order to be 3G or 4G. if one is choking the kid on food, stop feeding him so much at one time. there too is this what class is the sd card? basic logic, and do not expect the specs to acually be real time stats, its theoretical. |
You can expect tyhe usb to be usb-2.0, with a practical max speed of 20Mb/s. The realtek slows that slightly, but windows couldn't manage over 12MB/S copying between usb disks.
There's a complicated write procedure sometimes. If you set a copy going as luser on a console, you should be able to go back to X and work away. |
Hello guys! I'm marking this as SOLVED.
After looking into my fstab I noticed that the driver for the NTFS partition (my target for copying) was NTFS. I did changed it to NTFS-3G and now things are really smooth and fast - no more choking anywhere. With NTFS driver in fstab, it took me almost 10 minutes to copy 3 Gb of data (300 files) from sdcard to my NTFS partition - and the system was choking all the time. With NTFS-3G driver in fstab, it took me only 1 minute, I swear! and the system stayed smooth all the time - music playing, thunderbird+firefox working with multiple tabs and a lot more. This is a clas 10 sd-hc card. Thank you guys for your input! |
Good job and well done!
|
All times are GMT -5. The time now is 07:02 AM. |