mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Schwartz" <davids@webmaster.com>
To: <linux-kernel@vger.kernel.org>
Subject: RE: CPU usage for 10Gbps UDP transfers
Date: Sat, 15 Sep 2007 16:29:39 -0700	[thread overview]
Message-ID: <MDEHLPKNGKAHNMBLJOLKMECDGNAC.davids@webmaster.com> (raw)
In-Reply-To: <20070915190016.GA3868@ics.muni.cz>


> Hello,
>
> is it expected that application sending 8900bytes datagram
> through 10Gbps NIC
> utilizes CPU to 100% and similarly the receiver also utilizes CPU to 100%.
> Is it something wrong or this is quite OK?
>
> (The box is dual single core Opteron 2.4GHz with Myricom 10GE NIC.)

It's extremely hard to understand what it is that you're saying. Perhaps if
I explain the two things I first thought when you posted this, it will
explain why your post is vague:

1) *Any* task will use the CPU to 100% while it's running. Even if you ask
the computer to add 1 to 1, while it's doing that add for you, the task is
using 100% of the CPU.

2) If you ask the CPU to do any task over and over again as quickly as it
can, and it has nothing else to do, that task will get 100% of the CPU?

So what are you really asking?

DS



  reply	other threads:[~2007-09-15 23:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-15 19:00 Lukas Hejtmanek
2007-09-15 23:29 ` David Schwartz [this message]
2007-09-16  4:08   ` Willy Tarreau
2007-09-17 15:45 ` Chris Snook

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=MDEHLPKNGKAHNMBLJOLKMECDGNAC.davids@webmaster.com \
    --to=davids@webmaster.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®