FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2009
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Extremly slow copy speed (50K/s)

    Hi everybody.

    I am having a very weird problem, of which I have never heard before. The problem, shortly (I will give details in the following), is that the copy speed between the partition in which I am running my Fedora and another partition where I store backup data is 50K/s, which is extremely slow (it has been usually around 10M/s, almost 200 times faster).

    My laptop is a HP Pavillion Dv7 2080 ep, in which I have two disks of 250G. One of the disks is partitioned between two operational systems, Fedora 14 64 and Windows 7 64, and the other disk contains the above referred partition where I store my backups (lets call it backup disk). The problem happens ONLY when I try to copy anything from my home in Fedora to the backup disk. I first thought it could be a problem in the backup disk. Then I login into the windows and made a copy of some AVI files (3G approx) to the backup disk, which went normally, within a few seconds, thus eliminating this possibility. I try therefore to make the inverse process, a copy from the backup disk into my home folder in Fedora. It went normally, copying 4 G also within few seconds, actually with an excellent speed of 50M/s. After searching in google, I saw some people also complaining of slow copy speed (although they had 7M/s, more than 100 times faster than what I have now), and one cause could be that the source file system (in my case the Fedora home folder) would be near its full capacity. I therefore eliminate everything that I could, around 15G, and now I have like 20G of free disk space, which I think is more than enough for everything. However, the problem persists. Some people also said that it could be the type of files and/or amount of data. I therefore tried several kinds of files (from raw data files to AVI and RMVB regular video files), and several amounts of data (from single files with a few Megas to folders with 20G) and in all cases I had the same unacceptably low copy speed of 50K/s.

    It seems to be a problem in the software, caused by the updates, since until 10 days ago it was everything ok. However, I usually make the updates whenever they appear but make my backups much less frequently. Therefore I don't know for sure what has changed in Fedora through the updates since the last backup I made, when everything was working fine.

    Thank you all very much for your attention and sorry for the giant post...

  2. #2
    Join Date
    Nov 2009
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extremly slow copy speed (50K/s)

    Hi everybody, the problem has been solved. Here is the link containing a more detailed description and a discussion, containing the solution. Thank you anyway.

    http://lists.fedoraproject.org/piper...ate.html#start

  3. #3
    Join Date
    Feb 2011
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extremly slow copy speed (50K/s)

    Hi,
    In the posted link, I see you mounted with sync option, and the release notes indicate that this option has been implemented in the latest version of ntfs-3g.

    This is why you get slow speed, sync disables all cacheing, and in older versions it was not implemented. You should remove this option from now on, unless you have a specific need.
    Last edited by Jean Pierre; 18th February 2011 at 10:37 PM.

  4. #4
    Join Date
    Nov 2009
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extremly slow copy speed (50K/s)

    Thank you Jean Pierre, without sync in fstab the new version of ntfs-3g works fine. I have just tested. Thank you again!

  5. #5
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    15,410
    Mentioned
    186 Post(s)
    Tagged
    0 Thread(s)

    Re: Extremly slow copy speed (50K/s)

    The ntfs-3g man pages shows this too:
    atime, noatime, relatime
    The atime option updates inode access time for each access.

    The noatime option disables inode access time updates which can speed up file operations and prevent sleeping (notebook) disks spinning up too often thus saving energy and disk lifetime.

    The relatime option is very similar to noatime. It updates inode access times relative to modify or change time. The access time is only updated if the previous access time was earlier than the current modify or change time. Unlike noatime this option doesn't break applications that need to know if a file has been read since the last time it was modified. This is the default behaviour.
    I suppose since it's defaulting to relatime that's not a speed issue for related to this poster(vinicius), but I assume noatime is a bit faster yet than relatime ?

  6. #6
    Join Date
    Feb 2011
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extremly slow copy speed (50K/s)

    Hi

    I suppose since it's defaulting to relatime that's not a speed issue for related to this poster(vinicius), but I assume noatime is a bit faster yet than relatime ?

    No much difference, with noatime the access time is never updated, with relatime it is updated only once after the file contents has been updated.

    Regards

    Jean-Pierre

Similar Threads

  1. Yum and rpm slow speed
    By whyiswyh in forum Using Fedora
    Replies: 5
    Last Post: 17th April 2013, 07:34 PM
  2. Fedora 10 is extremly slow after an update
    By danielni1981 in forum Using Fedora
    Replies: 13
    Last Post: 13th May 2009, 04:42 AM
  3. Why do files copy so slow
    By Dan in forum Using Fedora
    Replies: 20
    Last Post: 29th September 2006, 07:42 AM
  4. rsync disk copy speed
    By ryness in forum Using Fedora
    Replies: 3
    Last Post: 19th April 2005, 08:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •