All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deepak Khandelwal <dazz.87@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: SCTP performance on 4.4.x Kernel with two instances of iperf3
Date: Wed, 05 Apr 2017 23:18:29 +0000	[thread overview]
Message-ID: <CAOci8dL_ab3uQz7tukv21Ski5Ye8C4DX-wQ8v9hA8jW=5_dK6A@mail.gmail.com> (raw)

Hi,

I am testing SCTP performance on 4.4.x mips kernel (Octeon 2 hardware)
I have a specific requirement of testing 130K packets per second with
each packet size of 278 bytes. Server(s) and Client(s) are running on
separate machines each with 16 CPU Core.

I am running two instances of iperf3 Server and client in those
dedicated machines respectively.
Is there any dependency between two instances from SCTP PoV ?

Case -1: when Running with one instance of Server and Client

./iperf3 --sctp -4 -c 18.18.18.1 -B 18.18.18.2 -p 45000 -V -l 278 -t 60 -A 10


I am getting consistent bandwidth.
CPU usage of Client is 100 %


Case -2:  when Running with two instances of Server and Client

./iperf3 --sctp -4 -c 18.18.18.1 -B 18.18.18.2 -p 45000 -V -l 278 -t 60 -A 10

./iperf3 --sctp -4 -c 18.18.18.1 -B 18.18.18.2 -p 45020 -V -l 278 -t 60 -A 11


the bandwidth is not consistent and sometimes even 0 .
CPU of both these process together reaches to 100% not individually.
so if one client CPU usage is 80% other one CPU usage is 20%

I have pinned the servers and clients to dedicated CPU cores. and
softirq interrupts also are masked to these cores.(smp_affinity)

I tried changing scheduling priority of these process to SCHED_RR
(earlier SCHED_OTHER)
but the situation is still the same.


Best Regards,
Deepak

             reply	other threads:[~2017-04-05 23:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 23:18 Deepak Khandelwal [this message]
2017-04-05 23:34 ` SCTP performance on 4.4.x Kernel with two instances of iperf3 Marcelo Ricardo Leitner
2017-04-05 23:49 ` malc
2017-04-12 14:55 ` Deepak Khandelwal

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='CAOci8dL_ab3uQz7tukv21Ski5Ye8C4DX-wQ8v9hA8jW=5_dK6A@mail.gmail.com' \
    --to=dazz.87@gmail.com \
    --cc=linux-sctp@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 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.