1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I've been noticing this symptom for a while now especially when
running programs that copy large files using large buffer sizes.
It's worse than just firefox, as the entire desktop will freeze for
minutes at a time.<br>
<br>
This change/workaround cleared this up entirely for me. If we
haven't incorporated this yet, we should consider doing so.<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
<td>Re: [Cooker] System can stall under heavy IOs with slow
storage devices</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Mon, 19 Dec 2011 19:36:02 +0100</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Florian Hubold <a class="moz-txt-link-rfc2396E" href="mailto:doktor5000@arcor.de"><doktor5000@arcor.de></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:cooker@mandrivalinux.org">cooker@mandrivalinux.org</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:cooker@mandrivalinux.org">cooker@mandrivalinux.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Am 19.12.2011 10:26, schrieb Franck Bui:
> Hello,
>
> I've noticed a regression on my system which can stall some applications
> (most notably firefox) during very very long time (> 10 mins).
Man, you're my hero, trying to find out what causes this since some months now.
At least two thumbs up! :)
> It's apparently related to transparent huge pages and I found that it
> had already been described by LWN here a month ago:
> <a class="moz-txt-link-freetext" href="http://lwn.net/Articles/467328/">http://lwn.net/Articles/467328/</a>.
>
> Unlike what it's stated in the article, the regression is not really
> hard to trigger in my case: just plug a USB stick, copy on it a big
> file, then try to use firefox...
>
> To fix this, simply try to disable THP:
>
> echo madvise >/sys/kernel/mm//transparent_hugepage/enabled
>
> and firefox should work as expected now.
>
> So, if no one objects, the plan is to simply default the THP stuff to
> "madvise" for desktop flavour where an application has to ask
> explicitly huge page otherwise it will be disabled.
>
</pre>
</body>
</html>
|