Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2008 16:40:32 +0300
From:      pluknet <pluknet@gmail.com>
To:        "FreeBSD Net" <freebsd-net@freebsd.org>
Subject:   CARP performance tuning question.
Message-ID:  <a31046fc0811050540o527d315dvef1b35142f5caa29@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi.

AT work we use device carp(4) under high load:

The problem is that the server experiences a bad interactivity (from
70k states and very bad from 120-150k)
i.e. when a network workload (and interrupts count) begin to increase.

>From top(1):
CPU states:  0.0% user,  0.0% nice,  0.4% system, 76.3% interrupt, 23.3% idle
  PID USERNAME        THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
   13 root              1 -44 -163     0K     8K WAIT   407:43 57.86% swi1: net

ATM pfctl -s info shows such numbers:

State Table                          Total             Rate
  current entries                   153972
  searches                      6052078938         4800.8/s
  inserts                        120373545           95.5/s
  removals                       120219573           95.4/s

It works currently under UP, but could be rebuilt to work under SMP
(Xeon 5130) if that helps.

Can someone give hints to decrease interrupt count and to help with
the server stability at all?
Thanks.

-- 
wbr,
pluknet



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