From: Davide Libenzi <davidel@xmailserver.org>
To: Dan Kegel <dank@kegel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Collapsing RT signals ...
Date: Mon, 25 Jun 2001 08:43:30 -0700 (PDT) [thread overview]
Message-ID: <XFMail.20010625084330.davidel@xmailserver.org> (raw)
In-Reply-To: <3B36BC65.FF27BBB1@kegel.com>
On 25-Jun-2001 Dan Kegel wrote:
> Davide Libenzi <davidel@xmailserver.org> wrote:
>> I'm making some test with RT signals and looking at how they're implemented
>> inside the kernel.
>> After having experienced frequent queue overflow signals I looked at how
>> signals are queued inside the task_struct.
>> There's no signals optimization inside and this make the queue length
>> depending
>> on the request rate instead of the number of connections.
>> It can happen that two ( or more ) POLL_IN signals are queued with a single
>> read() that sweep the buffer leaving other signals to issue reads ( read
>> this
>> as user-mode / kernel-mode switch ) that will fail due lack of data.
>> So for every "superfluous" signal we'll have two user-mode / kernel-mode
>> switches, one for signal delivery and one for a failing read().
>> I'm just thinking at a way to optimize the signal delivery that is ( draft )
>> :
>> ...
>
> I agree, the queue overflow case is a pain in the butt.
>
> Before you get too far coding up your idea, have you read
> http://marc.theaimsgroup.com/?l=linux-kernel&m=99023775430848&w=2
Double thank You Dan, they did exactly what I want to do :)
- Davide
next prev parent reply other threads:[~2001-06-25 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-25 4:21 Dan Kegel
2001-06-25 15:30 ` Davide Libenzi
2001-06-25 15:43 ` Davide Libenzi [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-25 1:03 Davide Libenzi
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=XFMail.20010625084330.davidel@xmailserver.org \
--to=davidel@xmailserver.org \
--cc=dank@kegel.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®