new em-driver still broken (was: Re: em network issues)

Mikhail Teterin mi+kde at aldan.algebra.com
Sat Oct 28 04:30:15 UTC 2006


On Saturday 21 October 2006 13:33, Gleb Smirnoff wrote:
= We aren't currently speaking about performance, we need to know whether
= kernel with DEVICE_POLLING option makes NIC work stable.

Having noticed today's em-driver update, I rebuilt world/kernel and tried the
dump-test again.

The kernel had the DEVICE_POLLING option in it, but polling was not, actually,
enabled on em0.

With three simultanious dumps arriving, the system-component of the load was
40-50%:

    2 users    Load  2.64  0.98  0.41                  28 жов 00:13

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  109936   30080   196064    42464 1642672 count
All  366172   32684 1413555k    48140         pages
                                                                 Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt        cow    6720 total
     3       55      9736   151241k19989   47      232248 wire        irq1: atkb
                                                    79108 act         irq6: fdc0
35.8%Sys   4.5%Intr 59.7%User  0.0%Nice  0.0%Idl    60372 inact       irq15: ata
|    |    |    |    |    |    |    |    |    |        276 cache       irq17: fwo
==================++>>>>>>>>>>>>>>>>>>>>>>>>>>>>  1642396 free        irq20: nve
                                                          daefr       irq21: ohc
Namei         Name-cache    Dir-cache                     prcfr       irq22: ehc
    Calls     hits    %     hits    %                     react  2710 irq25: em0
      229      229  100                                   pdwak    24 irq29: amr
                                          zfod            pdpgs  1993 cpu0: time
Disks   ad4   ad6 amrd0                   ozfod           intrn  1993 cpu1: time
KB/t   0.00  0.00   128                   %slo-z   221184 buf
tps       0     0    12                 4 tfree        22 dirtybuf
MB/s   0.00  0.00  1.49                            100000 desiredvnodes
% busy    0     0    30                              2409 numvnodes

It was working...

Then I entered the following shell command:

	% (ifconfig em0 polling; sleep 179; ifconfig em0 -polling) &

Hoping, that, even if polling causes problems, three minutes later it will
turn back off automatically.

Unfortunately, the machine dropped off the network immediately and is not
coming back. I'll get to its console on Monday, but something is still very
wrong with the em-driver :-(

	-mi


More information about the freebsd-stable mailing list