CARP performance tuning question.

pluknet pluknet at gmail.com
Wed Nov 5 05:40:34 PST 2008


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


More information about the freebsd-net mailing list