You are not logged in.

#1 2013-06-02 07:15:23

doblerone
Member
Registered: 2011-12-08
Posts: 215

[SOLVED] low speed & high CPU usage copying files between two HDD

Both HDD are connected by SATA to the MB. One is in NTFS format (shared with windows 7) and the other one has different partitions. 
I'm trying to copy one file (230 MB) from an ext4 partition to the NTFS HDD. The speed is about 40 kB/s and on the system monitor, I can see how one of the cores is about 100 % of usage!

I have done these operations lot of times and never happened something like that.

What should I have to look?

Last edited by doblerone (2013-06-03 17:01:59)

Offline

#2 2013-06-02 07:39:46

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

did you install ntfs-3g ?

Offline

#3 2013-06-02 08:42:02

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

How have you mounted the drives? What command did you use to mount them?


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#4 2013-06-02 10:11:17

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

Perfect Gentleman wrote:

did you install ntfs-3g ?

Yes, it was installed.


jrussell wrote:

How have you mounted the drives? What command did you use to mount them?

They are mounted both automatically at startup. This is my fstab:

  GNU nano 2.2.6                       Fichero: /etc/fstab                                                       

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# UUID=904c8353-bb08-4e15-af53-0db8e8487b2e
/dev/sda5               /               ext4            rw,relatime,data=ordered        0 1

# UUID=b361c968-872d-4e0b-a541-e8a046d8baf5
/dev/sda3               /boot           ext2            rw,relatime     0 2

# UUID=da4616d1-960c-4027-a895-362c448f68f0
/dev/sda6               /home           ext4            rw,relatime,data=ordered        0 2

# UUID=3f1764b5-242f-48d8-a8fb-5eb4223e8cda
/dev/sda7               none            swap            defaults        0 0

# UUID=EE4A513F4A5105AD
/dev/sdb1       /media/Almacenamiento   ntfs    auto,user,sync,exec,dev,rw      0 0

Offline

#5 2013-06-02 10:13:35

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

that my usb-flash with NTFS - /dev/sdd1 on .... ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks2)

Offline

#6 2013-06-02 10:16:16

Perfect Gentleman
Member
Registered: 2012-10-25
Posts: 222

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

--

Last edited by Perfect Gentleman (2013-06-02 10:16:30)

Offline

#7 2013-06-02 11:29:01

cedeel
Member
From: ~
Registered: 2009-08-25
Posts: 176
Website

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

You are still using the kernel NTFS driver. See the wiki article on NTFS for proper instructions.

Offline

#8 2013-06-02 11:35:05

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

doblerone wrote:
Perfect Gentleman wrote:

did you install ntfs-3g ?

Yes, it was installed.


jrussell wrote:

How have you mounted the drives? What command did you use to mount them?

They are mounted both automatically at startup. This is my fstab:

  GNU nano 2.2.6                       Fichero: /etc/fstab                                                       

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# UUID=904c8353-bb08-4e15-af53-0db8e8487b2e
/dev/sda5               /               ext4            rw,relatime,data=ordered        0 1

# UUID=b361c968-872d-4e0b-a541-e8a046d8baf5
/dev/sda3               /boot           ext2            rw,relatime     0 2

# UUID=da4616d1-960c-4027-a895-362c448f68f0
/dev/sda6               /home           ext4            rw,relatime,data=ordered        0 2

# UUID=3f1764b5-242f-48d8-a8fb-5eb4223e8cda
/dev/sda7               none            swap            defaults        0 0

# UUID=EE4A513F4A5105AD
/dev/sdb1       /media/Almacenamiento   ntfs    auto,user,sync,exec,dev,rw      0 0

Why are you mounting a flash drive on your fstab? (unless its always in your PC when you boot....or you never want to remove it?)
unmount the usb (/dev/sdb1)
Then I think try hash out that line for the usb (/dev/sdb1) and install ntfs-3g and mount with

mount.ntfs-3g /dev/sdb1 /mnt

bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#9 2013-06-02 11:45:58

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

jrussell wrote:

Why are you mounting a flash drive on your fstab? (unless its always in your PC when you boot....or you never want to remove it?)
unmount the usb (/dev/sdb1)
Then I think try hash out that line for the usb (/dev/sdb1) and install ntfs-3g and mount with

mount.ntfs-3g /dev/sdb1 /mnt

sdb1 is an interna HDD, not a flash drive.

Offline

#10 2013-06-02 11:47:54

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

doblerone wrote:
jrussell wrote:

Why are you mounting a flash drive on your fstab? (unless its always in your PC when you boot....or you never want to remove it?)
unmount the usb (/dev/sdb1)
Then I think try hash out that line for the usb (/dev/sdb1) and install ntfs-3g and mount with

mount.ntfs-3g /dev/sdb1 /mnt

sdb1 is an interna HDD, not a flash drive.

Oh sorry, in that case change 'ntfs' to 'ntfs-3g' (assuming you have installed ntfs-3g, and reboot and see what happens


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#11 2013-06-02 18:01:02

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

jrussell wrote:

Oh sorry, in that case change 'ntfs' to 'ntfs-3g' (assuming you have installed ntfs-3g, and reboot and see what happens

I changed it and I'm still having the same problem.

From the ntfs disk to the ext4 partition, the speed is fine (70MB/s), but not in the contrary!

Last edited by doblerone (2013-06-02 18:03:05)

Offline

#12 2013-06-03 07:43:13

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

doblerone wrote:
jrussell wrote:

Oh sorry, in that case change 'ntfs' to 'ntfs-3g' (assuming you have installed ntfs-3g, and reboot and see what happens

I changed it and I'm still having the same problem.

From the ntfs disk to the ext4 partition, the speed is fine (70MB/s), but not in the contrary!

Then I'm unfortunately out of ideas, but one check you could do is replace all those options for the ntfs drive with 'defaults'. And remount. I have no idea what some of those mean, but I used to mount my ntfs partition with defaults

Last edited by jrussell (2013-06-03 07:44:31)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#13 2013-06-03 17:00:37

doblerone
Member
Registered: 2011-12-08
Posts: 215

Re: [SOLVED] low speed & high CPU usage copying files between two HDD

jrussell wrote:
doblerone wrote:
jrussell wrote:

Oh sorry, in that case change 'ntfs' to 'ntfs-3g' (assuming you have installed ntfs-3g, and reboot and see what happens

I changed it and I'm still having the same problem.

From the ntfs disk to the ext4 partition, the speed is fine (70MB/s), but not in the contrary!

Then I'm unfortunately out of ideas, but one check you could do is replace all those options for the ntfs drive with 'defaults'. And remount. I have no idea what some of those mean, but I used to mount my ntfs partition with defaults

It works! I changed to 'defaults' and now I have reasonable speeds smile

Thanks a lot!

Offline

Board footer

Powered by FluxBB