Has anyone tried to disable THP (transparent huge-pages) with the
following command (as root) before using USB stick?

echo "never" > "/sys/kernel/mm/transparent_hugepage/enabled"

This can be easily undone with:

echo "always" > "/sys/kernel/mm/transparent_hugepage/enabled"

Or just with a reboot.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/500069

Title:
  USB file transfer causes system freezes; ops take hours instead of
  minutes

Status in The Linux Kernel:
  Fix Released
Status in “linux” package in Ubuntu:
  Triaged
Status in “linux” package in Fedora:
  Unknown

Bug description:
  USB Drive is a MP3 Player 2GB

  sbec@Diamant:~$ lsusb
  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 003 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse 
Receiver
  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 001 Device 004: ID 0402:5661 ALi Corp.
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  sbec@Diamant:~$

  Linux Diamant 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 
i686 GNU/Linux
  Ubuntu 2.6.31-15.50-generic

  to test, i issued dd command:
  dd if=/dev/zero of=/media/usb-disk/test-file bs=32

  while dd is running i run dstat.... this is in the log file attached.

  other logs are also in the tar.gz file...

  there is a huge USB performance Bug report #1972262. this Report is
  something simular

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/500069/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to