Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

(MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

Message
Author
nutrialex
Forum Novice
Forum  Novice
Posts: 38
Joined: Wed Oct 21, 2015 3:40 am

(MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#1 Post by nutrialex » Sun Jul 15, 2018 8:12 am

As the title say I have extremely low copy speeds to all FAT32 usb pens or drives plugged in . (This is not happening with the 4 (ntfs) disks mounted on boot up)
The copy speeds starts at 80MB/s and after a 1GB transferred it slows down to 5MB/s. Also, when the coping finishes and I try to unmount it gives message to wait because some files are still writen)
I tried 3 times with clean format on a ssd (once with linux swap enabled, the other two times with no swap partition). I also tried with live cd but the same happened everytime.
I personally think that MX is the best distro but this bug (that is apparantly on my system only) is very annoying.
My system has 6GB of memory and the OS is on a Samsung 240Pro ssd

Code: Select all

alex@HTPC:~
$ inxi -F
System:    Host: HTPC Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14, 2018 
Machine:   Type: Desktop Mobo: Gigabyte model: GA-E7AUM-DS2H v: x.x serial: <root required> 
           BIOS: Award v: F4 date: 08/26/2009 
CPU:       Topology: Quad Core model: Intel Core2 Quad Q9550 bits: 64 type: MCP 
           L2 cache: 6144 KiB 
           Speed: 2833 MHz min/max: N/A Core speeds (MHz): 1: 2833 2: 2833 3: 2833 4: 2833 
Graphics:  Card-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Gallium 0.4 on AMD CEDAR (DRM 2.50.0 / 4.15.0-1-amd64 LLVM 3.9.1) 
           v: 3.3 Mesa 13.0.6 
Audio:     Card-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel 
           Card-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Card-1: NVIDIA MCP79 Ethernet driver: forcedeth 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:1f:d0:ad:98:41 
Drives:    HDD Total Size: 15.69 TiB used: 10.49 TiB (66.8%) 
           ID-1: /dev/sda vendor: Crucial model: CT250MX500SSD1 size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WD30EFRX-68AX9N0 size: 2.73 TiB 
           ID-3: /dev/sdc vendor: Samsung model: HD204UI size: 1.82 TiB 
           ID-4: /dev/sdd vendor: Samsung model: HD204UI size: 1.82 TiB 
           ID-5: /dev/sdg type: USB vendor: Hitachi model: HGST Touro Desk 3.0 size: 3.64 TiB 
           ID-6: /dev/sdh type: USB vendor: Intenso model: External USB 3.0 size: 4.55 TiB 
           ID-7: /dev/sdi type: USB vendor: Samsung model: HD103SJ size: 931.51 GiB 
Partition: ID-1: / size: 42.24 GiB used: 6.70 GiB (15.9%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 181.63 GiB used: 30.35 GiB (16.7%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: radeon temp: 63 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 222 Uptime: 1d 6h 30m Memory: 5.82 GiB used: 3.53 GiB (60.6%) Shell: bash 
           inxi: 3.0.10 
Any ideas?

truongtfg
Forum Novice
Forum  Novice
Posts: 15
Joined: Sun Jul 15, 2018 9:22 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#2 Post by truongtfg » Sun Jul 15, 2018 9:41 am

How about trying another kernel like liquorix (It is in the repo, and if you use a nvidia card you should install kernel 4.16 or 4.15)? The default MX kernel use CFQ file scheduler, and with my experience, it was unresponsive and slow when I wanted to do some copy. The liquorix kernel uses BFQ scheduler instead, and may give good result.

Besides, you can also search for xanmod kernel, which includes "kyber" scheduler that is said to work really well with SSD.

User avatar
dreamer
Forum Regular
Forum Regular
Posts: 256
Joined: Sun Oct 15, 2017 11:34 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#3 Post by dreamer » Sun Jul 15, 2018 10:05 am

nutrialex wrote:
Sun Jul 15, 2018 8:12 am
As the title say I have extremely low copy speeds to all FAT32 usb pens or drives plugged in . (This is not happening with the 4 (ntfs) disks mounted on boot up)
I can confirm this. I have been too tired/busy with other things to really care about it.

nutrialex
Forum Novice
Forum  Novice
Posts: 38
Joined: Wed Oct 21, 2015 3:40 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#4 Post by nutrialex » Sun Jul 15, 2018 10:17 am

I just tried liquorix kernel and I saw small difference. The copy proceeds until 2GB with speed about 50MB/s and then instantly drops to 2MB/s

nutrialex
Forum Novice
Forum  Novice
Posts: 38
Joined: Wed Oct 21, 2015 3:40 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#5 Post by nutrialex » Sun Jul 15, 2018 10:49 am

It's very frustrating. And it looks such a childish bug for code writers.

User avatar
stsoh
Forum Regular
Forum Regular
Posts: 449
Joined: Sun Aug 20, 2017 10:11 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#6 Post by stsoh » Sun Jul 15, 2018 10:50 am

try unplug two hdd, i believe your psu unable to produce enough juice to power. just like 1 lt of fuel going for distance will be slow, fast will consume more juice. my old pc 450w can't load up 3hdd + 1sdd + 3fan, unable to bootup.
Last edited by stsoh on Sun Jul 15, 2018 12:36 pm, edited 1 time in total.
MX-17.1_x64 Horizon, G41M-P33 Combo (MS-7592), Pentium E5400 (2706 MHz), 8Gb RAM (984 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.
Accepted Linux when i found MX-Linux in 2016.

truongtfg
Forum Novice
Forum  Novice
Posts: 15
Joined: Sun Jul 15, 2018 9:22 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#7 Post by truongtfg » Sun Jul 15, 2018 10:56 am

I have just dig around, and there is a suggestion that:
The problem, as it turns out, was the sync option used to mount the filesystem, which appears to be performance-killer. Mounting it with flush option instead of sync solved the problem: sudo mount -o async,flush <device> <mountpoint>
source: https://superuser.com/questions/970594/ ... e-in-linux

Edit: Here you can find a more thorough explanation and something else to try:
https://askubuntu.com/questions/283136/ ... w-in-12-10
https://askubuntu.com/questions/122113/ ... eally-slow

By the way, before playing with mount command, you can try another file manager such as 'xfe', or a tool for speeding up copy: 'ultracopier'. Both of these apps are in the repo.

nutrialex
Forum Novice
Forum  Novice
Posts: 38
Joined: Wed Oct 21, 2015 3:40 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#8 Post by nutrialex » Tue Jul 17, 2018 1:27 pm

I tried ultracopier and still have very low speed.
I did not have this problem with Linux Mint (Cinammon).
I also tried Nemo but had low speed and crashes.
Please someone post or find a solution. I do not want to go back to Mint. If I do it, it will be permanent.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 10127
Joined: Sun Dec 16, 2007 1:17 pm

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#9 Post by dolphin_oracle » Tue Jul 17, 2018 1:40 pm

nutrialex wrote:
Sun Jul 15, 2018 8:12 am
As the title say I have extremely low copy speeds to all FAT32 usb pens or drives plugged in . (This is not happening with the 4 (ntfs) disks mounted on boot up)
The copy speeds starts at 80MB/s and after a 1GB transferred it slows down to 5MB/s. Also, when the coping finishes and I try to unmount it gives message to wait because some files are still writen)
I tried 3 times with clean format on a ssd (once with linux swap enabled, the other two times with no swap partition). I also tried with live cd but the same happened everytime.
I personally think that MX is the best distro but this bug (that is apparantly on my system only) is very annoying.
My system has 6GB of memory and the OS is on a Samsung 240Pro ssd

Code: Select all

alex@HTPC:~
$ inxi -F
System:    Host: HTPC Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14, 2018 
Machine:   Type: Desktop Mobo: Gigabyte model: GA-E7AUM-DS2H v: x.x serial: <root required> 
           BIOS: Award v: F4 date: 08/26/2009 
CPU:       Topology: Quad Core model: Intel Core2 Quad Q9550 bits: 64 type: MCP 
           L2 cache: 6144 KiB 
           Speed: 2833 MHz min/max: N/A Core speeds (MHz): 1: 2833 2: 2833 3: 2833 4: 2833 
Graphics:  Card-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Gallium 0.4 on AMD CEDAR (DRM 2.50.0 / 4.15.0-1-amd64 LLVM 3.9.1) 
           v: 3.3 Mesa 13.0.6 
Audio:     Card-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel 
           Card-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Card-1: NVIDIA MCP79 Ethernet driver: forcedeth 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:1f:d0:ad:98:41 
Drives:    HDD Total Size: 15.69 TiB used: 10.49 TiB (66.8%) 
           ID-1: /dev/sda vendor: Crucial model: CT250MX500SSD1 size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WD30EFRX-68AX9N0 size: 2.73 TiB 
           ID-3: /dev/sdc vendor: Samsung model: HD204UI size: 1.82 TiB 
           ID-4: /dev/sdd vendor: Samsung model: HD204UI size: 1.82 TiB 
           ID-5: /dev/sdg type: USB vendor: Hitachi model: HGST Touro Desk 3.0 size: 3.64 TiB 
           ID-6: /dev/sdh type: USB vendor: Intenso model: External USB 3.0 size: 4.55 TiB 
           ID-7: /dev/sdi type: USB vendor: Samsung model: HD103SJ size: 931.51 GiB 
Partition: ID-1: / size: 42.24 GiB used: 6.70 GiB (15.9%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 181.63 GiB used: 30.35 GiB (16.7%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: radeon temp: 63 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 222 Uptime: 1d 6h 30m Memory: 5.82 GiB used: 3.53 GiB (60.6%) Shell: bash 
           inxi: 3.0.10 
Any ideas?
how large are the file you are transferring?

also, have you considered giving yourself some swap? you got a lot of ram in use there.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

nutrialex
Forum Novice
Forum  Novice
Posts: 38
Joined: Wed Oct 21, 2015 3:40 am

Re: (MX17.1) Extremely low file copy speed to an external usb pen or disk (fat32 formatted)

#10 Post by nutrialex » Tue Jul 17, 2018 2:09 pm

I am transferring movie files (from about 1 gb to 8gb) to hard drives and usb sticks very often. Lets say that I want to transfer 10 files of 1gb each at a total of 10gb. I said that I have the same problem regardless I am using swap or not. I tried it both.

All my music and video library is on this pc (hence its name HTPC).

Post Reply

Return to “Hardware /Configuration”