From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
Peter Pastor <peter.pastor@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Slow hard drive access in xenomai
Date: Mon, 25 Oct 2010 13:14:42 +0200 [thread overview]
Message-ID: <4CC566A2.2000702@domain.hid> (raw)
In-Reply-To: <4CC5603E.1090707@domain.hid>
Am 25.10.2010 12:47, Gilles Chanteperdrix wrote:
> Eric Noulard wrote:
>> 2010/10/24 Peter Pastor <peter.pastor@domain.hid>:
>>> Hey Gilles,
>>> I am in the process to configure the xenomai kernel as you suggested.
>>> I found and disabled the options that you suggested (NUMA, SPARSEMEM,
>>> SECCOMP, AUDITSYSCALL, KPROBES, FTRACE, SELINUX), However, I could not
>>> disable SPARSEMEM. Searching for SPARSEMEM in the kernel configuration
>>> simply says "Symbol: SPARSEMEM [=y]" and does not give me any further info.
>>> Can you tell me how to disable it ?
>>
>> SPARSEMEM may be a dependence for other options.
>> If you look into the mm/Kconfig file
>> http://lxr.linux.no/#linux+v2.6.32/mm/Kconfig#L103
>> you may discover which options you have may need SPARSEMEM.
>>
>> For example the CONFIG_MEMORY_HOTPLUG depends on SPARSEMEM.
>>
>>> Also, I disabled NUMA even though the info states "For 64-bit this is
>>> recommended if the system is Intel Core i7 (or later), AMD Opteron, or
>>> EM64T" and my system is a 64bit, with 8 Intel Xeon cores. Hope that is ok...
>>
>> NUMA stands for Non Uniform Memory Access essentially it is for multiprocessor
>> machine which have a memory layout which is not "symmetric" (aka Uniform) with
>> respect to each processor.
>> You have some "pictured" example of NUMA systems on the HWLOC project
>> http://www.open-mpi.org/projects/hwloc/
>> http://www.open-mpi.org/projects/hwloc/doc/v1.0.2/#examples
>>
>> Now I really don't know if enabling NUMA handling is mandatory for NUMA systems
>> I guess yuo could disable NUMA handling at kernel level but yuo may
>> get performance
>> weirdness because the kernel is not aware of the NUMA nature.
>>
>> This is pure guess, I let others give you a more "secure" answer to this.
>
> From what I understood NUMA means that you have several "nodes" with a
> fast local memory and a slow remote memory. If you only have one CPU,
> which accesses only one DRAM bank, you do not need NUMA. In any case,
> the boot logs will tell you how many NUMA nodes are created. But since
> Peter never sent a full boot log, I have no idea what the boot logs say.
>
NUMA should not cause such issues (we are running Xenomai on real NUMA),
nor should it cause noticeable slowdowns when enabled but unused.
Let's focus on the core issue, a potentially spurious IRQ: Peter, can
you check if 2.6.35 shows the same symptoms (2.6.31 is unmaintained anyway)?
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2010-10-25 11:14 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 21:32 [Xenomai-help] Slow hard drive access in xenomai Peter Pastor
2010-10-22 22:06 ` Gilles Chanteperdrix
2010-10-24 7:19 ` Peter Pastor
2010-10-26 5:22 ` Gilles Chanteperdrix
2010-10-28 19:20 ` Peter Pastor
2010-11-02 12:30 ` Gilles Chanteperdrix
2010-11-02 15:24 ` Peter Pastor
2010-11-02 22:30 ` Gilles Chanteperdrix
[not found] ` <AANLkTimyj5TRgan5nE5ey6h8-WO_-na=U66si-e9Xx9F@mail.gmail.com>
2010-10-24 15:08 ` Gilles Chanteperdrix
2010-10-24 19:51 ` Peter Pastor
2010-10-24 20:40 ` Peter Pastor
2010-10-25 6:19 ` Eric Noulard
2010-10-25 10:47 ` Gilles Chanteperdrix
2010-10-25 11:14 ` Jan Kiszka [this message]
2010-10-25 16:10 ` Peter Pastor
2010-10-25 16:10 ` Peter Pastor
2010-10-25 16:24 ` Eric Noulard
2010-10-25 18:04 ` Peter Pastor
2010-10-25 18:13 ` Eric Noulard
2010-10-25 18:15 ` Jan Kiszka
2010-10-25 19:03 ` Peter Pastor
2010-10-25 19:40 ` Jan Kiszka
2010-10-25 20:28 ` Jan Kiszka
2010-10-25 21:10 ` Peter Pastor
2010-10-25 21:21 ` Philippe Gerum
2010-10-25 21:26 ` Jan Kiszka
2010-10-25 21:33 ` Jan Kiszka
2010-10-25 21:43 ` Philippe Gerum
2010-10-26 0:58 ` Peter Pastor
2010-10-26 5:20 ` Jan Kiszka
2010-10-25 16:13 ` Peter Pastor
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=4CC566A2.2000702@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=peter.pastor@domain.hid \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.