Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Dec 2007 18:33:03 -0800
From:      Jin Guojun <jin@george.lbl.gov>
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:  <47560DDF.60909@george.lbl.gov>
In-Reply-To: <20071204195131.56cb1307.wmoran@collaborativefusion.com>
References:  <4755ED57.6030603@h3q.com> <20071204195131.56cb1307.wmoran@collaborativefusion.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.
>>    
>>
Is there some data for the context switch time? It may tell something.

-Jin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47560DDF.60909>