linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Max Müller" <mxmr@gmx.net>
To: Clark Williams <williams@redhat.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Tweak Latency on Intel ATOM
Date: Thu, 11 Feb 2010 08:54:29 +0100	[thread overview]
Message-ID: <4B73B7B5.4070509@gmx.net> (raw)
In-Reply-To: <20100210163818.7f54ec3a@torg>

Clark Williams schrieb:
> On Tue, 9 Feb 2010 07:41:58 +0000 (UTC)
> Max Miller <mxmr@gmx.net> wrote:
>
>   
>> Hello,
>>
>> im am using the PREEMPT-RT patch on linux 2.6.29.6. It runs on a MSI965GSE
>> industial board with Intel ATOM CPU (N270, 1,6GHz) and i945GSE Northbridge. 
>>
>> I got about 45µs as maximum and 13µs as average latency when hyperthreading is
>> disabled. With enabled Hyperthreading the maximum latency increses to about
>> 100µs. I measured the latency with cyclictest. 
>>
>> What can i do to get better maximum latency? Can I do somthing in the kernel
>> configuration or are there some kernel bootoptions? Or is it still impossible
>> with this CPU to get better results?
>>
>> Thanks in advance,
>> Max Miller 
>>
>>
>>     
>
> Make sure you turn off any power management settings in the BIOS and
> turn off the irqbalance and cpuspeed services on the Linux side.
>
> What cyclictest command are you using to measure latency?
>
> Clark
>   

I run cyclictest as follows:

cyclictest -n -t3 -p99

For generating additional system load i run (one to several instances):

while true; do echo "blah" > /dev/null; done &

Then i watch the max. latency from the thread with the highest priority.
Sometimes i add the parameter '-h' to generate a history. In this 
history i can
see that the most latency times are under 20µs, only  about 5ppm are 
worse than 30µs.
Am i doing this correctly?


The only powersave setting in the BIOS is "Intel speedstep" which i 
disabled.


I will check with disabled "irqbalance and cpuspeed services" disabled 
and will report later.


What should the adequate max. latency on this system?





--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-02-11  8:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09  7:41 Tweak Latency on Intel ATOM Max Miller
2010-02-10 22:38 ` Clark Williams
2010-02-11  7:54   ` Max Müller [this message]
2010-02-11 15:34     ` Clark Williams
2010-02-15  9:32       ` Max Müller
2010-02-15 14:38         ` Clark Williams
2010-02-16  6:50           ` Max Müller
2010-02-16 12:18             ` Luis Claudio R. Goncalves
2010-02-17  6:26               ` Max Müller
2010-02-12 20:54     ` mapping of PCI memory to user space not working with uio.c ? Armin Steinhoff

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=4B73B7B5.4070509@gmx.net \
    --to=mxmr@gmx.net \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).