em network issues

Mikhail Teterin mi+mx at aldan.algebra.com
Mon Oct 23 17:37:54 UTC 2006


субота 21 жовтень 2006 13:33, Gleb Smirnoff написав:
> We aren't currently speaking about performance, we need to know whether
> kernel with DEVICE_POLLING option makes NIC work stable.

Yes, that seems to be the case... After I got to the machine's console
(there was no network access) and turning off the polling on em0, it
started accepting the dumps (two streams in parallel from two different
remote servers), and compressing them (zlib -9) at about 35 Mb/s.

The em0's interrupts fire between 3K and 4K times per second, accounting
for 3-7% of the total CPU load.

I'll test with three parallel dumps tonight (one of them from an
"overwhelming" 8-Sparc db-server), but it looks quite promising already.

Yours,

	-mi

    4 users    Load  2.46  2.34  1.63                  23 жов 13:34

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  113456   17640   233076    44512   89204 count
All 2001588   20244 1426659k    51588         pages
                                                                 Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt        cow    7738 total
     2       60     12703   172391928576   70      254372 wire        irq1: atkb
                                                   120004 act         irq6: fdc0
 4.9%Sys   6.3%Intr 88.8%User  0.0%Nice  0.0%Idl  1548080 inact       irq15: ata
|    |    |    |    |    |    |    |    |    |      86240 cache       irq17: fwo
==++++>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     2964 free        irq20: nve
                                                          daefr       irq21: ohc
Namei         Name-cache    Dir-cache                     prcfr     2 irq22: ehc
    Calls     hits    %     hits    %                     react  3679 irq25: em0
      312      312  100                                   pdwak    67 irq29: amr
                                          zfod            pdpgs  1995 cpu0: time
Disks   ad4   ad6 amrd0                   ozfod           intrn  1995 cpu1: time
KB/t    128  0.00 75.03                   %slo-z   221184 buf
tps       1     0    58              1112 tfree        23 dirtybuf
MB/s   0.12  0.00  4.23                            100000 desiredvnodes
% busy    0     0    61                              2757 numvnodes
Showing vmstat, refresh every 1 seconds.             1965



More information about the freebsd-stable mailing list