systat output from one of Box-es: 4 users Load 0.89 0.35 0.22 Sun Jul 14 13:34:03 2013
memory totals (in KB) PAGING SWAPPING Interrupts real virtual free in out in out 12188 total Active 24660 24660 3930924 ops 807 clock All 102832 102832 8336372 pages 4998 ipi 6383 em0 Proc:r d s w Csw Trp Sys Int Sof Flt forks em2 6 10956 2637 3610 64629 78 fkppw ehci0 fksvm em4 4.9%Int 7.3%Sys 0.0%Usr 0.0%Nic 87.8%Idle pwait uhci0 | | | | | | | | | | | relck ehci1 ||==== rlkok pciide0 noram Namei Sys-cache Proc-cache No-cache ndcpy Calls hits % hits % miss % fltcp zfod cow Disks wd0 33614 fmin seeks 44818 ftarg xfers itarg speed 8 wired sec pdfre pdscn pzidle 25 kmapent On Sun, Jul 14, 2013 at 1:25 PM, Christopher Zimmermann <madro...@gmerlin.de > wrote: > On Sun, 14 Jul 2013 13:13:32 +0300 > Evgeniy Sudyr <eject.in...@gmail.com> wrote: > > > During iperf tests I see that both servers CPU usage is low and iperf > > is only CPU consumer: > > > > load averages: 0.91, 0.36, > > 0.39 > > gateway 15:55:06 > > 29 processes: 28 idle, 1 on processor > > All CPUs: 0.0% user, 0.0% nice, 7.8% system, 5.8% interrupt, > > 86.3% idle Memory: Real: 19M/95M act/tot Free: 31G Cache: 34M Swap: > > 0K/32G > > > > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU > > COMMAND 7243 root 28 0 1696K 1736K idle - 6:45 > > 33.30% iperf 19984 ejectevg 28 0 1132K 2132K onproc/3 - > > 0:02 1.46% top 23492 root 2 0 1692K 716K idle - > > 346:47 0.00% isakmpd > > Hi, > > I'm no expert in performance tuning, but I guess systat output would be > more interesting since IPsec work is done in kernel - not in userspace. > I also would guess that SMP doesn't help here, so doing the benchmarks > with a non-SMP kernel would probably give better scaled % numbers for > interrupt, system and userspace CPU usage. > > Christopher > -- -- With regards, Eugene Sudyr