[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dropped tasklets every 10 minutes
- To: "Bruce Rowen" <browen@xxxxxxxxxxxx>
- Subject: Re: dropped tasklets every 10 minutes
- From: "Peter Teoh" <htmldeveloper@xxxxxxxxx>
- Date: Fri, 12 Oct 2007 16:19:30 +0800
- Cc: kernelnewbies <kernelnewbies@xxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fPMedjvq1NzHvANCxrbCBweqdnQSYsZVn0uYT7oq2Zk=; b=I0GoPTMcy2Vyh9niKbgKGNeOYzROIfF/uq+EnnGlGFgax1NT8eQk1q8PBKZvB5HMlxTj0FREYcNPthNi1b+UAfbzgk4t+lCShVOqXArF4Uvgh49/Cy9ue0XPJkisL9vstyGNriFzLysx25JhY27x9WxijUFh4qU7Mf4plqbrBQ4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MsdFXgcQafxqt3JqEEngfMLyxnnDwc60PzShhzG2k+qWTu4l81EyqJTZL1D4Di4zTUr0cdwxu1K7oVqu2H+XDefiwctAcj6gTRNSYzZXLxQ+Pba7aXGC/a6+9wqJqFUwYuBsSxqkBmSoSpQTZehuhkd0qCxrAkMukeVFHsChPbU=
- In-reply-to: <80F40C25-B484-4D05-A3B3-F34FCC90602F@aoc.nrao.edu>
- List-archive: <http://mail.nl.linux.org/kernelnewbies/>
- List-help: <mailto:ecartis@nl.linux.org?Subject=help>
- List-id: <kernelnewbies.nl.linux.org>
- List-owner: <mailto:ecartis-owner@nl.linux.org>
- List-post: <mailto:kernelnewbies@nl.linux.org>
- List-software: Ecartis version 1.0.0
- List-subscribe: <mailto:kernelnewbies-request@nl.linux.org?Subject=subscribe>
- List-unsubscribe: <mailto:kernelnewbies-request@nl.linux.org?Subject=unsubscribe>
- References: <4A9C3569-9365-4194-8BBE-CFAC8EB9E8ED@aoc.nrao.edu> <20070802214316.5ad54ef2@crazy.kos.nx> <B59D1C02-2DE5-485C-B07B-B52D5CFCDF9D@aoc.nrao.edu> <20070803100607.53368be7@thomas.toulouse> <C2F5B2D8-5594-4FC8-8D6D-CB8ECFE4754F@aoc.nrao.edu> <366312910708040124i5e276800rce317a4bdbf15d9@mail.gmail.com> <80F40C25-B484-4D05-A3B3-F34FCC90602F@aoc.nrao.edu>
- Sender: kernelnewbies-bounce@xxxxxxxxxxxx
On 9/27/07, Bruce Rowen <browen@xxxxxxxxxxxx> wrote:
> While working on an embedded Linux project I came across a strange
> problem.
>
> My platform is a 500MHz Geode based PC-104 running the preemption
> options of the 2.6.13 kernel. The platform is diskless (no swap) with
> 256MB. The system timer is set to 1 KHz.
>
> I have an application that uses a number of tasklets which respond to
> a 100Hz interrupt. Normally these tasklets finish in about 600uSec or
> so.
>
> I recently upped the memory to 1GB and now the tasklets will miss the
> 100Hz interrupt on occasion. The only change has been the added
> memory (problem goes away when I put the 256MB back in).
>
> Here is the strange part:
>
> According to my internal counter and the jiffies counter. The
> 'dropped' tasklets occur on _exactly_ 10 minute boundaries (600,000
> jiffies). Never one less or one more, always 600k.
> I tried running my tasklets with tasklet_hi_schedule() which should
> put them above timers and ethernet but observe no changes. Whatever
> is delaying my tasklets is blocking about 8 milliseconds of cpu every
>
Please elaborate on "dropped tasklets"? Do u mean that the scheduler
did not execute it at the interval you specified? If so, then I
think this (full kernel preemptibility) is not guaranteed by Linux
kernel. A lot of complex scenario (which I cannot cite or imagine)
may happen between having 256M vs 1G ram, which result in kernel
preemption not as successful as in the 256M version. You may try out
the -rt (realtime) branch of the kernel. But if you mean that the
tasks just disappeared without the tasklet itself exiting, then I
think that will be a bug in the kernel.
Sorry, cannot help much, may be others can comment?
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ