Fixing desktop freezes on large copies: Difference between revisions

From www.ReeltoReel.nl Wiki
Jump to navigation Jump to search
(Created page with "Now this may or may not be specific to openSUSE, but here it is anyway: Isuffered from desktop lockups when copying large files, for instance from the wireless network to usb...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Now this may or may not be specific to openSUSE, but here it is anyway:
Now this may or may not be specific to openSUSE, but here it is anyway:


Isuffered from desktop lockups when copying large files, for instance from the wireless network to usb. THis was especially noticable in dolphin.
I suffered from desktop lockups when copying large files, for instance from the wireless network to usb. THis was especially noticable in dolphin.


Even though I thought it at first, but now it appears that it is not dolphin that is acting up, it is the 'hugepage' option in the kernel.
Even though I suspected it at first, now it appears that it is not dolphin that is acting up, it is the 'hugepage' option in the kernel.


So, how do we tweak it? Simpel. The following lines will do the trick as root:
So, how do we tweak it? Simpel. The following lines will do the trick as root:
Line 9: Line 9:
  echo never >/sys/kernel/mm/transparent_hugepage/defrag
  echo never >/sys/kernel/mm/transparent_hugepage/defrag
  echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag
  echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag
-edit-
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled

Latest revision as of 20:40, 8 November 2015

Now this may or may not be specific to openSUSE, but here it is anyway:

I suffered from desktop lockups when copying large files, for instance from the wireless network to usb. THis was especially noticable in dolphin.

Even though I suspected it at first, now it appears that it is not dolphin that is acting up, it is the 'hugepage' option in the kernel.

So, how do we tweak it? Simpel. The following lines will do the trick as root:

echo never >/sys/kernel/mm/transparent_hugepage/defrag
echo 0 > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag

-edit-

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