[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Thu, 2 Aug 2001 08:59:56 +0200 (CEST)
>From owner-rtl Wed Aug 1 10:03:11 2001
Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f71G3Bs07823
for <rtl@rtlinux.org>; Wed, 1 Aug 2001 10:03:11 -0600
Received: from earthlink.net (cpe-66-1-168-58.az.sprintbbd.net [66.1.168.58])
by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id JAA16424
for <rtl@rtlinux.org>; Wed, 1 Aug 2001 09:01:46 -0700 (PDT)
Sender: mgermain@earthlink.net
Message-ID: <3B682776.1269900F@earthlink.net>
Date: Wed, 01 Aug 2001 08:59:50 -0700
From: Marvin Germain <megermain@earthlink.net>
Organization: Zygo Corporation
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@rtlinux.org
Subject: Re: RE: keyboard freeze with one percent CPU load
References: <3B65EAA0.19963CD2@earthlink.net> <3B675DF6.F98FC2E@earthlink.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi, Rich.
I calculated the CPU load by timing the ISR (50 us, not ms),
and comparing this with the time between interrupts. The computations
are actually commented out for now, so all the second module is doing
is pthread_suspend_np(). The operating system is definately not frozen,
because I can regain control by pulling the plug on the external
data clock, thereby stopping the interrupts. I think the problem is
with the scheduler, based on the results in my follow-up post. To re-
iterate, I put a call to rtl_schedule() in a periodic task, which
seemed to fix the problem. This implies that user-space tasks are
simply not being scheduled when the interrupts arrive once every five
mill-seconds.
Marvin
-
*********************************************
* Dr. Marvin E. Germain *
* Zygo Corporation - Tucson AZ *
* megermain@earthlink.net *
*********************************************
----- End of forwarded message from owner-rtl@fsmlabs.com -----