Fixing desktop freezes on large copies

From www.ReeltoReel.nl Wiki
Revision as of 16:21, 16 July 2012 by Root (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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.

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