From: John Stultz <johnstul@us.ibm.com>
To: Jose Luis Salas <josacar@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Jonathan Nieder <jrnieder@gmail.com>
Subject: Re: System freezes with high network activity
Date: Fri, 16 Mar 2012 18:41:29 -0700 [thread overview]
Message-ID: <4F63EBC9.6010208@us.ibm.com> (raw)
In-Reply-To: <CAJPugqur-7=s2ujsy+XhAZ3TucD_R_Wcdat2NA9TdFNrhSA2ww@mail.gmail.com>
On 12/03/2011 02:04 PM, Jose Luis Salas wrote:
> Hi,
>
> attached is the output of the timer_list.
>
> With the nohz option the system is stable too.
>
> Other symptom of the problem is network drops performance to 50% ( 50 Mbps ).
>
Hey Jose,
Just following up on this old email. Looking at the timer_list.txt
that you sent, I'm not seeing anything that sticks out as problematic.
Are you still seeing issues with recent kernels (3.1, 3.2) ? Is nohz
still working for you?
I suspect the problem is that the lapic on your machine goes out to
lunch after longish idle times w/ nohz. That's why the key-press or
network traffic wakes the system back up.
Does booting with the following patch (without nohz or any clocksource=
boot args) fix the issue?
If it does, can you increase the time returned in the patch from 20ms by
powers of ten until it gets to 2 seconds or you see the problem? If the
patch below doesn't help, can you drop the value down to 1ms and let me
know if that affects anything?
thanks
-john
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 95bebaa..8fd2bfa 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -546,6 +546,9 @@ u64 timekeeping_max_deferment(void)
{
unsigned long seq;
u64 ret;
+
+ return 20000000ULL; /* 20ms */
+
do {
seq = read_seqbegin(&timekeeper.lock);
next prev parent reply other threads:[~2012-03-17 1:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 16:44 System freezes with high network activity Jose Luis Salas
2011-12-02 19:43 ` john stultz
2011-12-02 20:54 ` Jose Luis Salas
2011-12-02 22:28 ` john stultz
2011-12-03 22:04 ` Jose Luis Salas
2012-03-17 1:41 ` John Stultz [this message]
2012-03-20 20:02 ` Jose Luis Salas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F63EBC9.6010208@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=josacar@gmail.com \
--cc=jrnieder@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox