[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALJd4cZpffegZ7RQ_QkRbbeQDUpUwK1peYe14PxpgZkbwsfUCw@mail.gmail.com>
Date: Wed, 8 Apr 2015 16:51:48 +0530
From: Ashoka K <ashok.vinu@...il.com>
To: netdev <netdev@...r.kernel.org>
Subject: Tuning TCP send on ethernet
Hi ,
I have a question regarding TCP send queue on ethernet 100Mbps line.
If you could answer it would be of great help.
We have a Linux based ARM system. Basically it capture image and
transfer images on request to a windows client. During image transfer
the softirq are seen in high number. These softirq are from network
device which transfer image data. Due to this we see that other
processes got hit in performance. For us the priority for sending the
image data is low and we expect that this send should not block or
slow down other running processes in system.
The image data is sent on particular TCP port say 2000. Only this
transfer of image traffic has to be slowed/or whatever so that this
does not affect other processes running on device. The maximum size of
image is only 1.4 MB.
There is other less TCP traffic on other ports. These traffic include
the commands sent to the device and command responses. This must not
be affected severely.
How to tune this? Device uses Linux 2.6.33 cross compiled for ARM,
and it has 1 ethernet interface of speed 100Mbps, has 1GHz CPU.
I tried to modify ethernet "txqueuelen" from default 1000 to a min
of 1 to a max of 8000. But i didn't see improvement in behavior.
DO I have to modify /kernel/softirq.c:
#define MAX_SOFTIRQ_RESTART 10
to smaller value ? What effects it may have? Or any other better solutions?
Regards,
Ashoka
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists