public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: Dropping Packets in 2.6.17
Date: Thu, 22 Jun 2006 14:01:38 +0000 (UTC)	[thread overview]
Message-ID: <e7e7s2$3qc$1@news.cistron.nl> (raw)
In-Reply-To: 449A9ADC.9070800@draigBrady.com

In article <449A9ADC.9070800@draigBrady.com>,
Pádraig Brady  <P@draigBrady.com> wrote:
>Note there is a max interrupt rate of around 80K/s
>on x86 at least (not sure about opteron), so make
>sure you're using NAPI. /proc/interrupts will
>show your interrupt rate.

The e1000 driver has some more knobs you can turn. I have this
in my /etc/modules file:

e1000 RxAbsIntDelay=256,256 TxAbsIntDelay=256,256 TxDescriptors=1024,1024 RxDescriptors=1024,1024

(this is for two cards)

and this in /etc/sysctl.conf:

# Tune back swappiness on 2.6
vm.swappiness = 10

# Lots of kernel memory needed for e1000
vm.min_free_kbytes = 65535

This box accepts ~250 mbit/sec, stores that on disk, and streams it
out again to multiple peers at ~1300 mbit/sec total. Kernel 2.6.14.2,
dual xeon em64t in 64 bits mode, 4 GB memory.

Mike.


  reply	other threads:[~2006-06-22 14:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22 11:31 Dropping Packets in 2.6.17 Danial Thom
2006-06-22 11:55 ` Arjan van de Ven
2006-06-22 12:47   ` Danial Thom
2006-06-22 13:27 ` Pádraig Brady
2006-06-22 14:01   ` Miquel van Smoorenburg [this message]
2006-06-22 14:15     ` Pádraig Brady
2006-06-22 15:03   ` Danial Thom
2006-06-22 15:26     ` Pádraig Brady
2006-06-22 17:10       ` Danial Thom
     [not found] <fa.zPWsMAz4l0d9j5Voaw6Pdkcf//M@ifi.uio.no>
     [not found] ` <fa.Ze3oSnDYEMz3/ITqeLQ2m0GF5wk@ifi.uio.no>
2006-06-23  1:13   ` Robert Hancock
2006-06-23  7:31     ` Brian F. G. Bidulock
2006-06-23 19:48     ` Danial Thom

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='e7e7s2$3qc$1@news.cistron.nl' \
    --to=miquels@cistron.nl \
    --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