Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2007 19:51:31 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Philipp Wuensche <cryx-freebsd@h3q.com>
Cc:        "freebsd-performance@freebsd.org" <freebsd-performance@freebsd.org>
Subject:   Re: tuning for high connection rates
Message-ID:  <20071204195131.56cb1307.wmoran@collaborativefusion.com>
In-Reply-To: <4755ED57.6030603@h3q.com>
References:  <4755ED57.6030603@h3q.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Philipp Wuensche <cryx-freebsd@h3q.com> wrote:
>
> Hi,
> 
> we are running a FreeBSD 7-BETA4 with SCHED_4BSD on a Intel Core2Dual
> E6600 2.4GHz system for our bittorrent Opentracker.
> 
> The system handles about 20Kpps (18Mbit/s) incoming and 15kpps (22
> Mbit/s) outgoing traffic serving 4000 connections/sec using TCP. The
> connections are very short-living, all answered within one packet.
> 
> You can find the system stats at
> http://outpost.h3q.com/stalker/munin/opentracker/opentracker.html
> 
> We are now running into some limits at peak time, system is up to 100%
> and em0 takes about 80% on one CPU while the Opentracker software only
> takes 10-15% CPU. The system is still responsible and answers all the
> requests, but we are worried what will happen if the tracker grows at
> the current rate.
> 
> Currently we are out of ideas for tuning, so we kindly ask for ideas on
> tuning the system to bring down the CPU usage from the em and the system
> CPU usage. We tried tuning the em int_delay and abs_int_delay but
> without success.

Enable polling on the interface and see if that helps.  See man polling.

-- 
Bill Moran
Collaborative Fusion Inc.

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071204195131.56cb1307.wmoran>